If/Else Router
Last updated
Was this helpful?
Last updated
Was this helpful?
The If/Else Router node enables your flow to branch based on different conditions. You can string together multiple conditions to handle various scenarios, with each condition creating a new path in the conversation.
Select condition type (Signal, Language, or other available types)
Configure the value to check for that condition
Combine multiple conditions using "+ Add condition" (by If or And operator)
Create specific cases for each scenario
Set up an "Else" path for when no conditions match
Example:
Check conversation state signals (start, interrupt, end)
Route based on user's language
Handle different user inputs
Process system events
Manage conversation flow based on multiple conditions
Important considerations:
Each condition creates a new path - keep them organized (e.g. by moving them to separate flows)
Conditions are checked in order, from top to bottom
The Else path handles any case not covered by specific conditions
You can remove individual conditions using "Remove case"
Multiple conditions can be combined for complex routing
Test all paths to ensure proper handling