Condition & Switch nodes
The Logic category contains two nodes for conditional branching:
| Node | Description |
|---|---|
| Condition | Branch based on a condition (two outputs: true/false) |
| Switch | Multi-way branching based on value (multiple named outputs) |
Condition node
The Condition node evaluates an expression and routes execution to one of two paths: True or False.
When to use
- Route based on a variable value (e.g., “is priority high?”)
- Check if a previous node returned data or an empty result
- Gate access to a section of the workflow
Configuration
Click the Condition node to open its configuration panel.

| Setting | Type | Description |
|---|---|---|
| Condition Type | Toggle buttons (Simple / Expression / Code) | Simple uses UI fields; Expression accepts free-form logic; Code allows Python/JS |
| Variable | Text field (supports {{vars/fn/cfg}}) | The variable to evaluate |
| Operator | Combobox | Equals, Not Equals, Contains, Greater Than, Less Than, Is Empty, Is Not Empty |
| Threshold | Text field (supports {{variable}} placeholder) | The value to compare against |
| True Branch Label | Text field (default: Yes) | Label shown on the True output edge |
| False Branch Label | Text field (default: No) | Label shown on the False output edge |
| Result Variable | Text field (default: condition_result) | Stores the boolean evaluation result |
Edge significance
The Condition node has two output edges:
- Yes (True) — taken when the condition evaluates to true
- No (False) — taken when the condition evaluates to false
Switch node
The Switch node routes execution to one of multiple named paths based on a value — like a multi-way if/else.
When to use
- Route by category (e.g., “billing”, “technical”, “sales”)
- Handle multiple status codes or types
- Any scenario with more than 2 possible outcomes
Configuration
Click the Switch node to open its configuration panel.

| Setting | Type | Description |
|---|---|---|
| Switch Variable | Text field (supports {{variable}} placeholder) | The value to match against |
| Case sensitive | Checkbox (default: checked) | Whether string comparisons are case-sensitive |
| Cases | List + “Add Case” button | Each case is expandable with a match value and label |
| Default Case | Enable checkbox + text field (default: default) | Fallback path if no case matches |
Edge significance
The Switch node has N+1 output edges — one for each case plus the default:
- Case 1, Case 2, etc. — each labeled with the case value
- Default — taken when no case matches
💡
Use a Quick Prompt node before a Switch node to classify input into categories, then route each category to a different branch.