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

# Creating Voice AI agents

> Complete step-by-step guide to creating your first Voice AI agent in HoopAI.

Your Voice AI agent is a virtual phone representative that can answer calls, make outbound calls, book appointments, and handle customer inquiries around the clock. This guide walks you through every step of creating and configuring your first agent.

Before you begin, make sure you have access to the **AI Agents** section in your HoopAI account and at least one phone number available for assignment. If you need to set up a phone number first, see [Voice AI phone number setup](/ai/voice-ai/phone-setup).

## Choosing your agent type

The first decision you will make is whether your agent handles **inbound** calls, **outbound** calls, or both. This choice affects the configuration options available to you and how the agent behaves during conversations.

* **Inbound agents** answer calls from customers who dial your business number. Common use cases include reception, customer support, and after-hours answering.
* **Outbound agents** place calls on your behalf. Common use cases include appointment reminders, lead follow-ups, and satisfaction surveys.

For a detailed comparison, see [Inbound vs outbound Voice AI calls](/ai/voice-ai/inbound-outbound).

## Step-by-step agent creation

<Steps>
  <Step title="Navigate to Voice AI">
    Go to **AI Agents** in the left sidebar of your HoopAI account, then select the **Voice AI** tab. Click the **Create Agent** button in the top-right corner to open the agent creation wizard.

    <Frame caption="Click the Create Agent button to start building your Voice AI agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-0-create-20agent.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=c3a047f0b628594c70760ccac98bc27a" alt="Create Agent button highlighted in the Voice AI tab" width="1586" height="419" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-0-create-20agent.png" />
    </Frame>
  </Step>

  <Step title="Name your agent and choose a direction">
    Give your agent a descriptive name that reflects its purpose — for example, "Front Desk Receptionist" or "Appointment Reminder Bot." Names are internal-only and not spoken to callers.

    Select the call direction:

    | Direction    | Description                                                                     |
    | ------------ | ------------------------------------------------------------------------------- |
    | **Inbound**  | Agent answers incoming calls to an assigned phone number                        |
    | **Outbound** | Agent places calls to contacts from workflows, bulk actions, or manual triggers |
    | **Both**     | Agent can handle calls in either direction                                      |

    <Tip>
      If you are unsure, start with **Inbound**. You can always add outbound capabilities later by editing the agent.
    </Tip>

    <Frame caption="Enter a descriptive name and select the call direction for your agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-1-agent-20name.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=82f996cb250ff61b69694c5b0d945479" alt="Agent naming and direction selection screen" width="1254" height="622" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-1-agent-20name.png" />
    </Frame>

    <Frame caption="Enter your agent name in the configuration panel">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pvNCpCCULfbeMUAk/images/voice-ai-setup-agent-name.png?fit=max&auto=format&n=pvNCpCCULfbeMUAk&q=85&s=cebc201a8d93749eeb345b71b97e9c01" alt="Agent name field in the Voice AI setup wizard" width="1254" height="622" data-path="images/voice-ai-setup-agent-name.png" />
    </Frame>
  </Step>

  <Step title="Select a voice">
    Choose the voice your agent will use during calls. HoopAI offers a library of natural-sounding AI voices across different genders, accents, and speaking styles.

    When selecting a voice, consider:

    * **Brand alignment** — Pick a voice that matches your brand personality. A law firm may prefer a calm, measured tone, while a fitness studio might choose something more energetic.
    * **Clarity** — Some voices perform better for technical or medical terminology. Test a few options with your specific vocabulary.
    * **Speed** — Each voice has a natural cadence. You can adjust speaking speed in advanced settings, but starting with a voice that naturally matches your desired pace produces better results.

    Click the **Play** icon next to any voice to hear a sample. You can change the voice at any time without recreating the agent.

    <Frame caption="Browse and preview available AI voices for your agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-3-image.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=f8152079269edb53272361472ab44586" alt="Voice and model selection interface" width="1254" height="502" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-3-image.png" />
    </Frame>

    <Frame caption="Language and voice selection options for your Voice AI agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pvNCpCCULfbeMUAk/images/voice-ai-setup-language-voice.png?fit=max&auto=format&n=pvNCpCCULfbeMUAk&q=85&s=3295ef52d1781f4be3fa8ae771666a16" alt="Language and voice picker showing available options" width="868" height="591" data-path="images/voice-ai-setup-language-voice.png" />
    </Frame>
  </Step>

  <Step title="Choose a language">
    Select the primary language your agent will use. HoopAI Voice AI supports multiple languages including English, Spanish, French, Portuguese, German, and more.

    <Note>
      If your business serves multilingual callers, you can enable **automatic language detection** in the advanced settings. The agent will detect the caller's language and respond accordingly, though performance is strongest in the primary language you select here.
    </Note>
  </Step>

  <Step title="Assign a phone number">
    For inbound agents, assign at least one phone number that the agent will answer. You can assign numbers you have already purchased in HoopAI, or purchase a new number directly from this screen.

    For outbound agents, select the caller ID number that will appear when the agent places calls.

    <Frame caption="Phone number assignment for your Voice AI agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-14-phone.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=4fdc017b7051dc6f0fecbefc839fa197" alt="Phone number configuration for Voice AI agent" width="1297" height="605" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-14-phone.png" />
    </Frame>

    If you need to purchase or configure phone numbers, see the [phone setup guide](/ai/voice-ai/phone-setup) for detailed instructions.
  </Step>

  <Step title="Write your agent prompt">
    The prompt is the set of instructions that tells your agent who it is, what it knows, and how to behave. HoopAI offers two prompt modes:

    ### Basic mode

    Basic mode provides a structured form where you fill in key fields:

    * **Agent role** — A short description like "You are a friendly receptionist for Sunrise Dental."
    * **Business information** — Key facts about your business (hours, location, services).
    * **Greeting message** — What the agent says when it first answers or the caller picks up.
    * **Objective** — The primary goal of the call (book an appointment, answer questions, collect information).

    Basic mode is ideal for simple use cases and getting started quickly.

    <Frame caption="Configure the greeting message your agent uses when answering calls">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pvNCpCCULfbeMUAk/images/voice-ai-setup-greeting-message.png?fit=max&auto=format&n=pvNCpCCULfbeMUAk&q=85&s=171646160dc53b4a12e2b0ea54608ef1" alt="Greeting message configuration field in basic mode" width="1254" height="502" data-path="images/voice-ai-setup-greeting-message.png" />
    </Frame>

    ### Advanced mode

    Advanced mode gives you a single freeform text area where you write a complete system prompt. This provides full control over the agent's personality, conversation flow, decision-making logic, and response style.

    Advanced mode is recommended when you need:

    * Complex branching conversation flows
    * Specific objection handling scripts
    * Detailed persona instructions
    * Custom escalation rules

    For prompt writing best practices and templates, see [Voice AI prompt engineering](/ai/prompt-engineering/voice-ai-prompts).

    <Frame caption="Switch to advanced mode for full control over your agent prompt">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/jdTHs3JUcTo6xOCG/images/voice-ai-setup-advanced-mode.png?fit=max&auto=format&n=jdTHs3JUcTo6xOCG&q=85&s=eb7792f70a6cd5dae32a6826eea03642" alt="Advanced mode toggle in the Voice AI agent editor" width="986" height="435" data-path="images/voice-ai-setup-advanced-mode.png" />
    </Frame>

    <Frame caption="Write your agent's system prompt to define its personality and behavior">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-11-prompt.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=8c38dc4caf676228c22948433f667200" alt="System prompt editor for Voice AI agent" width="978" height="418" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-11-prompt.png" />
    </Frame>

    <Frame caption="Attach a knowledge base to provide your agent with business-specific information">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-5-knowledge-20base.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=4a8313869b06ea03cd8d4b8cf7e67ac7" alt="Knowledge base selection for Voice AI agent" width="1264" height="670" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-5-knowledge-20base.png" />
    </Frame>
  </Step>

  <Step title="Configure actions">
    Actions define what your agent can do beyond having a conversation. Common actions include:

    * **Book appointment** — Check calendar availability and schedule meetings. See [Voice AI appointment booking](/ai/voice-ai/appointment-booking).
    * **Transfer call** — Hand off to a human team member. See [Call escalation and transfer](/ai/voice-ai/call-escalation).
    * **End call** — Gracefully wrap up the conversation.
    * **Send SMS** — Text the caller a link, confirmation, or follow-up message.
    * **Add to workflow** — Enroll the contact in an automation workflow after the call.
    * **Update contact** — Save information collected during the call to CRM custom fields.

    Toggle on each action you want and configure its settings. You can add or remove actions later.

    <Frame caption="Configure the actions your agent can perform during calls">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-12-action.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=bc7b898c1b5bd48d5d4b51c9af10af5e" alt="Actions configuration panel showing available agent actions" width="986" height="378" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-12-action.png" />
    </Frame>

    <Frame caption="Available actions including appointment booking, SMS, and workflow enrollment">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-19-actions.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=68204a28887d5e2f6b3d300a13a88cc2" alt="Extended actions configuration for Voice AI agent" width="1575" height="614" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-19-actions.png" />
    </Frame>
  </Step>

  <Step title="Set advanced options">
    Before saving, review the advanced settings panel:

    * **Call timeout** — How long the phone rings before going to voicemail or failover (default: 30 seconds for inbound).
    * **Max call duration** — Set a maximum length to prevent unexpectedly long calls (recommended: 10-15 minutes for most use cases).
    * **Silence threshold** — How long the agent waits during silence before prompting the caller (default: 5 seconds).
    * **Recording** — Enable or disable call recording. Recorded calls are stored in the call logs for review.
    * **Transcription** — Enable real-time transcription for all calls (recommended for debugging and quality assurance).
    * **Working hours** — Define when the agent is active. Outside of working hours, calls route to voicemail or a fallback action.

    <Frame caption="Advanced settings panel for call timeout, recording, and transcription options">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-9-advanced.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=54e59d18f877904027ab18bd3e924310" alt="Advanced settings panel for Voice AI agent" width="986" height="435" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-9-advanced.png" />
    </Frame>

    <Frame caption="Set working hours to control when your agent is active">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pvNCpCCULfbeMUAk/images/voice-ai-setup-working-hours.png?fit=max&auto=format&n=pvNCpCCULfbeMUAk&q=85&s=f8c35f30e6347abe8cfa2be5eca678bb" alt="Working hours schedule configuration with day and time blocks" width="777" height="219" data-path="images/voice-ai-setup-working-hours.png" />
    </Frame>

    <Warning>
      If you enable call recording, ensure you comply with your jurisdiction's consent laws. Many states and countries require two-party consent. You can add a recording disclosure to your agent's greeting message.
    </Warning>
  </Step>

  <Step title="Save and test your agent">
    Click **Save** to create your agent. Once saved, you are taken to the agent detail page where you can immediately test it.

    <Frame caption="Save your agent and enable it to start handling calls">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-18-save.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=4453148a0c91e626a29f4cac94f498ef" alt="Save and enable agent screen" width="1373" height="432" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-18-save.png" />
    </Frame>

    <Frame caption="Toggle the agent to active to start handling live calls">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/5ekJMua0ICwwZhKE/images/ai-agents-how-to-set-up-voice-ai-agent-15-enable-20agent.png?fit=max&auto=format&n=5ekJMua0ICwwZhKE&q=85&s=b5fbb33c2e7197b09a342ee014522851" alt="Enable Voice AI agent toggle" width="777" height="219" data-path="images/ai-agents-how-to-set-up-voice-ai-agent-15-enable-20agent.png" />
    </Frame>

    <Frame caption="Save your completed agent configuration">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pvNCpCCULfbeMUAk/images/voice-ai-setup-save-agent.png?fit=max&auto=format&n=pvNCpCCULfbeMUAk&q=85&s=edefaaba252298cc538fac4d269dccdf" alt="Save agent button in the Voice AI editor" width="1373" height="432" data-path="images/voice-ai-setup-save-agent.png" />
    </Frame>

    Click the **Test Call** button to initiate a web-based test call directly in your browser. This lets you have a live conversation with your agent without using phone minutes.

    During testing, pay attention to:

    * Does the greeting sound natural?
    * Does the agent understand your questions?
    * Does it correctly perform actions (booking, transferring)?
    * Is the conversation flow logical?

    Make adjustments to your prompt and settings, then test again. For a comprehensive testing workflow, see [Testing and debugging Voice AI](/ai/voice-ai/testing-debugging).
  </Step>
