Node Red RPi - GPIO in flow

Good afternoon,

New user here, loving it so far with Hubitat and Pi integrations.

This is specifically for the Pi integration, I am currently using the "default" node-red-node-pi-gpio

I am trying to get a signal from my gate controller(Roger) when the gate is opened by normal methods, ie keyfob or manual exit button. My plan was to take a voltage signal from the controller and pass it into a GPIO pin to pull it high, via a relay. The only issue I can see is that state will stay high as the voltage will probably be from a light contact that will be on for the duration of the gate opening procedure.

So how does the GPIO in node work, is it just triggered by the high state/state change and doesn't care if the state stays high for a long period? What happens after the likely 5-10 mins when the state will go back to low? Can this state change, if an issue, be "noded" out somehow?

I could probably test it and watch the debug to see what happens but I haven't built the relay circuit yet to test, and I am trying to work out the pitfalls in the programming stage.

Thanks

James