How to implement a 'if-else' logic to decide whether trigger a node?

image

As the picture, I want to implement a logic that is:
if the data I get is higher than xxx, then send an email to notice myself.
else, don't send the email to disturb myself.

How to do that in node-red? Really confuse me :((

You can do conditionals in a switch node.

Yeah yeah I find that, quite stupid question lol

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.