Send payload with and function

Hi.

Need help with two sensor that I want to trigger a json payload when both of them is open.
It´s magnetic contacts and I want to send the payload when both of them are open.

have anybody any suggestion how to do this som easy way?

/Niclas

Try the documentation.

And the cookbook

In particular https://cookbook.nodered.org/basic/join-streams