# Healthcare appointment booking (/docs/examples/health-appointment)

> Build a voice agent for healthcare appointment scheduling, doctor availability, and clinic info.

































<img alt="Healthcare appointment booking agent overview" src="__img0" />

Walk through configuring a complete appointment-booking voice agent. The
agent greets patients, identifies intent, books slots via Google
Calendar, answers FAQs from a knowledge base, and emails post-call
summaries.

<Steps>
  <Step>
    ### Write the prompt [#write-the-prompt]

    Start the setup by writing a clear initial prompt that defines the
    purpose of the bot.

    > **Example prompt**: Create a voice AI agent for Sunrise Health Clinic
    > to help patients book appointments, check doctor availability, and get
    > basic clinic info through voice.

        <img alt="Writing the initial prompt" src="__img1" />
  </Step>

  <Step>
    ### Answer clarifying questions [#answer-clarifying-questions]

    The platform will prompt you with clarifying questions. Answer these
    precisely to help tailor the voice agent for your specific use case.
    You can select from provided options or write your own custom answers if
    the options don't match your needs.

        <img alt="Answering clarifying questions" src="__img2" />
  </Step>

  <Step>
    ### Automatic agent creation [#automatic-agent-creation]

    The system uses your prompt and answers to auto-generate an initial
    version of the voice assistant. This includes welcome message, basic
    conversational flow, collecting user data, and variable extraction in
    post-call.

        <img alt="Automatic agent creation" src="__img3" />
  </Step>

  <Step>
    ### Review and customize agent details [#review-and-customize-agent-details]

    * Navigate to the **Details** section of the platform
    * Edit the welcome message. Ensure it is friendly and aligned with your brand voice.
    * Review each step of the user journey (greeting, intent identification, slot filling, confirmation)
    * Edit existing prompts or add new sections to better guide the conversation, edge cases, or FAQs

        <img alt="Customizing agent details" src="__img4" />
  </Step>

  <Step>
    ### Test the agent [#test-the-agent]

    Use the platform's testing tools at the top right of the window:

    * **Test With Chat** for text-based interaction
    * **Test With Webcall** for voice-based testing

        <img alt="Test with chat" src="__img5" />

        <img alt="Test with web call" src="__img6" />
  </Step>

  <Step>
    ### Configure model and voice [#configure-model-and-voice]

    In the **Configuration** tab you can edit or adjust agent configuration.

    * **Model**: select the desired LLM
    * **TTS**: configure text-to-speech and choose appropriate voice settings
    * Adjust filler words and other behavior customization settings as needed

        <img alt="Updating model" src="__img7" />

        <img alt="Updating voice" src="__img8" />
  </Step>

  <Step>
    ### Calendar integration [#calendar-integration]

    Integrate with Google Calendar to enable automatic booking.

    * Open the **Integrations** tab
    * Click **Connect** next to Google Calendar
    * Complete the OAuth flow to securely link your account
    * Once connected, the calendar will be automatically attached to the agent
    * The bot can check availability, book slots, and send invites

        <img alt="Integration tab view" src="__img9" />

        <img alt="Adding Google Calendar integration" src="__img10" />

        <img alt="Attach integration view" src="__img11" />

    See [Google Calendar integration](/docs/integrations/google-calendar) for
    the full walkthrough.
  </Step>

  <Step>
    ### Knowledge base [#knowledge-base]

    You can add a knowledge base to your bot to provide additional
    information.

    * Navigate to the **Knowledge Base** section
    * Upload relevant documents (for example, PDFs with clinic policies, service descriptions)
    * Documents are auto-attached to the bot
    * You can also set rules for when and why the knowledge base should be utilized

        <img alt="Upload documents" src="__img12" />
  </Step>

  <Step>
    ### Post-call actions [#post-call-actions]

    Set up what happens after the call is completed.

    * Go to the **Post Call** section
    * Select **Email Delivery** as the post-call action
    * Enter the recipient's email address
    * Choose what to include: call summary, full transcript, sentiment analysis, variable extraction

        <img alt="Post-call settings" src="__img13" />
  </Step>

  <Step>
    ### Final testing and monitoring [#final-testing-and-monitoring]

    * Re-test the agent via chat and web call to confirm all functionality
    * Validate booking flow, fallback responses, and knowledge base retrieval
    * Navigate to the **Call Logs** section to monitor call interactions with evaluation details

        <img alt="Call logs" src="__img14" />
  </Step>
</Steps>
