The Condition Funnel block lets you route a conversation into different paths based on variable values, user input, or message content.
It is commonly used to validate inputs (such as email or phone number), check user attributes, or control logic using numeric or text-based conditions.
1. Condition Funnel Overview
Main components
Select a variable
Choose the variable you want to evaluate (for example: user input, custom field, or system variable).
Condition operator
Defines how the selected variable will be compared to the value or rule you provide.
Enter value / rule
The comparison value.
For basic operators, this is a text or number.
For regex, this is a regex pattern.
Add condition (+)
Add multiple conditions. Each condition creates its own branch.
Otherwise path
If none of the conditions are met, the conversation will follow the Otherwise path.
2. Condition Operators Explained
Equality & comparison operators
Operator
Meaning
Example
Equal
Variable value is exactly the same
country = USA
Not Equal
Variable value is different
country ≠ SG
Less Than
Numeric comparison
order_count < 3
Less Than or Equal
Numeric comparison
score ≤ 60
Greater Than
Numeric comparison
order_count > 5
Greater Than or Equal
Numeric comparison
amount ≥ 1000
💡 Numeric operators should only be used with number-based variables.
List & Text Matching Operators
Operator
Meaning
Example
In
Variable matches any value in a list
country in [USA, SG]
Contains
Variable includes the given text
Message contains "refund"
Is Empty
Variable has no value
Phone number is empty
3. Matches Regular Expression (Regex)
The Matches Regex operator allows advanced pattern matching using regular expressions.
It is useful for validating formats such as email addresses, phone numbers, or structured user input.
How it works
Enter a regex pattern between / /
Optionally enable regex flags for additional control
The condition passes if the variable matches the regex pattern