If/Else
Logic & TransformIf/Else Node
Overview
Supports the following operations: Check Variable Exists, Custom Expression.
Configuration
| Property | Type | Default | Description |
|---|---|---|---|
condition_type | string | — | Condition type for this node |
condition | string | — | Conditional expression to evaluate (e.g., {{value}} > 10) |
variable | string | — | Variable for this node |
Output Variables
Reference these variables in downstream nodes using the {{node.field}} syntax.
{{if-else.branch}}anyOutput field: branch
Examples
Basic Usage
Example configuration:
{
"condition_type": "value",
"condition": "value",
"variable": "value"
}Tips & Best Practices
- •Ensure all required fields are configured.
- •Check the output variables to see available data.
- •Use the workflow test panel to debug variable resolution step by step.
Try If/Else in Your Workflow
Create a free account and start building AI-powered workflows with the If/Else node.
Open Workflow Editor