Test Flow
The Test Flow tool allows you to validate your flow for errors and preview it in different channels (WhatsApp, Web) before publishing to production.
Accessing Test Flow
Click the Test Flow button in the top bar to open the testing dialog.
Validation
Before testing, the system automatically validates your flow:
Validation Process
- All nodes are checked for configuration errors
- Connection rules are verified
- Required fields are validated
- Incompatible node combinations are detected
Error Panel
If validation finds issues, an error panel appears at the bottom of the canvas showing:
| Error Type | Color | Description |
|---|---|---|
| System Errors | Red | Critical issues that prevent the flow from running |
| Node Errors | Orange | Configuration problems in specific nodes |
| Warnings | Yellow | Non-blocking issues that should be reviewed |
Fix with AI
For each error, you can click Fix with AI to have the AI assistant suggest solutions. You can also click Fix All with AI to address all errors at once.
Testing Channels
WhatsApp Testing
To test your flow via WhatsApp:
- Click Test Flow
- Select WhatsApp as the channel
- Choose a sender (phone number associated with the flow)
- Enter your phone number with country code
- Scan the generated QR code or click the link
The flow will send a test message to your WhatsApp, allowing you to experience the flow as a real user would.
Web Testing
To test your flow in the web chatbot:
- Click Test Flow
- Select Web as the channel
- Click Open Preview or copy the URL
The preview URL includes test parameters:
Parameters:
version- The specific version being testedstatus- The flow status (draft, active)
Recursive Verification
The test tool performs recursive verification to check:
Incompatible Nodes
Some nodes are not compatible with certain channels. For example:
Product Listnodes are not compatible with web channel
If incompatible nodes are detected, a warning is displayed.
Jump-To Analysis
When your flow uses Jump-To nodes that link to other flows:
- The system fetches related flows
- Each related flow is also checked for compatibility
- The entire flow chain is verified
Test URL Features
Copy URL
Click the Copy button to copy the test URL to your clipboard. Share this with team members for collaborative testing.
Open in New Window
Click Open to launch the test in a new browser tab, allowing you to interact with the flow without leaving the editor.
Best Practices
Before Testing
- Ensure all required node configurations are complete
- Check that variables are properly initialized
- Verify conditional logic paths
During Testing
- Test all possible user paths
- Try edge cases (invalid inputs, unexpected responses)
- Verify variable values are captured correctly
After Testing
- Review any unexpected behavior
- Check the flow from start to end
- Test on actual devices (mobile, desktop) for web flows
Troubleshooting
Validation errors persist
If errors don't clear after fixing:
- Save the flow manually
- Refresh the page
- Check if the fix was actually applied
Test URL doesn't work
Check that:
- The flow is saved (not just modified locally)
- The alias is correctly configured
- Your account has permission to access test URLs
WhatsApp test not received
Verify:
- The phone number includes country code
- The sender is correctly configured
- WhatsApp integration is active for your account
Web preview shows wrong content
- Clear browser cache
- Ensure you're using the correct version parameter
- Check if web configuration is properly saved