Workflow Checklist and Testing
This article has a checklist of the most common weak points in the process of writing a workflow. Make sure you have covered them all for the agent to work properly. It also has some tips on the workflow testing.
Checklist Before You're Done
- Verify that each state includes all required fields (
process_name,name,kind,description) - Ensure descriptions clearly explain agent actions without conflicting instructions
- Check that transitions logically connect your states
- Confirm that the tool is listed in
available_toolsfor the state where it is executed - Include at least one
init_state: truein your workflow. - Mark all ending states with
final_state: true
Testing Tips
- Unit Test States: Test each state individually
- Integration Test: Test complete workflow paths including transitions between the states
- Edge Case Testing: Test unexpected customer responses
- Load Testing: Test with multiple concurrent conversations
tip
To see detailed agent interaction logs, including prompt responses and state transitions:
- In the left sidebar, select Sessions.
- At the bottom of the chat area, select Logs > Trace Logs.