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

# Voice Agents

> Create AI voice agents for inbound and outbound calls

## Overview

Voice agents are the powerhouse of Outbox AI—perfect for outbound dialing, lead qualification, appointment booking, and more. They do have a steeper learning curve than chat agents, so use this guide as your reference while you build.

<Note>
  **New to prompting?** Check out our [Prompting Guide](/prompting-guide) for
  best practices on writing effective agent instructions.
</Note>

***

## Prompt Settings

The foundation of your voice agent starts with two key fields.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/fF9oh0K1x8Orod4R/images/voice-core-prompt-settings.png?fit=max&auto=format&n=fF9oh0K1x8Orod4R&q=85&s=ba80a989b4e351e1e5f6e4e071c460f4" alt="Core Prompt Settings" width="1206" height="1238" data-path="images/voice-core-prompt-settings.png" />
</Frame>

### Prompt

Paste your full prompt here. This is the brain of your voice agent—it defines personality, objectives, and how to handle different scenarios.

**Important Considerations:**

* ⚠️ **Words will be spoken aloud** – Avoid complex symbols, unusual punctuation, or hard-to-pronounce terms
* 🗣️ **Write for speech** – Use "twenty-five" instead of "25" for natural-sounding responses
* 📝 **Keep it conversational** – The agent should sound human, not like it's reading a script

<Tip>
  Use the **Generate** button to let AI help you create or refine your prompt!
  See our [Prompting Guide](/prompting-guide) for detailed instructions.
</Tip>

### Automatic Call Context

Every live call includes a built-in context block you don't need to add yourself:

* **Summaries of the last 3 answered calls** (so the agent recalls recent live conversations, not unanswered attempts)
* **Current time**
* **Caller phone number**

Use this to reference recent interactions or confirm caller details without extra tool calls or prompt clutter.

***

### First Message

Control how the agent opens the conversation.

**For Inbound Calls:**

Set a greeting so callers know who answered.

```
"Outbox AI, Jacob speaking—how can I help?"
```

```
"Thanks for calling Elite Fitness! This is Sarah. What can I do for you today?"
```

**For Outbound Calls:**

Create a personalized opening that gets attention.

```
"Hi {{contact.first_name}}, this is Sarah from Elite Fitness. I'm calling about your inquiry. Do you have a quick minute?"
```

**Leave Blank:**

If you want the agent to **wait for the caller to speak first** (common for inbound support lines).

***

## Tools

Give your voice agent superpowers by connecting it to external services and automations.

### Postrun

Each tool can be marked **Postrun**. When enabled, the tool **does not run during the live call**. It runs **after the call ends**, using the **full transcript** as context instead of the real-time conversation.

**When to use Postrun**

* Heavy webhooks or CRM writes that should not add latency on the line
* Integrations that only need the completed story of the call, not mid-call turns
* Actions that could wait until hangup without risking caller experience

**When to leave Postrun off**

* Anything the agent must do while the caller is still on the phone (booking, transfers, lookups, SMS during the call)

