What Are Conditions?
A condition is a check that uses variables or predefined inputs to determine if the flow should continue in a certain direction.
Direct the conversation to the right path when users provide specific inputs or when some conditions are met. If a condition matches the AI chatbot proceeds with the intended route. Otherwise, it follows the No Match path.
Step-by-Step Setup: Creating a Condition
Follow these 6 clear steps to create or update a condition in your chatbot flow.
1. Add a Condition Step
Click Add Step β Condition to insert a new condition block.
2. Name the Condition
Provide a descriptive name to identify the condition later like βCheck User Inputβ
3. Select the Expression Type
Click add Expression button to create your check. Choose the type of check you want to perform:
-
Variable Type: Uses Variables in the condition to check.
-
Value Type: Uses a specific text, numeric value or variables.
-
Logic Group: Combine multiple checks using AND/OR logic.
4. Choose an Operator
-
Equals to
-
Contains
-
Greater than / Less than
-
Enter the Value or Variable to compare.
-
Add multiple expressions if needed using Add Expression button.
-
You can also create multiple condition by clicking on add conition.
5. No Match
- Use Re Prompt Message or path to handle cases where the input doesnβt match.
6. Remove Condition (Optional)
- If a condition is no longer necessary, simply click Remove Condition to delete it.
Common Pitfalls
- Vague Naming: A condition named βCheck 1β might be confusing later. Use descriptive names.
- Wrong Operator Choice: βEquals toβ only works for exact matches. Use βContainsβ if partial matches matter.
- No Match Not Configured:Always set a fallback so users donβt get stuck.
- Ignoring Case Sensitivity: βYesβ vs. βyesβ can be different if you use βEquals to.β
- Overusing Logic Groups: Too many AND/OR combinations can make your logic difficult to manage.