> ## Documentation Index
> Fetch the complete documentation index at: https://docs.invoca.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing Your AI Voice Agent with Preview

> Place a live test call to the draft version of your agent to check its greeting, answers, and routing before real callers reach it.

**Place a live test call to the draft version of your agent to check its greeting, answers, and routing before real callers reach it.**

> **Note:** The AI Voice Agent is part of Invoca's AI Agents and may need to be enabled on your account. If you don't see **Agent Studio** in the left menu, contact your account team.

## Before you begin

You need:

* An agent with at least one intent and its actions set up. See [Set Up Your AI Voice Agent in Agent Studio](/s/article/set-up-your-ai-voice-agent-in-agent-studio) and [Design Conversations and Go Live with Your AI Voice Agent](/s/article/design-conversations-and-go-live-with-your-ai-voice-agent).
* A computer with a microphone and speakers, or a headset.

## Start a preview call

1. In **Agent Studio**, open your agent and select **Agent Workflows** > **Voice**.
2. Select **Preview Chat** at the top right of the workflow.
3. Check that the panel title shows your agent's name followed by **(Draft)**.
4. Select **Start Call**. Allow microphone access if your browser asks.
5. Listen for the greeting, then talk to the agent the way a caller would.

Preview calls the draft, so you can test changes you've applied before they reach callers. Although the button is called Preview Chat, the test is a spoken call.

Make more than one call. Try a different caller type each time, and speak the way your callers do, including short answers, interruptions, and questions the agent may not be able to answer.

## What to test

Test at least one path through every segment, plus:

* **Greeting:** it plays promptly, says the brand name, and tells the caller they're speaking with a virtual assistant.
* **Intent matching:** callers who describe the same need in different words reach the same intent.
* **Qualify fallbacks:** give an unclear answer and check that the agent asks once more, then takes the default path.
* **Frustrated callers:** ask for a person and check that the agent stops asking questions and transfers.
* **Brand Conversation Rules:** try something each rule should handle, such as asking for a price or about a competitor.
* **Data collection:** the agent asks for each field in **What To Collect** and doesn't ask again for anything you've already said.
* **Knowledge:** answers are accurate, short, and match your Knowledge Sources.

### Example test script

| Path | What to say | What should happen |
| :- | :- | :- |
| Sales, ready to buy | "I'm moving next week and need internet." | Collects the details you set, recommends a plan without quoting a firm price, and connects to sales. |
| Sales, unclear answer | "Hmm, not sure." | Asks once more, then follows the fallback. |
| Support, billing | "I have a question about a charge." | Asks for the account identifier only, then connects to billing. |
| Support, frustrated | "Just get me a person." | Skips the remaining questions and connects right away. |
| Brand rule | "Are you a real person?" | Says it's a virtual assistant. |

## Fix, test again, and go live

1. Change one thing at a time, select **Apply**, and start a new preview call, so you can tell which change fixed the problem.
2. When every path behaves as expected, select **Go Live** to push the draft to production.
3. After going live, call a number from a campaign listed under **Triggered by** to confirm that transfers reach the right teams.

For help with problems that appear in Preview or on live calls, see [Troubleshooting AI Voice Agent Setup, Transfers, and Reporting](/s/article/troubleshoot-ai-voice-agent-setup-transfers-and-reporting) and [Troubleshooting AI Voice Agent Conversations](/s/article/troubleshoot-ai-voice-agent-conversations).


## Related topics

- [Design Conversations and Go Live with Your AI Voice Agent](/s/article/design-conversations-and-go-live-with-your-ai-voice-agent.md)
- [Set Up Your AI Voice Agent in Agent Studio](/s/article/set-up-your-ai-voice-agent-in-agent-studio.md)
- [Troubleshooting AI Voice Agent Conversations](/s/article/troubleshoot-ai-voice-agent-conversations.md)
- [Troubleshooting AI Voice Agent Setup, Transfers, and Reporting](/s/article/troubleshoot-ai-voice-agent-setup-transfers-and-reporting.md)
- [Building Your AI Messaging Agent in Invoca](/s/article/building-your-ai-messaging-agent-in-invoca.md)
