Skip to main content

What is this?


Use the Conversation Profiler to test user utterances and improve your agent’s interaction model. The Conversation Profiler supports two distinct testing approaches to validate your agent’s conversation flow:

🔧 Traditional Interaction-Based Testing

Test the conversation flow with predefined interactions where you send specific user utterances to your agent and validate exact responses. This approach is ideal for:
  • Regression testing to ensure specific responses remain consistent
  • Validation of exact conversation flows with predetermined inputs and outputs
  • Quality assurance for specific features or conversation paths

Reference

It is important to know which suites and tests you can build. Because of that, you can find the entire reference on the Reference page. Suites and test are defined as yaml files.

🤖 Agent-to-Agent Testing

Simulate realistic conversations using AI-powered agents that interact naturally with your Voiceflow agent to achieve specific goals. This approach offers two testing methods: OpenAI-Powered Testing:
  • Uses OpenAI models (GPT-4, GPT-4o, etc.) to simulate user behavior
  • Configurable personas and dynamic user information
  • Ideal for testing varied user types and edge cases
Voiceflow Agent Testing:
  • Uses another Voiceflow agent as the tester
  • Consistent, reproducible test behavior
  • Leverages existing Voiceflow agent configurations
Both methods are ideal for:
  • End-to-end conversation testing with natural, adaptive interactions
  • User behavior simulation where the AI agent responds dynamically like real users
  • Goal-oriented testing to ensure your agent can handle varied conversation paths
Both testing approaches can be run in your CI/CD pipelines and include additional features beyond the Voiceflow console’s Test Agent feature. Every suite is executed in the same Voiceflow user’s session. All of the commands that are available in voiceflow-cli to execute the Conversation profiler are located within the voiceflow test subcommand.

Reference

It is important to know which suites and tests you can build. Because of that, you can find the entire reference on the Reference page. Suites and test are defined as yaml files.

Examples

You can find some useful examples on our GitHub repo

Execution Example

Here is a simple example of the voiceflow test execute command:
The above command will give you output similar to the following:
!!! info “Are you running this command in a CI/CD pipeline?”
If this is the case, we recommend that you set the --output-format parameter to json.