Condition Node
The Condition node asks a yes/no question and sends your workflow down different paths based on the answer. It’s like a fork in the road: “If this is true, go left. If not, go right.”When to Use
- Checking data - Make sure something looks right before continuing
- Making decisions - Do different things based on what happened
- Handling errors - Check if something worked, handle it if not
- Filtering - Only process things that match certain criteria
Three Ways to Set Up Conditions
Manual Mode (Easiest - No Code)
Just pick from dropdown menus:- Choose what to check (like the email subject)
- Choose how to check it (contains, equals, greater than, etc.)
- Enter what you’re looking for
| Check | What It Means |
|---|---|
| equals | Exactly matches |
| not equals | Doesn’t match |
| contains | Includes this text |
| not contains | Doesn’t include this text |
| starts with | Begins with this |
| ends with | Ends with this |
| greater than | Number is bigger |
| less than | Number is smaller |
| is empty | Nothing there |
| is not empty | Something there |
Expression Mode (More Flexible)
Type a formula. Useful when you need to check multiple things:- Comparisons:
==(equals),!=(not equals),>,<,>=,<= - Logic:
AND,OR,NOT - Parentheses:
( )to group things
AI Mode (Let AI Decide)
Just describe what you’re looking for in plain English:AI mode takes 1-3 seconds to think. Use manual or expression mode when you can for faster results.
Example: Lead Qualification
Route leads based on score:
Workflow:
Example: Error Handling
Check if an API call succeeded:- Mode: expression
- Expression:
{{http_request_1.statusCode}} == 200 AND {{http_request_1.success}} == true
Example: Content Filtering
Only process emails that meet criteria:- Group 1 (AND):
{{event_from_app_1.email.from}}NOT containsnoreply{{event_from_app_1.email.subject}}NOT starts withRe:{{event_from_app_1.email.subject}}NOT starts withFwd:
Combining Conditions
AND Logic (all must be true)
Manual mode: Add rules to the same group Expression mode:OR Logic (any can be true)
Manual mode: Create multiple groups Expression mode:Complex Logic
Use parentheses in expression mode:Nested Conditions
Chain conditions for complex decision trees:Tips
Settings
What to call this node (shown on the canvas).
A short code to reference this node’s result.
How to set up your condition:
- manual - Choose from dropdowns (easiest, no code needed)
- expression - Type a formula like
{{score}} > 80 - ai - Describe it in plain English and let AI figure it out
For manual mode: the rules you’ve set up.
For expression mode: your formula.
For AI mode: your plain English description.
Outputs
The Condition node has two outputs:Green (Yes) - Goes here when the condition is true.
Red (No) - Goes here when the condition is false.
True or false - you can use this value in later nodes.
