If / Else
Route workflow execution down a true or false path based on one or more conditions with AND/OR logic.
The If / Else node evaluates a set of conditions against incoming data and routes execution to one of two output handles: True or False. Use it whenever your workflow needs a binary decision point -- for example, checking whether a form value exceeds a threshold, a field is empty, or an API response contains a specific status.
If no conditions are defined, the node always routes to the True output (vacuous truth).
Configuration
Logic
Controls how multiple conditions are combined.
| Value | Behavior |
|---|---|
| AND | All conditions must be true to route to the True output |
| OR | Any single condition being true routes to the True output |
Defaults to AND.
Conditions
Each condition compares a field value against an expected value using a typed operator. You can add as many conditions as you need.
| Field | Type | Required | Description |
|---|---|---|---|
| Field | template string | Yes | Variable path to the value being tested, e.g. nodes.form1.email |
| Data type | select | No | Type hint for the comparison: String, Number, Boolean, Date, Array, Object, or Any. Defaults to Any. Changes which operators are available. |
| Operator | select | Yes | Comparison operator (equals, not equals, contains, greater than, etc.). The list updates dynamically based on the selected data type. |
| Value | template string | Conditional | The expected value to compare against. Hidden for unary operators like "is empty" or "is not empty". |
| Ignore case | toggle | No | When enabled, string comparisons are case-insensitive. Only shown for String and Any data types. Defaults to off. |
Click Add to append a new condition. Click the trash icon on any condition card to remove it.
Output Handles
The If / Else node has two output handles:
| Handle | Color | Description |
|---|---|---|
| True | Green | Fires when the combined condition result is true |
| False | Red | Fires when the combined condition result is false |
Connect downstream nodes to the appropriate handle to build your branching logic.
Output
| Field | Type | Description |
|---|---|---|
| route | string | The matched route: "true" or "false" |
Example
A support ticket form collects a priority field. You want to send urgent tickets to Slack and route everything else to email:
- Add an If / Else node after the form submission.
- Set Logic to AND.
- Add a condition: Field =
nodes.supportForm.priority, Data type = String, Operator = Equals, Value =urgent. - Connect the True handle to a Slack integration action.
- Connect the False handle to an Email integration action.
When a user submits the form with priority set to "urgent", the workflow follows the True path. All other values follow the False path.
See the Logic Nodes overview for a full list of available nodes.