# Booking in conversations

> How an agent offers times and books them mid-call or mid-text — what to turn on, how time zones are decided, and why bookings fail.

Source: https://docs.cleartalk.ai/docs/calendars/booking-in-conversations

Turning an agent into one that books appointments takes one switch. Understanding what happens after that switch is what stops you debugging it later.

<Summary
  items={[
  "Turn on Appointment Agent and bind a calendar — the agent gets its booking abilities automatically.",
  "It always checks real availability before offering a time. It never invents one.",
  "Voice agents can detect the caller's time zone; texting agents use your organization's.",
  "A booking is linked back to the call and the contact, so you can trace where it came from.",
]}
/>

## Turning it on

On any agent form — inbound, outbound, or texting — open the **Calendar** section and switch on **Appointment Agent**. Then choose:

1. **Calendar source** — a ClearTalk calendar or a CRM calendar. The CRM option only appears if you have one connected.
2. **The specific calendar** — an event type for ClearTalk, or a named calendar from your CRM.
3. **Time zone handling** — voice agents only, covered below.

<Screenshot
  src="/img/agent-calendar-section.png"
  alt="An agent's Calendar section with Appointment Agent switched on, showing the Calendar Source choice between a connected CRM calendar and ClearTalk Calendar, three Timezone modes (Auto Detect, Account and Agent), and the lines the agent says while checking availability and while booking."
  caption="One switch, then a calendar and a time zone. The lines under What the agent says are optional."
  redactions={[{ x: 3.4, y: 93.7, w: 11.6, h: 4.4, reason: "Account name and email hidden" }]}
  pins={[
  { x: 72.5, y: 13.2, from: "bottom", label: "The switch. Everything below appears once it's on." },
  { x: 22.4, y: 26.1, from: "left", at: -2, label: "Calendar Source. ClearTalk Calendar uses your event types and schedules; a connected CRM adds its own." },
  { x: 22.4, y: 38.8, from: "left", at: -2, label: "Time zone handling — voice agents only. Texting always uses your organization's." },
]}
/>

That's the whole setup. The agent's ability to look up times and book them is created and kept in sync for you.

<Callout title="You don't build these as custom tools">
  Appointment booking isn't something you wire up in the [Tools](/docs/tools) section. It's provisioned from the calendar you bound here. If you see appointment abilities on an agent you didn't create by hand, that's why.
</Callout>

## What happens during the conversation

<Sequence
  caption="The same sequence on a call and over text."
  steps={[
  {
    title: "The customer raises booking",
    note: "Either the agent brings it up because that's the job, or the customer asks.",
  },
  {
    title: "The agent looks up real availability",
    note: "It says something like “Let me check what times are open” while it does. On agents set up since this option arrived, it says that in the caller's own language; to fix the wording instead, choose **Use these exact words** in the agent's Calendar settings. To change the line itself, fill in **While checking availability** (and **While booking**, for the pause as it books) under **What the agent says** there; blank keeps the default. Every rule — your hours, buffers, notice, daily limits, connected-calendar busy times — is applied before anything is offered.",
  },
  {
    title: "It offers a couple of times",
    note: "Two or three, not a list of twelve. A long list on a phone call is unusable.",
  },
  {
    title: "The customer picks and confirms",
    note: "The agent confirms the specific time back before committing. Nothing is booked on a maybe.",
  },
  {
    title: "It books and reads back the confirmation",
    note: "The appointment is written and linked to this conversation and this contact.",
  },
]}
/>

<Key>
  **The agent never offers a time it hasn't verified.** Availability is looked up live, and checked again when the booking is written — so a slot that got taken mid-conversation is caught rather than double-booked.
</Key>

## Time zones

This is where booking goes wrong most often, so it's worth being precise.

**Voice agents** offer three options:

| Setting         | Behaviour                                                                                                                                       | Use when                                        |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| **Auto Detect** | The contact's own time zone, from their phone number's area code. If that can't be read, your organization's time zone, then the calendar's own | You call across time zones                      |
| **Account**     | Your profile's time zone                                                                                                                        | Everyone you deal with is local to you          |
| **Agent**       | A fixed time zone you pick                                                                                                                      | The agent serves one region that isn't your own |

**Texting agents** always use your organization's time zone. A text conversation carries no live signal of where the recipient is, so the choice isn't offered rather than shown and quietly ignored.

<Callout type="warn" title="Auto Detect is a good guess, not a fact">
  Area codes follow people when they move. Someone with a New York number living in Phoenix will be offered New York times. If exact local time matters — a site visit, a same-day appointment — have the agent confirm the time zone out loud as part of confirming the slot.
</Callout>

## When a booking doesn't complete

Two things can go wrong, and the agent handles both by continuing the conversation rather than failing silently.

**Missing details.** If the agent doesn't have enough to book — usually a name — it's told what's missing and asks for it, then tries again.

**The slot was taken.** If someone else booked that time between the lookup and the commit, the agent is told and offers a different time. The customer experiences a small hiccup, not a broken booking.

## What gets recorded

A booking made in a conversation carries its origin. On the **Bookings** tab, the **Source** column shows how each one arrived:

* **AI voice** — booked by an agent on a call
* **AI SMS** — booked by an agent over text
* **Self-serve** — booked by the customer directly
* **Manual** — added by your team

Bookings from a conversation are also linked back to the call or thread and to the contact record, so you can open a booking and read the conversation that produced it. That link is the fastest way to answer "why did they book this?" — and the fastest way to spot an agent booking people it shouldn't.

## Common problems

| Symptom                                               | Usual cause                                                                                             |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| "I don't have anything available" on an open calendar | The schedule's time zone isn't what you assumed, or a connected calendar is full of all-day busy events |
| Books at the right clock time, wrong actual time      | Time zone mode — check whether Auto Detect is guessing from an area code                                |
| Books outside your working hours                      | The event type is on a different schedule than you think                                                |
| Books too close to now                                | No minimum notice on the event type                                                                     |
| Books more than you can service                       | No daily limit on the event type                                                                        |
| Never brings booking up                               | Your pathway or instructions never tell it to                                                           |

That last one catches people out. Turning on Appointment Agent gives the agent the *ability* to book. Your pathway or agent instructions still have to tell it *when* to.

## Testing it before customers see it

Book an appointment through the agent yourself, end to end, and then check three things:

1. It landed on the right calendar.
2. It landed at the right actual time — not just the right numbers on a clock.
3. The confirmation the agent read back matches what got written.

If you're on a pathway, you can run this as a [simulated test](/docs/pathways/testing) without spending a call.
