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

# Test Voice

Use Voice mode to simulate real-time call interactions with your agent before going live.

## How to Test in Voice Mode

1. Switch to **Voice** tab at the top of the Playground
2. Click **Start New Call** at the bottom
3. **Speak** to the agent as a real caller would
4. **Listen** to the agent's responses in real time

<Frame>
  <img src="https://mintcdn.com/sigmamindai/SyjcnqJ9UTgVVW3r/images/playground/testvoice.png?fit=max&auto=format&n=SyjcnqJ9UTgVVW3r&q=85&s=fe553510fb81a2efa7a2200adb909871" alt="Testvoice" width="1500" height="1500" data-path="images/playground/testvoice.png" />
</Frame>

***

## After the Call Ends

Once the call completes, you can:

* ▶️ Replay the recording
* ⏩ Adjust playback speed
* ⬇️ Download the audio
* Review node execution logs

***

## Node Execution Trace

Displays the real-time path the agent follows through connected nodes during the call — useful for debugging workflow behavior.

<Frame>
  <img src="https://mintcdn.com/sigmamindai/SyjcnqJ9UTgVVW3r/images/playground/trace.png?fit=max&auto=format&n=SyjcnqJ9UTgVVW3r&q=85&s=ea444424c788f995b1719558ec2f3281" alt="Trace" width="1500" height="1500" data-path="images/playground/trace.png" />
</Frame>

For each step you can see:

* Which node was triggered
* The exact input it received
* The output it generated
* Whether the action executed successfully

Common node types shown:

| Node                 | Description                     |
| :------------------- | :------------------------------ |
| `start-trigger-node` | Entry point of the conversation |
| `response-node`      | Agent's response step           |
| `voice-action-node`  | Function or transfer action     |

***

## Function Call Logs

When your agent triggers an action (e.g. a transfer or API call), the Playground shows:

* Input payload
* Output response
* Execution status

**Example:**

```text theme={null}
Function Call: VOICE_TRANSFER_CALL (voice-action-node)

Input:  { "transfer_to": "+919773216895", "transfer_type": "warm" }
Output: { "response": "Call transferred successfully" }
```

Use this to verify data mapping, variable passing, and integration accuracy.

***

## Test History & Restore

On the right side of the Playground, the **Test History** panel lets you:

<Frame>
  <img src="https://mintcdn.com/sigmamindai/SyjcnqJ9UTgVVW3r/images/playground/testhistory-1.png?fit=max&auto=format&n=SyjcnqJ9UTgVVW3r&q=85&s=f83f6c3ef3d4b0f8993e331c972832d1" alt="Testhistory 1" width="1500" height="1500" data-path="images/playground/testhistory-1.png" />
</Frame>

* View all previous test sessions
* Click **Restore** to reload a past conversation
* Re-check transcripts and node execution

Useful for debugging previous issues or validating fixes after making changes.

***

## Real-Time Debugging

If something goes wrong during a test, you can immediately:

* Identify which node failed
* Check incorrect branching
* Inspect variable replacements
* Confirm action execution

Fix the node in **Agent Builder** and retest — without leaving the Playground.

***

## Best Practice

Before deploying your agent, make sure to:

* Test multiple conversation paths
* Trigger all conditional branches
* Validate all integrations
* Replay voice recordings
* Confirm all actions execute successfully

<Warning>
  Only deploy after full Playground validation.
</Warning>