<AccordionGroup>
  <Accordion title="Custom URL" icon="link">
    Call external services via Zapier, Make, or any webhook.

    **Configuration:**

    1. Enter your webhook URL
    2. Supply authentication headers if required
    3. Map variables from the conversation
    4. Define what data to return

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-tool-custom-url.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=19243737cee5904c8f0f06c234ae2acd" alt="Custom URL Tool" width="1862" height="1600" data-path="images/chat-tool-custom-url.png" />
    </Frame>

    **Use Cases:**

    * Send lead data to your CRM
    * Check inventory or pricing in real-time
    * Trigger Zapier workflows
    * Update external databases
    * Verify customer information
  </Accordion>

  <Accordion title="Tool Library" icon="books">
    Quick plug-ins for common tasks—no coding required.

    **Built-In Tools:**

    * **Send SMS** – Send an SMS to the current contact or a custom phone number
    * **Send Email** – Send an email from the agent
    * **Create Opportunity** – Create a pipeline opportunity from the conversation
    * **Update Opportunity** – Move or update an existing opportunity
    * **Update Contact** – Update contact fields from information gathered by the agent
    * **Add Tag** – Add a tag to the current contact
    * **Remove Tag** – Remove a tag from the current contact
    * **Add to Workflow** – Enroll the contact in a workflow
    * **Remove from Workflow** – Remove the contact from a workflow
    * **Book AI Callback** – Schedule the agent to call back later

    Built-in tools are Outbox-native. You can attach them without creating a custom webhook or MCP server.

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-tool-library.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=6be0535505fcd675e9b56ec042739814" alt="Tool Library" width="1880" height="1198" data-path="images/chat-tool-library.png" />
    </Frame>

    <Tip>
      The tool library is constantly expanding. Check back regularly for new integrations!
    </Tip>
  </Accordion>

  <Accordion title="Transfer Tool" icon="phone-arrow-right">
    Transfer calls to live representatives with customizable destinations and transfer types.

    **Configuration:**

    1. Add multiple transfer destinations (phone numbers)
    2. Configure when to use each destination
    3. Set transfer type and messaging
    4. Customize what the agent says during transfer

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/chat-tool-transfer.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=260b76c4d0b90bf3a38aeee726d5ce7d" alt="Transfer Tool" width="1836" height="1040" data-path="images/chat-tool-transfer.png" />
    </Frame>

    **Adding Transfer Destinations:**

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/chat-tool-transfer-destinations.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=d819b4fa7d6d3f3c76605260aaf2e391" alt="Transfer Tool Destinations" width="1386" height="1140" data-path="images/chat-tool-transfer-destinations.png" />
    </Frame>

    **Transfer Destinations:**

    Each destination can be customized with:

    * **Description** – When to use this transfer destination
    * **Phone Number** – E.164 format (e.g., `+61412345678`)
    * **Transfer Message** – What the agent says before transferring
    * **Transfer Type** – Choose from four options:

    **Transfer Types:**

    <AccordionGroup>
      <Accordion title="Blind Transfer" icon="phone-arrow-right">
        **Simple transfer** – Agent transfers the call immediately without any introduction.

        * ✅ Fastest transfer method
        * ✅ No additional setup required
        * ❌ Recipient has no context about the call
      </Accordion>

      <Accordion title="Warm Transfer with Summary" icon="phone-arrow-up">
        **Intelligent transfer** – Agent provides a summary of the conversation to the recipient.

        * ✅ Recipient knows what was discussed
        * ✅ Seamless handoff experience
        * ✅ Reduces repetition for the customer
      </Accordion>

      <Accordion title="Warm Transfer with Message" icon="phone-arrow-up-right">
        **Custom transfer** – Agent delivers a specific message to the recipient before connecting.

        * ✅ Fully customizable introduction
        * ✅ Can include specific instructions
        * ✅ Perfect for specialized departments
      </Accordion>

      <Accordion title="Warm Transfer with Agent" icon="phone-arrow-up">
        **Concierge transfer** – Agent calls the destination first, shares context, and asks if they want the call.

        * ✅ Ensures the recipient is available before connecting
        * ✅ Lets the agent recap the conversation in real time
        * ✅ Protects callers from being routed to unprepared recipients; agent ends the call gracefully if declined
      </Accordion>
    </AccordionGroup>

    **Example Setup:**

    ```
    Destination 1: Sales Team
    - Description: "When caller is ready to purchase or has pricing questions"
    - Message: "Let me connect you with our sales team who can help with pricing and next steps."
    - Transfer Type: Warm Transfer with Summary

    Destination 2: Technical Support
    - Description: "When caller has technical issues or needs troubleshooting"
    - Message: "I'll transfer you to our technical support team who specializes in these issues."
    - Transfer Type: Warm Transfer with Message: "Customer needs help with [specific issue]"

    Destination 3: On-Call Manager
    - Description: "Escalations that need manager approval"
    - Message: "I have a caller with an urgent escalation. Are you free to take it?"
    - Transfer Type: Warm Transfer with Agent
    ```

    **Use Cases:**

    * Route qualified leads to sales team
    * Transfer technical questions to support
    * Escalate complaints to management
    * Connect VIP customers to dedicated reps
    * Route by department or expertise

    <Tip>
      **Pro Tip:** Use conditional logic in your prompt to determine which destination to use based on the caller's needs or responses.
    </Tip>
  </Accordion>

  <Accordion title="MCP Server" icon="server">
    Connect to Model Context Protocol (MCP) servers for advanced integrations with thousands of apps and services.

    **Two Setup Options:**

    When you choose the MCP Server tool type, you'll be prompted with two options:

    **Option 1: Custom MCP Server**
    Connect to your own custom MCP server (like Zapier MCP). Perfect for advanced users who want full control over their integrations.

    **Option 2: Preset MCP Applications**
    Choose from our curated list of preset MCP application servers. Quick setup with popular applications like Gmail, Google Sheets, Slack, and more.

    **Using Preset MCP Applications:**

    <Steps>
      <Step title="1. Select an Application">
        Choose an application from the preset MCP Application list (e.g., Gmail, Google Sheets, Slack, HubSpot, Salesforce, Airtable).
      </Step>

      <Step title="2. Authenticate Your Account">
        Connect and authenticate your account with the selected application. Outbox AI will guide you through the OAuth flow.
      </Step>

      <Step title="3. Choose Specific Tools">
        Select which specific tools from the application you want your agent to have access to. You have granular control over permissions.

        **Example:** For Gmail, you can give your agent access to:

        * ✅ Create draft emails
        * ❌ Send emails
        * ❌ Read emails

        This allows you to control exactly what actions your agent can perform during calls.
      </Step>

      <Step title="4. Agent Can Use Tools">
        Once configured, your agent can perform the selected tasks through the MCP server during live calls.
      </Step>
    </Steps>

    **Using Custom MCP Server (Zapier):**

    <Steps>
      <Step title="1. Visit Zapier MCP">
        Go to [mcp.zapier.com](https://mcp.zapier.com) and sign in with your Zapier account.
      </Step>

      <Step title="2. Create New MCP Server">
        Click **"Create New MCP Server"** and select **"Other"** as the MCP Client type.

        <Frame>
          <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/mcp-create-server.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=d0e5a6432d799173a4a868eb52b013f5" alt="Create MCP Server" width="1270" height="868" data-path="images/mcp-create-server.png" />
        </Frame>
      </Step>

      <Step title="3. Add Tools from 8,000+ Apps">
        Browse and select tools from Zapier's extensive app library. Popular options include:

        * **Google Sheets** – Search, create, and update spreadsheets
        * **Gmail** – Send emails and manage inbox
        * **Slack** – Send messages and create channels
        * **HubSpot** – Manage contacts and deals
        * **Salesforce** – Update records and create tasks
        * **Airtable** – Query and update databases
      </Step>

      <Step title="4. Connect Your Apps">
        Authenticate with the apps you want to use. Zapier will guide you through OAuth flows for each service.

        <Frame>
          <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/mcp-select-tools.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=8d64d71a3885438fd981857eb770a75a" alt="Select MCP Tools" width="1790" height="1526" data-path="images/mcp-select-tools.png" />
        </Frame>
      </Step>

      <Step title="5. Get Server URL">
        Once configured, click **"Connect"** and copy the MCP server URL.

        <Frame>
          <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/mcp-server-url.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=f4231f00f075b109bdba013c3911fb06" alt="Copy MCP Server URL" width="1606" height="1126" data-path="images/mcp-server-url.png" />
        </Frame>
      </Step>

      <Step title="6. Add to Outbox AI">
        Select **"Custom MCP Server"** and paste the server URL into the MCP Server field in your voice agent settings.

        <Frame>
          <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-tool-mcp-server.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=e3e528e72f23549a3bb060b6b7b255c7" alt="MCP Server in Outbox" width="1768" height="1270" data-path="images/chat-tool-mcp-server.png" />
        </Frame>
      </Step>

      <Step title="7. Select Specific Tools">
        Choose which tools from your MCP server to make available to your voice agent.

        <Frame>
          <img src="https://mintcdn.com/outboxsolutions/rDFm6_ZozUWohQ56/images/mcp-select-agent-tools.png?fit=max&auto=format&n=rDFm6_ZozUWohQ56&q=85&s=e0286d1f72906950ec3ba19878edc713" alt="Select Tools for Agent" width="1880" height="686" data-path="images/mcp-select-agent-tools.png" />
        </Frame>
      </Step>
    </Steps>

    **Example Use Cases:**

    <AccordionGroup>
      <Accordion title="Google Sheets Integration" icon="table">
        **Search customer data during calls:**

        * Look up customer information from spreadsheets
        * Update appointment bookings in real-time
        * Track call outcomes and lead quality
      </Accordion>

      <Accordion title="CRM Integration" icon="address-book">
        **Update customer records:**

        * Create new contacts during calls
        * Update deal stages based on conversation
        * Add call notes and follow-up tasks
      </Accordion>

      <Accordion title="Communication Tools" icon="envelope">
        **Send follow-up messages:**

        * Email appointment confirmations
        * Send Slack notifications to team
        * Create tasks in project management tools
      </Accordion>
    </AccordionGroup>

    **Advanced Features:**

    * **Real-time Data Access** – Query live data during calls
    * **Multi-app Workflows** – Chain actions across different services
    * **Custom Authentication** – Secure access to your business tools
    * **Error Handling** – Graceful fallbacks when tools fail

    <Tip>
      **Pro Tip:** Start with 2-3 essential tools and gradually add more as you become comfortable with MCP integration. Too many tools can slow down response times.
    </Tip>

    <Note>
      MCP servers provide a standardized way for AI agents to interact with external tools and data sources during live calls. With preset MCP applications, you can quickly connect popular services with granular tool selection. For advanced integrations, custom MCP servers like Zapier give you access to 8,000+ apps without custom development.
    </Note>
  </Accordion>
</AccordionGroup>

***

## Voice & Model Options

Configure your agent's language, voice, intelligence, and background sound.

***

### Language Selection

Choose the language and regional accent for your agent.

**Available Languages:**

* **English (US)** – American English accent
* **Spanish** – Spanish language
* **French** – French language
* **Bulgarian** – Bulgarian language
* **Catalan** – Catalan language
* **Czech** – Czech language
* **Danish** – Danish language
* **German** – German language
* **Greek** – Greek language
* **Estonian** – Estonian language
* **Finnish** – Finnish language
* **Hindi** – Hindi language
* **Hungarian** – Hungarian language
* **Indonesian** – Indonesian language
* **Italian** – Italian language
* **Japanese** – Japanese language
* **Korean** – Korean language
* **Lithuanian** – Lithuanian language
* **Latvian** – Latvian language
* **Malay** – Malay language
* **Multilingual** – Multiple languages support
* **Dutch** – Dutch language
* **Norwegian** – Norwegian language
* **Polish** – Polish language
* **Portuguese** – Portuguese language
* **Romanian** – Romanian language
* **Russian** – Russian language
* **Slovak** – Slovak language
* **Swedish** – Swedish language
* **Tamil** – Tamil language
* **Tamazight** – Tamazight language
* **Thai** – Thai language
* **Turkish** – Turkish language
* **Ukrainian** – Ukrainian language
* **Vietnamese** – Vietnamese language
* **Chinese** – Chinese language
* **Chinese (China)** – Chinese (China) language
* **Chinese (Simplified)** – Chinese (Simplified) language
* **Chinese (Traditional)** – Chinese (Traditional) language
* **Chinese (Taiwan)** – Chinese (Taiwan) language

<Note>
  Language selection affects both the agent's speech and its understanding of
  regional expressions and terminology.
</Note>

***

### Voice Selection

Choose from **1,000+ ElevenLabs voices** to match your brand and audience perfectly.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-provider-selection.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=d9974756dbd7157c0812ae9b15a99f7e" alt="Voice Provider Selection" width="2090" height="1372" data-path="images/voice-provider-selection.png" />
</Frame>

**Voice Library:**

<Tip>
  **Browse All Available Voices:** Visit
  [app.getoutbox.ai/voice-library](https://app.getoutbox.ai/voice-library) to
  listen to samples and preview the complete voice collection before making your
  selection.
</Tip>

Outbox AI offers access to ElevenLabs' massive voice library with over 1,000 professionally trained voices covering:

* **Multiple accents** – US, UK, Australian, Indian, and more
* **Diverse genders** – Male, female, and neutral voices
* **Age ranges** – Young, middle-aged, and mature voices
* **Tones** – Professional, casual, energetic, empathetic, and more

**Choosing the Right Voice:**

<CardGroup cols={2}>
  <Card title="Professional Services" icon="briefcase">
    Clear, articulate voices with neutral accents - Legal, accounting, medical -
    B2B sales - Corporate reception
  </Card>

  <Card title="Consumer Services" icon="users">
    Warm, friendly voices with local accents - Fitness, hospitality - Retail,
    e-commerce - Local services
  </Card>

  <Card title="Sales & Marketing" icon="bullhorn">
    Energetic, engaging voices - Outbound sales - Event bookings - Limited-time
    offers
  </Card>

  <Card title="Support & Care" icon="headset">
    Patient, empathetic voices - Customer support - Healthcare - Technical
    assistance
  </Card>
</CardGroup>

<Tip>
  **Pro Tip:** Test multiple voices with the same prompt. The right voice can
  dramatically improve engagement and conversion rates.
</Tip>

***

### Model Selection

Choose the AI model that powers your agent's intelligence. Each model balances speed, reasoning ability, and cost differently.

***

### Pricing Model

Voice agents use a token-based pricing system:

* **Included Tokens:** Each model includes a certain number of tokens in your agent's prompt per minute
* **Overage Pricing:** Any tokens beyond the included limit are charged at a per-1000-tokens rate per minute

**How it works:**

* Your agent's prompt (including system instructions, tools, and context) consumes tokens
* Each model includes a different amount of tokens in the base price
* If your prompt exceeds the included token limit, you pay the overage rate for the additional tokens
* Pricing is calculated per minute of call time

<Tip>
  **Optimize Your Prompts:** Keep your prompts concise to stay within the
  included token limit. Longer prompts with extensive FAQs or tool
  configurations may incur overage charges.
</Tip>

***

<AccordionGroup>
  <Accordion title="GPT-5.2" icon="gem">
    **850ms • Accurate • 1.75¢/1k tokens**

    The most intelligent GPT-5 model with exceptional reasoning capabilities.

    * 🎓 Exceptional reasoning and comprehension
    * 🔍 Best for highly complex conversations
    * ⏱️ Higher latency than GPT-4 models
    * 💰 Premium pricing

    **Pricing:**

    * **Included Tokens:** 2,250 tokens per minute
    * **Overage:** \$1.75 per 1,000 tokens per minute

    **Best for:** High-value consultations where accuracy matters more than speed, complex technical discussions, situations requiring deep reasoning
  </Accordion>

  <Accordion title="GPT-5.1 (Recommended)" icon="sparkles">
    **950ms • Very Accurate • 1.25¢/1k tokens**

    Advanced GPT-5 model with strong reasoning capabilities.

    * 🧠 Advanced intelligence and comprehension
    * 📚 Excellent handling of complex scenarios
    * ⏱️ Moderate latency
    * 💰 Higher cost than GPT-4 models

    **Pricing:**

    * **Included Tokens:** 3,250 tokens per minute
    * **Overage:** \$1.25 per 1,000 tokens per minute

    **Best for:** Complex sales conversations, technical support, consultative selling, handling difficult customers
  </Accordion>

  <Accordion title="GPT-5 Mini" icon="gauge-simple-max">
    **800ms • Moderate • 0.25¢/1k tokens**

    GPT-5 intelligence with better token allocation for longer prompts.

    * 🧠 Advanced intelligence
    * 📊 Handles longer conversation histories and prompts
    * ⏱️ Moderate latency
    * 💰 More cost-effective for longer prompts

    **Pricing:**

    * **Included Tokens:** 16,000 tokens per minute
    * **Overage:** \$0.25 per 1,000 tokens per minute

    **Best for:** Complex conversations requiring extensive context, agents with long prompts or many tools
  </Accordion>

  <Accordion title="GPT-5 Nano" icon="microchip">
    **700ms • Less Accurate • 0.05¢/1k tokens**

    GPT-5 intelligence with the most generous token allocation.

    * 🧠 Advanced intelligence
    * 📊 Excellent for very long prompts and extensive tool configurations
    * ⏱️ Moderate latency
    * 💰 Most cost-effective for complex agents

    **Pricing:**

    * **Included Tokens:** 75,000 tokens per minute
    * **Overage:** \$0.05 per 1,000 tokens per minute

    **Best for:** Agents with extensive prompts, many tools, large knowledge bases, or complex configurations
  </Accordion>

  <Accordion title="GPT-4.1" icon="star">
    **770ms • Highly Accurate • 2¢/1k tokens**

    The best balance of speed and intelligence for most use cases.

    * ⚡ Fast enough for natural conversations
    * 🧠 Accurate reasoning and comprehension
    * ✅ Handles most conversation flows smoothly
    * 🎯 Reliable performance across scenarios

    **Pricing:**

    * **Included Tokens:** 1,500 tokens per minute
    * **Overage:** \$2.00 per 1,000 tokens per minute

    **Best for:** Standard appointment booking, lead qualification, customer support, sales calls, FAQ handling
  </Accordion>

  <Accordion title="GPT-4.1 Mini" icon="gauge-simple-max">
    **700ms • Moderate • 0.4¢/1k tokens**

    Faster than GPT-4.1 with better token allocation for longer prompts.

    * 🏃 Quick response times
    * 💬 Good for straightforward conversations
    * 📊 More tokens included than GPT-4.1
    * ⚠️ May struggle with complex scenarios

    **Pricing:**

    * **Included Tokens:** 7,500 tokens per minute
    * **Overage:** \$0.40 per 1,000 tokens per minute

    **Best for:** Simple appointment confirmations, basic FAQs, predictable conversation flows, agents with moderate-length prompts
  </Accordion>

  <Accordion title="GPT-4.1 Nano" icon="microchip">
    **600ms • Less Accurate • 0.1¢/1k tokens**

    The fastest model with generous token allocation.

    * ⚡⚡ Extremely fast (under 1 second)
    * 📝 Best for scripted interactions
    * 📊 Excellent token allocation for longer prompts
    * ⚠️ Limited ability to handle unexpected questions

    **Pricing:**

    * **Included Tokens:** 30,000 tokens per minute
    * **Overage:** \$0.10 per 1,000 tokens per minute

    **Best for:** Appointment reminders, simple confirmations, highly scripted calls where speed matters most, agents with long prompts
  </Accordion>

  <Accordion title="GPT-4o" icon="brain">
    **850ms • Accurate • 2.5¢/1k tokens**

    Legacy GPT-4o model with superior reasoning but limited token allocation.

    * 🎯 Exceptional accuracy and comprehension
    * 📚 Handles complex scenarios excellently
    * 💡 Better at handling objections and edge cases
    * ⏱️ Slightly slower than GPT-4.1
    * 💰 Higher overage costs

    **Pricing:**

    * **Included Tokens:** 1,250 tokens per minute
    * **Overage:** \$2.50 per 1,000 tokens per minute

    **Best for:** Complex sales conversations, technical support, consultative selling, handling difficult customers (when prompt stays within token limit)
  </Accordion>
</AccordionGroup>

<Tip>
  **Choosing the Right Model:** - **Start with GPT-4.1** for most use cases with
  standard-length prompts - **Use GPT-4.1 Mini/Nano** if your prompt is longer
  and you want to avoid overage charges - **Upgrade to GPT-5 models** if you
  need advanced reasoning capabilities - **Consider GPT-5 Mini/Nano** for
  complex agents with extensive prompts, many tools, or large knowledge bases
  **Token Optimization:** If you're frequently hitting overage charges, consider
  switching to a model with more included tokens (Mini/Nano variants) rather
  than paying overage fees.
</Tip>

***

### Model Configuration

Fine-tune your selected model's behavior with advanced configuration options.

**Temperature**\
Control the randomness and creativity of your agent's responses. Lower values make responses more focused and deterministic, while higher values allow for more varied responses.

**Max Tokens**\
Set the maximum length of responses generated by the model. Adjust this based on your use case—shorter for quick confirmations, longer for detailed explanations.

<Note>
  **Advanced Settings:** Temperature and Max Tokens can be configured in your
  agent's advanced settings. These settings allow you to fine-tune how your
  model responds to match your specific use case.
</Note>

***

### Voice Settings

Customize your selected voice with ElevenLabs' advanced voice parameters for precise control over speech generation.

**Model**

Choose the ElevenLabs voice model that best fits your needs:

* **Eleven Turbo v2** – Fast, high-quality voice synthesis
* **Eleven Turbo v2.5** – Enhanced version with improved speed and quality
* **Eleven Multilingual v1** – Supports multiple languages
* **Eleven Multilingual v2** – Updated multilingual model with enhanced language support
* **Eleven English v1** – Optimized for English language synthesis

**Stability**\
**Default: 0.45**

Increasing variability can make speech more expressive with output varying between re-generations. It can also lead to instabilities.

**Clarity + Similarity**\
**Default: 0.65**

Low values are recommended if background artifacts are present in generated speech.

**Speed**\
**Default: 1.00**

Controls the speed of speech generation.

**Style Exaggeration**\
**Default: 0.00**

High values are recommended if the style of the speech should be exaggerated compared to the uploaded audio. Higher values can lead to more instability. Setting this to 0.0 will greatly increase generation speed.

**Optimize Streaming Latency**\
**Default: 1**

Controls streaming latency optimization level (0-4).

**Use Speaker Boost**\
Boost the similarity of the synthesized speech and the voice at the cost of some generation speed.

**Auto Mode**\
Reduces latency for complete sentences but may affect quality with partial phrases.

<Tip>
  **Fine-tuning Tips:** Start with default values and adjust one parameter at a
  time to see how it affects your voice output. Small adjustments can make
  significant differences in how natural and expressive your agent sounds.
</Tip>

***

### Background Sound

Add ambient background noise to make your calls feel more human and authentic.

**Available Options:**

* **Office** – General office sounds (keyboard typing, subtle background chatter)
* **Lounge** – General lounge sounds (subtle café/waiting room ambience)
* **Custom Upload** – Bring your own ambience by uploading an MP3 file (loops automatically once processed)
* **Mute** – No background sound (clean audio only)

**When to Use Background Sound:**

<AccordionGroup>
  <Accordion title="✅ Use for Outbound Sales" icon="check">
    Background sounds make outbound calls feel more authentic and less "robotic." The subtle ambience suggests the caller is in a real office environment.
  </Accordion>

  {" "}

  <Accordion title="✅ Use for Appointment Reminders" icon="check">
    Light office sounds help the call feel like it's coming from a real
    receptionist.
  </Accordion>

  {" "}

  <Accordion title="❌ Avoid for Customer Support" icon="xmark">
    Support calls should be crystal-clear. Background noise can make it harder to
    hear, especially if the customer is in a noisy environment.
  </Accordion>

  <Accordion title="❌ Avoid if Volume is an Issue" icon="xmark">
    If your audio levels are inconsistent or too quiet, background sounds can make it worse. Fix audio issues first, then add ambience.
  </Accordion>
</AccordionGroup>

<Tip>
  Test with and without background sound to see what feels right for your use
  case. What works for one industry might not work for another.
</Tip>

<Note>
  Looking for something unique? Upload an MP3 loop through the background sound
  picker to create a custom atmosphere for your callers.
</Note>

***

## Automated do-not-contact (DND)

If a caller **asks not to be contacted again**, Outbox AI can **automatically set their contact to DND**. Automated voice and chat outreach will not target them afterward, helping you honor opt-out requests without manual cleanup.

***

## Knowledge Base

Give your agent access to company information, product details, policies, and more. Choose from three methods:

<Warning>
  **Performance Impact:** Knowledge base lookups add **2-4 seconds of latency**
  per query during calls. Best reserved for inbound reception, help-desk
  scenarios, or when accuracy matters more than speed. For fast-paced outbound
  calls, put FAQs directly in your prompt instead.
</Warning>

<AccordionGroup>
  <Accordion title="File Upload" icon="file-arrow-up">
    Drop files directly into the knowledge base—the agent will read and understand them.

    **Supported Formats:**

    * 📄 PDFs
    * 📝 Word documents (.docx, .doc)
    * 📊 CSV files
    * 📋 Plain-text files (.txt)
    * 🔤 Markdown files (.md)

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-knowledge-file-upload.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=5dc513de858149ad7e14b87c68117471" alt="File Upload" width="1074" height="776" data-path="images/chat-knowledge-file-upload.png" />
    </Frame>

    **Best for:**

    * Product manuals
    * Company policies
    * FAQs
    * Pricing sheets
    * Training materials
  </Accordion>

  <Accordion title="Website Scrape" icon="globe">
    Paste any URL and Outbox AI will scrape the entire site into clean, AI-readable Markdown.

    **Powered by Firescraper** – Advanced scraping technology that handles:

    * JavaScript-rendered content
    * Multi-page sites
    * Dynamic content
    * Complex site structures

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-knowledge-website-scrape.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=94757c75a6b3d41f094f722eebffff68" alt="Website Scrape" width="1068" height="632" data-path="images/chat-knowledge-website-scrape.png" />
    </Frame>

    **Best for:**

    * Company websites
    * Product documentation
    * Help centers
    * Blog content
    * Knowledge base articles

    <Tip>
      The scraper will follow links and capture the entire site structure, not just a single page!
    </Tip>
  </Accordion>

  <Accordion title="Plain Text" icon="text">
    Paste raw text directly into the knowledge base.

    <Frame>
      <img src="https://mintcdn.com/outboxsolutions/jQ0LoSOOg35Qyr-K/images/chat-knowledge-plain-text.png?fit=max&auto=format&n=jQ0LoSOOg35Qyr-K&q=85&s=9fba6e8fb627a8e3e687f28c053a8988" alt="Plain Text" width="1058" height="1028" data-path="images/chat-knowledge-plain-text.png" />
    </Frame>

    **Best for:**

    * Custom instructions
    * Quick reference information
    * Company values and mission
    * Temporary information
    * Testing and prototyping

    <Note>
      You can combine all three methods! Add files, scrape websites, **and** paste text for maximum coverage.
    </Note>
  </Accordion>
</AccordionGroup>

***

## Compliance Settings

Control what call data is stored for this voice agent.

### Recording Consent Message

**The message your agent says at the start of a recorded call.**

Use this field to tell callers that the call is being recorded.

**Placeholder:**

```
Enter recording consent message...
```

**Example:**

```
"Just so you know, this call may be recorded for quality and training purposes."
```

<Warning>
  **Legal Requirement:** Many jurisdictions require consent before recording
  calls. Check your local regulations and always inform callers if recording is
  enabled.
</Warning>

***

### HIPAA Compliance

**Store logs, recordings, and transcriptions in HIPAA-compliant storage.**

Enable this for healthcare or other regulated workflows that require HIPAA-compliant handling of call data.

***

### Zero Data Retention (ZDR)

**Prevent call data from being stored for this agent.**

When enabled, no call data will be stored for this agent where Zero Data Retention is supported.

<Note>
  ZDR takes precedence over review and analytics workflows that rely on stored
  call recordings or transcripts.
</Note>

***

### Audio Recording

**Record the conversation.**

Disable audio recording when you do not want this agent's call audio stored. For squad conversations, disable this on an agent to keep that agent's portion of the conversation private.

***

### Transcript

**Enable or disable transcription during a call.**

Disable transcription when you do not want this agent's call transcript stored. For squad conversations, disable this on an agent to keep that agent's portion of the conversation private.

***

## Advanced Settings

Fine-tune your agent's behavior with these powerful configuration options.

### Time Zone

**Essential for accurate appointment booking.**

Set the agent's time zone so it can correctly interpret phrases like "tomorrow at 3pm" or "next Monday morning."

<Note>
  **Critical for booking tools:** Without the correct time zone, appointments
  may be scheduled for the wrong time, causing missed meetings and frustrated
  customers.
</Note>

***

### Forwarding Number

**Automatically pass a qualified caller to a live rep.**

Enter a phone number in **E.164 format** (e.g., `+61412345678`) to transfer calls.

**How It Works:**

1. Agent qualifies the lead during the call
2. Agent says: "Great! Let me connect you with one of our specialists."
3. Call is transferred to the forwarding number
4. Live rep picks up and continues the conversation

**Use Cases:**

* Hot leads ready to buy
* Technical questions beyond the agent's scope
* VIP customers requesting personal service
* Emergency or urgent situations

<Tip>
  **Pro Tip:** Use conditional logic in your prompt to decide when to forward.
  For example: "If the caller wants to speak to someone immediately, forward the
  call. Otherwise, book an appointment."
</Tip>

***

### Key Terms

**Improve transcription accuracy for unusual names, brands, suburbs, etc.**

Add terms that the speech-to-text engine might misunderstand. Separate each term with a space.

**Examples:**

```
Outbox Mandurah Fremantle Joondalup CrossFit Pilates HIIT
```

**What to Add:**

* Business names (especially unique spellings)
* Suburb and location names
* Product names and brands
* Industry-specific terminology
* Uncommon proper nouns

<Note>
  Key terms help the transcription engine recognize these words correctly during
  the call, leading to better comprehension and fewer errors.
</Note>

***

### Voicemail Message

**What to say if the system detects voicemail after \~20 seconds.**

**Example:**

```
"Hi {{contact.first_name}}, this is Sarah from Elite Fitness. I was just calling to follow up on your inquiry about our membership. Give us a call back at 08 1234 5678, or I'll try you again later. Have a great day!"
```

**Best Practices:**

* ✅ Keep it under 15 seconds
* ✅ Include your callback number
* ✅ Give a reason for the call
* ✅ Sound natural and friendly
* ❌ Don't oversell or sound desperate

<Tip>
  **Leave it blank** if you don't want the agent to leave voicemails. The call
  will simply end and be logged as "no answer."
</Tip>

***

### End Call Message

**Last line before hanging up.**

**Examples:**

```
"Thanks for your time today! You'll receive a confirmation email shortly. Have a great day!"
```

```
"Perfect! We'll see you on Tuesday at 3pm. Looking forward to it!"
```

```
"No worries at all. Feel free to call us back if you change your mind. Take care!"
```

**Leave Blank:**

If you want the agent to **disconnect silently** after completing its objective.

***

### Unqualified Prompt

**Define disqualifying criteria so calls are automatically tagged "Unqualified."**

**Example:**

```
Mark the call as unqualified if any of the following are true:
- The caller is a renter (we only work with homeowners)
- The caller is over 75 years old
- The caller is not the decision-maker
- The property is commercial (we only do residential)
```

**Why Use This:**

Unqualified tags integrate with GoHighLevel automations, allowing you to:

* Automatically remove unqualified leads from sequences
* Trigger different follow-up workflows
* Tag contacts for future remarketing
* Keep your pipeline clean and focused

<Tip>
  Be specific! Vague criteria lead to inconsistent tagging. Clear rules ensure
  reliable automation.
</Tip>

***

### Success Prompt

**Define what counts as a successful call.**

Use the success prompt to tell Outbox AI how to evaluate whether the call achieved the agent's goal. If Vapi returns `structuredData.success: true`, the call is marked as successful.

**Example:**

```
True if the caller got the answers they came for.
```

**Good success prompts are:**

* Specific about the caller outcome
* Focused on the goal of this agent
* Written as a true/false evaluation rule

**API Example:**

```json theme={null}
{
  "zdr_enabled": true,
  "recording_enabled": true,
  "transcript_enabled": true,
  "recording_consent_message": "This call may be recorded for quality assurance.",
  "success_prompt": "True if the caller got the answers they came for.",
  "unqualified_prompt": "True if the caller is not a fit for our services.",
  "scoring_prompt": "Rate call success from 0 to 100.",
  "summary_prompt": "Summarize the call in 2-3 sentences."
}
```

<Note>
  The success prompt creates a structured boolean field called `success`. If
  Vapi returns `structuredData.success: true`, Outbox marks the call as
  successful.
</Note>

***

### Summary Prompt

**Tell Outbox AI how to format the call summary posted back to your CRM.**

**Example:**

```
Summarize this call in 2-3 sentences. Include:
- The caller's main question or goal
- Whether an appointment was booked (and when)
- Any objections or concerns mentioned
- Next steps

Format it in plain English, suitable for a sales rep to read quickly.
```

**Default Behavior:**

If left blank, Outbox AI generates a standard summary automatically.

**Customization Ideas:**

* Bullet points for easy scanning
* Include specific fields for your CRM
* Highlight key selling points mentioned
* Note urgency level or buying intent

***

### Scoring Prompt

**Define how the call should be scored from 0-100.**

**Example:**

```
Rate how successful this call was from 0-100. 0 means a true failure: caller was upset/angry, tools malfunctioned, or a serious error occurred.
100 means a perfect outcome: caller was engaged, happy, and all tools worked correctly.
50 means a neutral/middle call where some interaction happened but nothing notable was achieved.
If the call was very short (1-5 seconds), unanswered, or had no meaningful interaction, do NOT score it as 0. Instead, treat it as a neutral/no-outcome call (e.g., 30-40).
Consider caller engagement, tool success, and overall outcome when assigning the score.
```

**How to Use Scores:**

* Route high-scoring leads to sales immediately
* Add low-scoring leads to nurture campaigns
* Track conversion rates by score range
* Optimize agent performance over time

<Note>
  Scores are returned with the call completion webhook and visible in
  GoHighLevel custom fields.
</Note>

***

### Webhook URL

**Where to send the end-of-call report.**

Enter a URL to receive a POST request with detailed call information immediately after each call completes.

**Request Format:**

The webhook sends a POST request with the following JSON payload:

```json theme={null}
{
  "id": "thread-uuid",
  "status": "did-succeed",
  "summary": "Caller wanted to book an appointment for teeth cleaning. Successfully scheduled for Tuesday at 3pm. Caller was friendly and confirmed contact details.",
  "score": 87,
  "agent": {
    "id": "agent-uuid",
    "name": "Dental Receptionist",
    "phone_number": "+61412345678"
  },
  "direction": "outbound",
  "duration": 142,
  "contact": {
    "id": "contact-uuid",
    "name": "John Smith",
    "email": "john@example.com",
    "phone_number": "+61498765432",
    "external_id": "ghl-contact-123"
  },
  "transcript": [
    {
      "type": "message",
      "timestamp": "12/03/2026 • 3:42pm",
      "role": "assistant",
      "message": "Hi, this is Sarah from Acme Dental — am I speaking with John?",
      "platform": "twilio"
    },
    {
      "type": "message",
      "timestamp": "12/03/2026 • 3:42pm",
      "role": "user",
      "message": "Yeah, this is John.",
      "platform": "twilio"
    },
    {
      "type": "tool_call",
      "timestamp": "12/03/2026 • 3:43pm",
      "name": "book_appointment",
      "id": "tool-call-uuid",
      "status": "success"
    },
    {
      "type": "message",
      "timestamp": "12/03/2026 • 3:43pm",
      "role": "assistant",
      "message": "Great — you're booked in for Tuesday at 3pm. See you then!",
      "platform": "twilio"
    }
  ]
}
```

**Fields Explained:**

* **id** – Unique thread identifier
* **status** – Call outcome (did-succeed, did-not-answer, error, etc.)
* **summary** – AI-generated summary of the call
* **score** – Call quality score (0–100)
* **agent.id** – The agent's unique ID
* **agent.name** – The agent's name
* **agent.phone\_number** – The number the agent called from
* **direction** – "inbound" or "outbound"
* **duration** – Call length in seconds
* **contact.id** – Contact's unique ID
* **contact.name** – Contact's full name
* **contact.email** – Contact's email address
* **contact.phone\_number** – Contact's phone number
* **contact.external\_id** – Contact's ID in your CRM (e.g., GoHighLevel contact ID)
* **transcript** – Array of chronological transcript entries (spoken messages, tool calls, and interrupts) when transcripts are enabled. Same shape as the `messages` array on `GET /agent/transcript/{transcript_id}`.

**Transcript entry types:**

Each entry in the `transcript` array has a `type` field. There are three variants:

* `message` — a spoken turn. Has `role` (`user` or `assistant`), `message`, `timestamp`, and `platform`.
* `tool_call` — a tool the agent ran mid-call. Has `name`, `id`, `status`, and `timestamp`.
* `interrupt` — the caller cut the agent off. Has `message`, `timestamp`, and `platform`.

**Use Cases:**

* Send data to Zapier or Make
* Update your CRM with call results
* Trigger follow-up automations based on status
* Log analytics in custom dashboards
* Route hot leads to sales teams
* Create tasks for follow-ups

<Tip>
  Test your webhook with a tool like [webhook.site](https://webhook.site) to see
  exactly what data is being sent before connecting your production systems.
</Tip>

***

## Testing & Deployment

Test your agent thoroughly before sending it live to customers.

### Test Your Agent

Test your voice agent before going live using either web-based calling or real phone calls.

#### Option 1: Test via Web Call

Click the **Test** button to talk to your agent directly from your browser—no phone required.

**What This Does:**

* Opens a web-based call interface in your browser
* No phone number required
* Instant feedback on prompt behavior
* Perfect for rapid iteration and quick tests

**Best For:**

* Quick prompt testing and adjustments
* Checking tool integrations
* Verifying voice and tone
* Debugging conversation flows
* Fast iteration during development

<Tip>
  Test with **real scenarios** that customers will encounter, not just
  happy-path conversations. Try to break it!
</Tip>

***

#### Option 2: Test via Phone Call

Send a real phone call to yourself to test the complete customer experience.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-test-phone-call.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=edec97e9cf8884e7c8464ac0cde6fe89" alt="Test Phone Call" width="938" height="1226" data-path="images/voice-test-phone-call.png" />
</Frame>

<Steps>
  <Step title="Select Your Agent">Choose which voice agent to test</Step>

  <Step title="Enter Your Phone Number">
    Use your mobile or desk phone (E.164 format: `+61412345678`)
  </Step>

  <Step title="Click Send Test Call">
    The agent will call you within seconds
  </Step>

  <Step title="Have a Conversation">
    Test booking flows, objections, edge cases, etc.
  </Step>

  <Step title="Review the Call">
    Check the transcript, summary, and score in Conversations
  </Step>
</Steps>

**Why Test on a Real Phone:**

* ✅ Experience exactly what customers hear
* ✅ Test call quality and audio levels
* ✅ Check latency and response times in real-world conditions
* ✅ Verify transcription accuracy
* ✅ Ensure tools work end-to-end
* ✅ Test caller ID display
* ✅ Validate voicemail detection

<Note>
  Test calls are billed at standard rates, but they're worth every cent to catch
  issues before going live!
</Note>

***

### Link Numbers

**Assign a DID (phone number) to an agent so incoming calls trigger the right workflow.**

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-link-numbers.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=78f94bbcfa0469035bcaac1e6ef10890" alt="Link Numbers" width="1596" height="1082" data-path="images/voice-link-numbers.png" />
</Frame>

Navigate to **Phone Numbers** settings to:

1. Add new phone numbers
2. Assign numbers to specific agents

**Use Cases:**

* Dedicated support line for customer service agent
* Separate numbers for different campaigns

***

### Share Button

**Demo your agents with sharable web and phone call pages.**

Click the **Share** button to get:

#### Web Call Page

A browser-based demo where anyone can talk to your agent without a phone.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-demo-web.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=50a9bf5a2029d1cff35b0536244e5cd2" alt="Share Button" width="704" height="1530" data-path="images/voice-demo-web.png" />
</Frame>

**Perfect For:**

* Internal demos to your team
* Client presentations
* Training new staff
* Quick testing without using phone credits

#### Phone Call Page

A landing page with a "Call Now" button that triggers the agent to call the visitor.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-demo-phone.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=eea062f860b559db0bdfd1965b96d85a" alt="Share Button" width="710" height="1540" data-path="images/voice-demo-phone.png" />
</Frame>

**Perfect For:**

* Website "Call Me Back" buttons
* Sales demos for prospects
* Trade show displays
* Email campaigns ("Click to speak with us")

<Tip>
  **Pro Tip:** Use the phone call page to let prospects try your service
  risk-free. It's a powerful demo tool!
</Tip>

***

## Voice Widget Embed

Embed a voice widget directly on your website so visitors can start a voice
conversation without leaving the page.

### How to Use

1. Open your voice agent and go to the **Share** or **Embed** section
2. Copy the generated Voice Widget embed code
3. Paste it into your website before the closing `</body>` tag
4. Publish your site and test the widget on desktop and mobile

### Common Use Cases

* Website "Talk to Us Now" buttons
* Landing pages for lead qualification
* Instant callback or pre-sales screening flows
* High-intent pages where chat alone is not enough

<Note>
  Voice Widget Embeds are ideal for reducing friction between website visit and
  first conversation, especially for service businesses and outbound-heavy
  teams.
</Note>

***

## Monitor Results

Track performance and identify issues across three key views.

### Conversations

**Only connected calls** – View text, audio, duration, and cost.

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-conversations.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=08ed41ea53004ce39b2241b4c1fd4eca" alt="Conversations View" width="2860" height="1516" data-path="images/voice-conversations.png" />
</Frame>

**What You'll See:**

* 📝 Full transcript of the conversation, if transcripts are enabled
* 🎧 Audio recording playback, if audio recording is enabled
* ⏱️ Call duration and timestamps
* 💰 Cost per call
* 📊 Call score (0-100)
* ✅ Status (completed, unqualified, forwarded, etc.)
* 🏷️ Summary and notes

**Use This View To:**

* Review successful calls for training
* Identify what's working well
* Spot patterns in customer questions
* Improve your prompt based on real conversations

***

### Call Logs

**Every attempt, including voicemail and errors.**

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-call-logs.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=8ec253419fa8fd5cd24b22d79aede3c8" alt="Call Logs" width="2820" height="1500" data-path="images/voice-call-logs.png" />
</Frame>

**What You'll See:**

* All outbound call attempts
* Inbound calls (answered and missed)
* Voicemails detected
* Failed calls (wrong number, carrier issues, etc.)
* No-answer scenarios

**Status Types:**

* ✅ **Completed** – Call connected and finished successfully
* 📞 **Forwarded** – Call transferred to a human
* 📧 **Voicemail** – Agent left a message
* ❌ **Error** – Technical failure
* ⏭️ **No Answer** – Contact didn't pick up
* 🚫 **Unqualified** – Prospect didn't meet criteria

**Use This View To:**

* Track call success rates
* Identify problematic phone numbers
* Monitor voicemail detection accuracy
* Spot systematic errors or issues

***

### Call Queue

**Overflow when concurrency is maxed, scheduled callbacks, or when wallet credit is low.**

<Frame>
  <img src="https://mintcdn.com/outboxsolutions/F9ISaa85UugVODF9/images/voice-call-queue.png?fit=max&auto=format&n=F9ISaa85UugVODF9&q=85&s=649e9ffd426683ad9eb6e0617c07a887" alt="Call Queue" width="2314" height="1376" data-path="images/voice-call-queue.png" />
</Frame>

**Calls Enter the Queue When:**

* ⏳ All concurrent call slots are full
* 📅 Call is scheduled for a future time (callbacks)
* 💳 Wallet balance is too low to place the call
* 🔄 Retry attempts are pending

**Queue Management:**

* ▶️ **Resume** – Process queued calls immediately
* ⏸️ **Pause** – Hold calls in queue without processing
* ❌ **Cancel** – Remove calls from queue entirely

**Monitoring:**

* See how many calls are waiting
* Identify why calls are queued
* Prioritize urgent callbacks
* Top up credits if needed

<Warning>
  **High Queue = Problem:** If your queue is consistently full, you need to
  either: - Increase your concurrent call limit - Add more wallet credits - Slow
  down your outbound campaigns
</Warning>

***

## Best Practices

<AccordionGroup>
  <Accordion title="Start with GPT-4.1" icon="star">
    Don't overthink model selection. GPT-4.1 handles 95% of use cases perfectly. Only upgrade if you encounter specific limitations.

    **Token Considerations:**

    * If your prompt is longer than \~1,500 tokens, consider GPT-4.1 Mini (7,500 included tokens) or GPT-4.1 Nano (30,000 included tokens) to avoid overage charges
    * For very complex agents with extensive prompts, many tools, or large knowledge bases, GPT-5 Mini or GPT-5 Nano offer generous token allocations
    * Monitor your token usage and switch models if you're frequently hitting overage charges
  </Accordion>

  <Accordion title="Test Voice Quality First" icon="headphones">
    Before writing a complex prompt, test the voice itself:

    1. Create a simple "Hello, this is a test" agent
    2. Call yourself
    3. Evaluate clarity, tone, and professionalism
    4. Try 2-3 different voices
    5. Pick the winner, then build your prompt
  </Accordion>

  <Accordion title="Keep First Messages Short" icon="message">
    The first 3 seconds determine whether someone hangs up or engages:

    ✅ Good: "Hi Sarah, this is Jake from Elite Fitness. Quick question about your inquiry—got a minute?"

    ❌ Bad: "Hello! Thank you so much for your interest in Elite Fitness. My name is Jake and I'm calling today to follow up on the form you submitted on our website about our premium membership packages..."

    Get to the point fast.
  </Accordion>

  <Accordion title="Use Key Terms Liberally" icon="key">
    If you're getting transcription errors (wrong suburb names, mangled product
    names), don't hesitate to add 20-30 key terms. It makes a huge difference.
  </Accordion>

  <Accordion title="Monitor Latency" icon="gauge">
    If your agent feels "laggy":

    * Remove knowledge base (adds 2-4s per query)
    * Switch to a faster model (GPT-5 models → GPT-4.1 or GPT-4.1 Mini/Nano)
    * Simplify tool complexity
    * Shorten your prompt to reduce token processing time

    Speed matters in voice. Aim for under 1.5 second response times.

    **Note:** If you need to shorten your prompt due to latency, consider switching to a model with more included tokens (like GPT-4.1 Mini/Nano) rather than cutting important content.
  </Accordion>

  <Accordion title="Review Conversations Weekly" icon="calendar">
    Listen to 5-10 calls every week:

    * What objections keep coming up?
    * Where does the agent get confused?
    * What questions can't it answer?
    * Where do people hang up?

    Update your prompt based on real patterns, not assumptions.
  </Accordion>
</AccordionGroup>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Agent Sounds Robotic" icon="robot">
    **Problem:** The voice feels unnatural or scripted.

    **Solutions:**

    * Enable **Background Sound** (Office or Lounge)
    * Add filler words to your prompt ("um," "ah," "let me check")
    * Use contractions ("I'm" not "I am," "we're" not "we are")
    * Test a different voice with more personality
    * Avoid overly formal language in your prompt
  </Accordion>

  <Accordion title="Poor Call Quality" icon="phone-slash">
    **Problem:** Audio is choppy, quiet, or unclear.

    **Solutions:**

    * Test a different voice provider
    * Disable background sound if volume is low
    * Check that the caller's connection is stable
    * Verify you're not exceeding concurrent call limits
    * Contact support if issue persists across multiple calls
  </Accordion>

  <Accordion title="Agent Taking Too Long to Respond" icon="clock">
    **Problem:** Long pauses between responses (over 3 seconds).

    **Solutions:**

    * Disable knowledge base if enabled
    * Switch to a faster model (GPT-5 models → GPT-4.1 or GPT-4.1 Mini/Nano)
    * Simplify tool logic and reduce API calls
    * Shorten your prompt to reduce token processing time
    * Remove complex conditional logic

    **Token Optimization:** If shortening your prompt reduces functionality, consider switching to GPT-4.1 Mini or GPT-4.1 Nano which have more included tokens and faster response times.
  </Accordion>

  <Accordion title="Tools Not Triggering" icon="wrench">
    **Problem:** The agent isn't using the tools you've configured.

    **Solutions:**

    * Make tool usage **explicit** in your prompt: "When the caller wants to book, use the book\_appointment tool"
    * Test the tool manually to ensure it's working
    * Check API keys and authentication
    * Review tool logs for error messages
    * Simplify the tool trigger conditions
  </Accordion>

  <Accordion title="Transcription Errors" icon="closed-captioning">
    **Problem:** Names, locations, or terms are misheard.

    **Solutions:**

    * Add problematic words to **Key Terms**
    * Use phonetic spelling if needed (e.g., "Mandjoogoordap" for "Mandogalup")
    * Test in a quiet environment first
    * Ensure the caller speaks clearly
    * Switch to a model with better transcription (GPT-5.2, GPT-5.1 Chat Latest, or ChatGPT-4o Latest)

    **Note:** GPT-5 models generally have better transcription accuracy, but consider token costs when upgrading.
  </Accordion>

  {" "}

  <Accordion title="Calls Going to Queue" icon="list">
    **Problem:** Calls aren't being placed immediately. **Solutions:** - Check
    your **wallet balance** – top up if low - Verify you haven't hit your
    **concurrent call limit** - Review scheduled callback times - Resume the queue
    if it's paused - Contact support to increase limits if needed
  </Accordion>

  <Accordion title="High Token Overage Charges" icon="dollar-sign">
    **Problem:** You're frequently paying overage charges for tokens beyond the included limit.

    **Solutions:**

    * **Switch to a model with more included tokens:** If you're using GPT-4.1 (1,500 tokens), consider GPT-4.1 Mini (7,500 tokens) or GPT-4.1 Nano (30,000 tokens)
    * **For complex agents:** Use GPT-5 Mini (16,000 tokens) or GPT-5 Nano (75,000 tokens) for agents with extensive prompts, many tools, or large knowledge bases
    * **Optimize your prompt:** Remove unnecessary content, consolidate FAQs, simplify tool descriptions
    * **Review your prompt length:** Check how many tokens your prompt consumes and compare to your model's included token limit
    * **Monitor usage:** Track which agents are hitting overage charges most frequently

    **Cost Comparison Example:**

    * GPT-4.1: 1,500 included tokens, \$2.00 per 1K overage
    * GPT-4.1 Nano: 30,000 included tokens, \$0.10 per 1K overage

    If your prompt is 5,000 tokens, GPT-4.1 Nano would be significantly more cost-effective than paying overage on GPT-4.1.
  </Accordion>
</AccordionGroup>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Prompting Guide" icon="wand-magic-sparkles" href="/prompting-guide">
    Master prompt writing for voice agents
  </Card>

  <Card title="Tool Library" icon="books" href="/tool-library">
    Explore all available tools and integrations
  </Card>

  <Card title="GoHighLevel Integration" icon="layer-group" href="/gohighlevel">
    Connect voice agents to your CRM
  </Card>

  <Card title="Telephony" icon="phone-volume" href="/telephony">
    Set up phone numbers and call routing
  </Card>
</CardGroup>
