Trigger on 2 non-simultaneous inputs

Hey everyone,
Yes, it's me again. I just can't seem to get my head around how to deal with multi-input conditionals in NodeRed.
I have a flow which messages me if a door is left open for longer than 3 minutes (using a Trigger node). I would like to get another message when the door is eventually closed.

In my mind, I'd have a new node that was connected to the output of the 3-minute Trigger node and the output of the door switch node. If it received TRUE from the output of the Trigger node, then the new node would start listening to the door switch node and when a FALSE (closed) was received it would send a message.

What would be the best way to achieve this?

Happy new year,
Dax.

You could bypass the trigger and reset it and use a filter node.

[{"id":"449387a4bb6fbe05","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":150,"y":7800,"wires":[["7ca0a89a50dc4668"]]},{"id":"7ca0a89a50dc4668","type":"trigger","z":"d1395164b4eec73e","name":"","op1":"","op2":"","op1type":"nul","op2type":"payl","duration":"5","extend":false,"overrideDelay":false,"units":"s","reset":"false","bytopic":"all","topic":"topic","outputs":1,"x":340,"y":7800,"wires":[["a203938da5027e6b"]]},{"id":"3b7c015f5db82fb5","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":150,"y":7860,"wires":[["a203938da5027e6b","7ca0a89a50dc4668"]]},{"id":"a203938da5027e6b","type":"rbe","z":"d1395164b4eec73e","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":530,"y":7800,"wires":[["9e8a0d270c935eaf"]]},{"id":"9e8a0d270c935eaf","type":"template","z":"d1395164b4eec73e","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{#payload}}The door has been open some time{{/payload}}{{^payload}}The door is closed{{/payload}}","output":"str","x":680,"y":7800,"wires":[["c7105a45c5dcf4c2"]]},{"id":"c7105a45c5dcf4c2","type":"debug","z":"d1395164b4eec73e","name":"debug 2576","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":650,"y":7920,"wires":[]}]

IMHO that's the wrong way to think of a Node-red program.
Use the "door closed" message that you already get.

You don't say if the door only sends a message when it's state changes open to closed or vice versa, or if it continually sends messages.

If it's the former, this might work - shows a single open, delay, closed cycle.

If it's the latter, just put a filter in front of the output to only pass changed messages.

Edit: Interesting. Similar but different to @E1cid's approach.