If

The If node lets you compare two variables with a set condition and branch off two different paths based on the outcome.

If is a particular node, because it doesn't have data output. All it does is it checks whether the condition is true. If it is true, the true socket will be triggered. If not, false will trigger. Take a look at the example below to understand better how you can use it:

 

Example

Notion image

Input Fields

field
schema
explanation
a
any
The first item to be compared.
b
any
The second item to be compared.
condition
condition
A condition that needs to be met to be true or false.

Video Tutorial

Did this answer your question?
😞
😐
🤩

Last updated on October 11, 2022