Condition
Branch your workflow based on logic
The Condition block adds branches so different actions can run depending on data or context. You can combine multiple checks with AND / OR for richer logic.
How conditions work
Evaluate
Inspects data using the operators and rules you configured
True
When the condition passes, execution follows the upper True branch.
False
When the condition fails, execution follows the lower False branch.
Condition types
Simple comparisons
Compare values with basic operators
Operators:
Text operations
Check text content and format
Operators:
Logical operations
Combine conditions with logical operators
Operators:
Example use cases
Message moderation
Check content for banned words or spam
Workflow:
If the message contains profanity → restrict the user
AI output filtering
Branch based on model output
Workflow:
If the AI reply contains "+" → end the workflow
Smart replies
Different reactions depending on message type
Workflow:
If the message contains "hello" → reply with a greeting
Admin-only commands
Limit actions to privileged users
Workflow:
If the user is not an admin → ignore commands
Tips
- •Use variables produced by earlier blocks
- •Test conditions on sample data before going live
- •Enable case-sensitive matching when text checks must respect letter case