</Steps>

## Custom actions

Beyond the standard built-in actions, Voice AI agents support custom actions that extend what your agent can do during a call. Custom actions let you trigger any workflow, update CRM fields, or perform integrations that go beyond the default options.

### Setting up custom actions

1. In your agent's **Actions** panel, click **+ Add Custom Action**
2. Define the **trigger condition** — what the caller must say or what context must be true for the action to fire
3. Configure the **action type** — trigger a workflow, update a contact field, send a webhook, or perform another automation
4. Add **example phrases** to help the AI recognize when to execute the action
5. Save the action

Custom actions give your agent the ability to handle business-specific tasks — such as looking up order status, initiating a return process, or sending a custom document.

***

## Voice AI translation service

After every Voice AI call, HoopAI can automatically generate a translated transcript and summary. This is useful for multilingual teams or when calls happen in a language different from your primary business language.

### How it works

1. The call is transcribed in the language it was conducted in
2. The platform translates both the full transcript and the call summary into your account's primary language
3. Both the original and translated versions are stored on the call record

### Accessing translated transcripts

Open the call record from your call logs. If a translation is available, you will see tabs for **Original** and **Translated** versions of both the transcript and summary.

***

## Voice AI granular permissions

Control who can create, edit, and manage Voice AI agents using granular permission settings:

