Testing & Prompt Generation

The Agent Workflow Builder includes tools to test your agent in real time and preview the prompt generated from your visual workflow.

Voice Testing

The built-in voice tester lets you have a live conversation with your agent to verify its behavior before deploying to production.

1

Save your workflow

Make sure your latest changes are saved before testing.

2

Click the Test button

Click the Play icon in the toolbar to open the testing dialog.

3

Interact with your agent

The voice tester opens a full-screen dialog where you can speak with your agent in real time using your microphone.

Voice required
The voice tester requires a voice to be configured on your AI Agent node. If no voice is set, you will see a "No Voice Configured" message and testing will be unavailable.

Prompt Generation

The Agent Workflow Builder automatically converts your visual flowchart into a structured prompt that the AI agent follows during calls. This happens every time you save your workflow.

How it works

When you save, the builder:

  1. Reads the graph structure — all nodes and their connections
  2. Converts the workflow into a Mermaid diagram which the LLM can interpret
  3. Combines the diagram with each node's configuration (prompts, variables, scripts)
  4. Generates an optimized prompt that instructs the LLM
  5. Generates a prompt preview for review

Generate Prompt

Click on the Agent node in the canvas to open the side panel, then click the Update Prompt button (Sparkles icon) in the side panel. This will generate and display the prompt based on your current workflow. It's a great way to review exactly what the agent will receive before committing your changes.

Workflow as documentation
The generated prompt includes a structured representation of your workflow that the LLM uses as a "map" to navigate the conversation. This means the visual layout of your workflow directly influences how the agent behaves.