> ## 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).

<Frame caption="Appointment booking in action during a Voice AI call">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/pMRqsx_Tmg1Lacem/images/ai-agents-how-to-use-appointment-booking-0-image.png?fit=max&auto=format&n=pMRqsx_Tmg1Lacem&q=85&s=f5f903422b772067aa8e78370758c2b7" alt="Appointment booking usage during a voice call" width="1586" height="628" data-path="images/ai-agents-how-to-use-appointment-booking-0-image.png" />
</Frame>

<Frame caption="Select the calendar and time slot preferences for appointment booking">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/pMRqsx_Tmg1Lacem/images/ai-agents-how-to-use-appointment-booking-2-image.png?fit=max&auto=format&n=pMRqsx_Tmg1Lacem&q=85&s=ea2aba2662f5a05688a8cacc71ed578c" alt="Calendar and time slot configuration for appointment booking" width="655" height="185" data-path="images/ai-agents-how-to-use-appointment-booking-2-image.png" />
</Frame>

## 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="Voice AI agent setup with appointment booking capabilities">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/pMRqsx_Tmg1Lacem/images/ai-agents-how-to-use-appointment-booking-3-image.png?fit=max&auto=format&n=pMRqsx_Tmg1Lacem&q=85&s=ca4728b6f0d9067a1f719d172b716b67" alt="Voice AI agent creation wizard" width="955" height="99" data-path="images/ai-agents-how-to-use-appointment-booking-3-image.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>
  </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.
  </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.

    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.

    ### 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).
  </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="Select the Book Appointment action to enable calendar booking during calls">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/XJ0T_i1eGn0rhbtc/images/ai-agents-appointment-booking-action-in--0-image.png?fit=max&auto=format&n=XJ0T_i1eGn0rhbtc&q=85&s=1f53fd992cc982e015c3fed0b8b5182b" alt="Appointment booking action configuration" width="1462" height="730" data-path="images/ai-agents-appointment-booking-action-in--0-image.png" />
    </Frame>

    <Frame caption="Add the Book Appointment action to your Voice AI agent">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/jdTHs3JUcTo6xOCG/images/voice-ai-appointment-new-action-book.png?fit=max&auto=format&n=jdTHs3JUcTo6xOCG&q=85&s=0334b480ba9f6ab458c1784362f4a00d" alt="New action dialog with Book Appointment option selected" width="955" height="592" data-path="images/voice-ai-appointment-new-action-book.png" />
    </Frame>

    <Frame caption="Configure appointment booking action with calendar selection and availability rules">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/XJ0T_i1eGn0rhbtc/images/ai-agents-appointment-booking-action-in--2-image.png?fit=max&auto=format&n=XJ0T_i1eGn0rhbtc&q=85&s=696278d806d8122f65c5211cadc9e56e" alt="Appointment booking action detailed configuration" width="1025" height="563" data-path="images/ai-agents-appointment-booking-action-in--2-image.png" />
    </Frame>

    <Frame caption="Select the calendar for appointment booking">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/jdTHs3JUcTo6xOCG/images/voice-ai-appointment-select-calendar.png?fit=max&auto=format&n=jdTHs3JUcTo6xOCG&q=85&s=4573ce2affbda3421fa062c9f489684d" alt="Calendar selection dropdown in appointment booking configuration" width="1022" height="780" data-path="images/voice-ai-appointment-select-calendar.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.

    <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.

    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>

## 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.

<Frame caption="Select the calendar and configure availability for appointment booking">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/XJ0T_i1eGn0rhbtc/images/ai-agents-appointment-booking-action-in--3-image.png?fit=max&auto=format&n=XJ0T_i1eGn0rhbtc&q=85&s=80a8d78e00fa6d9d19af2a5c974fd55f" alt="Calendar selection and appointment booking settings" width="1342" height="500" data-path="images/ai-agents-appointment-booking-action-in--3-image.png" />
</Frame>

<Frame caption="Configure available days, time slots, and gap between appointments">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/jdTHs3JUcTo6xOCG/images/voice-ai-appointment-days-slots-gap.png?fit=max&auto=format&n=jdTHs3JUcTo6xOCG&q=85&s=02c5fc3917d0b1c98db8f54cdd1c8cd5" alt="Days, slots, and gap settings for appointment booking" width="1023" height="794" data-path="images/voice-ai-appointment-days-slots-gap.png" />
</Frame>

### 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).

<Frame caption="Appointment booking confirmation shown during a live Voice AI call">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/pMRqsx_Tmg1Lacem/images/ai-agents-how-to-use-appointment-booking-5-image.png?fit=max&auto=format&n=pMRqsx_Tmg1Lacem&q=85&s=42e04a93a659c8806deb2283e5ac887a" alt="Appointment booking confirmation during a voice call" width="1022" height="780" data-path="images/ai-agents-how-to-use-appointment-booking-5-image.png" />
</Frame>

<Frame caption="Save your appointment booking configuration">
  <img src="https://mintcdn.com/hoopai-84ec0cdc/jdTHs3JUcTo6xOCG/images/voice-ai-appointment-save.png?fit=max&auto=format&n=jdTHs3JUcTo6xOCG&q=85&s=e1595efe2f2a3a82a92ecf3ec4fb8654" alt="Save button for appointment booking action settings" width="1016" height="774" data-path="images/voice-ai-appointment-save.png" />
</Frame>

### 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.

    <Frame caption="Appointment booking action settings showing buffer time and confirmation message options">
      <img src="https://mintcdn.com/hoopai-84ec0cdc/XJ0T_i1eGn0rhbtc/images/ai-agents-appointment-booking-action-in--5-image.png?fit=max&auto=format&n=XJ0T_i1eGn0rhbtc&q=85&s=5000e23bd006145717c775486000be39" alt="Appointment booking buffer time and confirmation settings" width="1343" height="713" data-path="images/ai-agents-appointment-booking-action-in--5-image.png" />
    </Frame>
  </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>
