Skip to main content

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_tools for the state where it is executed
  • Include at least one init_state: true in your workflow.
  • Mark all ending states with final_state: true

Testing Tips

  1. Unit Test States: Test each state individually
  2. Integration Test: Test complete workflow paths including transitions between the states
  3. Edge Case Testing: Test unexpected customer responses
  4. Load Testing: Test with multiple concurrent conversations
tip

To see detailed agent interaction logs, including prompt responses and state transitions:

  1. In the left sidebar, select Sessions.
  2. At the bottom of the chat area, select Logs > Trace Logs.

Was this article helpful?