AI Condition
The AI Condition node is an AI-powered yes/no decision. Think of it like an if/else block, but instead of checking exact values, the AI uses judgment to decide.

How It Works
You describe a condition in plain language, and the AI evaluates it as either true or false. The flow then continues down the matching output handle.
Configuration
Condition Prompt
Describe what you want the AI to check. Supports {{variables}} so you can include contact data and message history.
Examples:
- "Has this customer expressed satisfaction in their messages? Chat history: {{chat_history}}"
- "Should we follow up with this customer?"
- "Is this message a complaint?"
- "Has the customer already been helped?"
- "Does this message contain a question that needs a response?"
Output Handles
The node has two output handles:
- True — the AI determined the condition is met
- False — the AI determined the condition is not met
Connect different flow paths to each handle.

When to Use AI Condition vs. If/Else
| Use AI Condition when... | Use If/Else when... |
|---|---|
| The decision requires understanding meaning or context | You're comparing exact values |
| "Is this customer happy?" | status equals "active" |
| "Does this sound urgent?" | priority equals "high" |
| You need judgment, not just data | You need precision and speed |
Tips
- Be specific in your condition prompt. Instead of "Is this good?", write "Does this customer message indicate they are satisfied with the service they received?"
- Include relevant context like
{{chat_history}}so the AI has enough information to make a good decision. - The AI returns strictly true or false — there's no "maybe." If you need more nuance, consider using AI Classify with categories like "Positive", "Neutral", "Negative" instead.