Flows & Dialogs
Build conversation flows for virtual assistants.Overview
Dialog flows define how your virtual assistant handles conversations:- Intents — What users want to accomplish
- Entities — Information extracted from messages
- Dialogs — Conversation logic and responses
- Transitions — How conversations move between states
Dialog Types
Standard Dialog
Structured conversation flow for specific tasks:Agent Flow
Complex flows with AI agent capabilities:Sub-Dialog
Reusable dialog components:Building Dialogs
Dialog Builder
Visual drag-and-drop builder:Node Configuration
Message node example:Transitions
Define conversation flow:Entity Management
Entity Types
Entity Extraction
Configure extraction:Entity Disambiguation
Handle ambiguous inputs:Context Management
Context Variables
Store and use conversation context:Variable Scopes
Interruption Handling
Configuration
Handle topic switches:Scenarios
Testing
Conversation Testing
Test dialog flows:- Open Test panel
- Enter test utterances
- Verify intent detection
- Check entity extraction
- Validate flow navigation
- Review responses
Batch Testing
Run test suites:Debug Mode
Enable detailed debugging:- Intent confidence scores
- Entity extraction details
- Flow transitions
- Variable values
- API call results
Best Practices
Dialog Design
- Keep flows focused on single tasks
- Use sub-dialogs for reusable components
- Handle errors gracefully
- Provide clear escape paths
- Test edge cases thoroughly
Intent Training
- Add 15-25 utterances per intent
- Include variations and typos
- Use real customer language
- Regularly review misclassifications
- Avoid overlapping intents
Conversation UX
- Confirm understanding before actions
- Provide clear options when ambiguous
- Keep messages concise
- Use quick replies for common paths
- Allow natural conversation flow