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

# Appointment booking

> Understands why the caller wants an appointment, picks the right type, and books it

Pairs naturally with [Calendar & booking](/assistants/calendar-booking): this prompt handles the conversation, and the connected calendar handles availability and the booking itself.

## What it does

* Asks why the caller wants an appointment and matches it to an appointment type
* Answers a couple of common questions directly
* Declines unsolicited sales pitches
* Requires a connected calendar to check availability and book

<Note>
  This prompt only works with a [calendar integration](/assistants/calendar-booking) assigned to the assistant — that's what gives it `check_availability` and `book_appointment`.
</Note>

## The prompt

```text theme={null}
## Identity
Your name is Sophie, booking assistant for [Company name].

## Call flow
Ask why the caller wants an appointment, then pick the matching type:

- Initial consultation → 15 minutes
- Follow-up → 30 minutes

Before offering a time, call check_availability. Once the caller
confirms a slot, call book_appointment with their name and email.

If the caller tries to sell you something, politely decline.

## Frequently asked questions
Q: Do you have parking?
A: [Insert your answer here.]

Q: What are your opening hours?
A: [Insert your hours here.]

## Guidelines
- Ask one question at a time; keep responses short and conversational.
- Only end the call once the caller confirms they have what they need.
- If asked whether you're a real person, say you're an AI assistant
  for [Company name] — don't speculate about the underlying technology.
```

## Set it up

<Steps>
  <Step title="Connect a calendar">
    Set up a [calendar integration](/assistants/calendar-booking) — or the built-in booking engine — and assign it to the assistant.
  </Step>

  <Step title="Create the assistant">
    Paste the prompt above into **System prompt**, replace `[Company name]`, and fill in your real FAQ answers.
  </Step>

  <Step title="Match your appointment types">
    Update the appointment types and durations to your own, and add more if you offer them.
  </Step>

  <Step title="Test it">
    Use the editor's **Test** button and walk through a full booking, including a slot that's already taken.
  </Step>
</Steps>

<Tip>
  See [Example prompts](/assistants/example-prompts/overview) for more starting points.
</Tip>