| Permission               | What it controls                                     |
| ------------------------ | ---------------------------------------------------- |
| **Create agents**        | Ability to create new Voice AI agents                |
| **Edit agents**          | Modify existing agent prompts, actions, and settings |
| **Delete agents**        | Remove agents permanently                            |
| **View call logs**       | Access call recordings and transcripts               |
| **Manage phone numbers** | Assign and unassign phone numbers to agents          |

Configure these permissions in **Settings > My Staff > User Roles**. Assign each permission independently to create the right access level for each team member.

***

## After creation: what to do next

Once your agent is live, there are several important next steps to ensure it performs well in production.

### Monitor early calls

Check your call logs daily for the first week. Listen to recordings and read transcripts to identify areas where the agent struggles. Common early adjustments include:

* Adding FAQ answers the agent does not yet know
* Refining the greeting to set better expectations
* Adjusting the prompt to reduce unnecessary verbosity

### Connect your calendar

If your agent books appointments, make sure your calendar integration is properly configured and the correct calendar is selected. See [Voice AI appointment booking](/ai/voice-ai/appointment-booking) for setup instructions.

### Set up escalation paths

No AI agent can handle every situation. Configure call escalation rules so that complex or sensitive calls are routed to the right human team member. See [Call escalation and transfer](/ai/voice-ai/call-escalation).

