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

# Test Call

> Test your agent with voice conversations

Test Call allows you to have voice conversations with your agent before going live. Simulate real calls to verify behavior, voice quality, and conversation flow.

## Overview

Test Call provides:

* Real-time voice interaction with your agent
* Visual feedback on the canvas (active node highlighting)
* Conversation transcript
* Audio quality verification

## Starting a Test Call

1. Open your flow agent in the Flow Builder
2. Click the **Test** button in the toolbar
3. Select **Test Call**
4. Allow microphone access when prompted
5. Start speaking

<Note>
  You'll need a working microphone and speakers/headphones.
</Note>

## During the Test

### Visual Feedback

The canvas shows real-time activity:

| Indicator            | Meaning                    |
| -------------------- | -------------------------- |
| **Purple glow**      | Currently active node      |
| **Green edge**       | Transition being evaluated |
| **Highlighted path** | Flow progression           |

### Conversation Panel

The right panel displays:

* Live transcript of the conversation
* Agent responses
* Transition triggers
* Any extracted data

## What to Test

<AccordionGroup>
  <Accordion title="Voice Quality">
    * Does the voice sound natural?
    * Is the speed appropriate?
    * Are pronunciations correct?
    * Is back-channeling smooth?
  </Accordion>

  <Accordion title="Flow Logic">
    * Do transitions trigger correctly?
    * Does the conversation follow expected paths?
    * Are edge cases handled?
    * Does the agent stay on topic?
  </Accordion>

  <Accordion title="Response Quality">
    * Are responses accurate?
    * Is the knowledge base being used?
    * Are responses concise?
    * Does the personality match?
  </Accordion>

  <Accordion title="Timing">
    * How long before the agent responds?
    * Is the pacing natural?
    * Does interruption handling work?
  </Accordion>
</AccordionGroup>

## Test Scenarios

Run through these common scenarios:

### Happy Path

Test the ideal conversation flow:

1. Start with a greeting
2. Follow the expected conversation
3. Complete the intended goal
4. End the call naturally

### Edge Cases

Test unexpected situations:

* Asking off-topic questions
* Providing invalid information
* Requesting human transfer
* Long pauses/silence

### Stress Testing

Push the boundaries:

* Speak quickly
* Interrupt the agent
* Ask complex questions
* Try to confuse the AI

## Reviewing Results

After the test:

1. **Review transcript** - Check for accuracy issues
2. **Note timing** - Mark slow or awkward moments
3. **Identify failures** - Document where flow broke
4. **Test fixes** - Make adjustments and retest

## Troubleshooting

| Issue                 | Solution                                               |
| --------------------- | ------------------------------------------------------ |
| No audio from agent   | Check speaker settings, verify voice is configured     |
| Agent doesn't hear me | Check microphone permissions and selection             |
| Delayed responses     | Normal for AI processing; check responsiveness setting |
| Wrong transitions     | Review transition conditions                           |
| Inaccurate responses  | Check knowledge base attachment and system prompt      |

## Best Practices

<CardGroup cols={2}>
  <Card title="Test Incrementally" icon="stairs">
    Test each section as you build, not just at the end.
  </Card>

  <Card title="Document Issues" icon="clipboard">
    Keep notes on what doesn't work so you can fix it.
  </Card>

  <Card title="Test Multiple Times" icon="rotate">
    AI responses vary. Test the same scenario several times.
  </Card>

  <Card title="Use Real Scenarios" icon="user">
    Test with questions real customers would ask.
  </Card>
</CardGroup>

## Related

<CardGroup cols={2}>
  <Card title="Test Chat" icon="comments" href="/test-agent/test-chat">
    Text-based testing alternative
  </Card>

  <Card title="Voice Settings" icon="microphone" href="/agent-config/voice-settings">
    Configure voice quality
  </Card>

  <Card title="Publishing" icon="rocket" href="/publish/publishing">
    Go live after testing
  </Card>
</CardGroup>