### Add the website widget

Let website visitors call your Voice AI agent directly from their browser without dialing a phone number. See [Voice AI widget for websites](/ai/voice-ai/website-widget).

## Tips for success

<AccordionGroup>
  <Accordion title="Start simple and iterate">
    Do not try to build the perfect agent on day one. Start with a focused use case — such as answering basic questions and booking appointments — and expand capabilities over time as you learn from real call data.
  </Accordion>

  <Accordion title="Use realistic test scenarios">
    When testing, simulate real customer calls. Mumble, pause mid-sentence, ask off-topic questions, and interrupt the agent. Real callers will do all of these things, and you need to know how your agent responds.
  </Accordion>

  <Accordion title="Keep your prompt concise">
    Shorter, clearer prompts generally outperform long, complex ones. Focus on the core instructions and let the AI handle natural conversation flow. If you find yourself writing paragraphs of edge case handling, consider using actions and workflows instead.
  </Accordion>

  <Accordion title="Update regularly">
    Review call transcripts weekly and update your agent's prompt to address recurring issues. Your Voice AI agent should improve continuously based on real interaction data.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Phone number setup" icon="phone" href="/ai/voice-ai/phone-setup">
    Purchase and assign phone numbers to your Voice AI agent.
  </Card>

  <Card title="Inbound vs outbound" icon="arrows-left-right" href="/ai/voice-ai/inbound-outbound">
    Understand the differences between inbound and outbound calling.
  </Card>

  <Card title="Appointment booking" icon="calendar" href="/ai/voice-ai/appointment-booking">
    Let your agent check availability and book meetings during calls.
  </Card>

  <Card title="Voice AI prompts" icon="wand-magic-sparkles" href="/ai/prompt-engineering/voice-ai-prompts">
    Master prompt engineering for natural, effective voice conversations.
  </Card>
</CardGroup>
