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

# Calendar booking instructions

> The booking flow your agent uses out of the box, and how to customize it.

When you connect a calendar action to an agent, we add a default block of booking instructions to your agent's prompt. The agent uses these to ask for a timezone, present a couple of slots at a time, and collect the contact's name and email only after they've picked a time.

You can edit these instructions directly in the prompt editor. They are part of your agent's prompt — they are not hidden from you and they are not enforced by the platform. Tune them, replace them, or remove them entirely.

## The default block

Copy this into your agent's prompt if you ever need to restore the defaults.

```text theme={null}
OPERATIONAL RULES:
1) Conversation Memory (CRITICAL): If the user's timezone, name, or email has already been provided earlier in this conversation, remember and reuse that information. NEVER re-ask for information already collected.
2) Timezones (REQUIRED FIRST): Before checking availability, ask the user for their timezone only if it has not been provided yet in this conversation. Always convert tool outputs to the user's local time when speaking.
3) Identity Verification (ONLY WHEN BOOKING): Only ask for Full Name and Email when the user has selected a slot and is ready to book. If name and email were already collected earlier in the conversation, skip this step and proceed directly to booking. Do NOT ask for name/email before showing availability.
4) Presenting Availability: Offer a maximum of two slots at a time. Use relative dates (e.g., "Tomorrow," "This Thursday"). Speak naturally, no bullet lists.

BOOKING WORKFLOW:
1) Get Timezone only if not already known from this conversation
2) Check Availability with fetch_slots
3) Offer Slots (max 2 at a time)
4) Collect Contact Info only AFTER slot selection — if already known, confirm: "I'll book this under [name], [email] — shall I go ahead?"
5) Finalize with book
```

## Why each rule exists

* **Conversation Memory** — Without this, agents re-ask for timezone or email after every tool call, which feels broken to the contact.
* **Timezones first** — Booking against the wrong timezone produces calendar invites the contact never sees. Asking up front is cheaper than apologizing later.
* **Identity only at booking** — Asking for name/email before showing availability comes across as gating. Asking after a slot is selected feels like a normal confirmation step.
* **Two slots at a time** — Voice channels can't read a list of ten options. Even on chat, two options at a time keeps the back-and-forth fast.
* **Booking workflow ordering** — Codifies the sequence so the agent doesn't try to book before checking availability.

## Customizing

You can edit any of these freely. Common tweaks:

* **Offer more or fewer slots** — change "two slots" to "three slots" if you want a wider menu, or "one slot" for a more directive feel.
* **Change the language** — these instructions affect tone. If your brand is formal, rewrite them as full sentences in that voice; the model will mirror it.
* **Add booking-window rules** — e.g. "never offer slots within the next 4 hours" or "only weekday afternoons".
* **Remove identity verification** — if you already authenticated the contact (e.g. logged-in web chat), delete rule 3 to stop the agent asking for name and email up front. On voice calls the agent still confirms the email before it books. See [Email when booking](#email-when-booking).

## Email when booking

On voice calls, the agent books only with an email the caller said or confirmed on the call.

* **Email on file.** The agent reads it back and asks if it is right. If the caller gives a different email, it books with that one.
* **No email on file.** The agent asks for one.
* **No made-up emails.** The agent never books with an address the caller did not give, such as `test@example.com`. It asks the caller instead.

The agent does not say the meeting is booked until the booking succeeds.

## Phone numbers when booking

Every booking needs the contact's **name** and **email**. The agent asks for whichever is missing, one at a time, name first.

A **phone number** is only asked for when the calendar needs one. The agent does not ask for a phone on every booking.

| Calendar | When the agent asks for a phone |
| - | - |
| Cal.com | Only when the event type has a required phone booking field |
| Calendly | Only when the event's location is a phone call |
| LeadConnector (GoHighLevel) | Never. The contact is created from the email. |

* **Phone already on file.** The agent confirms it with the contact and uses it.
* **No phone and the calendar doesn't need one.** The booking goes ahead without it.
* **The calendar needs one.** The agent asks for it, saves it to the contact, and books again. It does not tell the contact the meeting is booked until the booking succeeds.

### Numbers outside the US

The agent accepts numbers from any country.

* **Local formats** such as `(888) 495-6788` are turned into full international format before booking. The country comes from your workspace country, then your organization's country, then the US.
* **US 10-digit numbers** are saved with `+1`. The agent does not ask anything.
* **Numbers that start with 0**, such as a UK `07911…` or a Philippine `0926…`, can't be placed without a country. The agent asks which country the contact is in, then saves the number with that country's code and without the leading 0.
* **Other numbers it can't read.** The agent asks for the full number again, including the area code.
* **If the calendar still rejects the number**, the agent reads it back and asks the contact to confirm it.

The same rules apply on voice calls and in chat.

## Calendar timezone

Each calendar action has an optional **Timezone** field (IANA, e.g. `America/New_York`). When set, the agent will not ask the contact for a timezone — it will book against the calendar's timezone instead. Leave it blank if your contacts span multiple timezones and the agent should always ask.

## Tool wiring (handled automatically)

You don't need to add the tool names (`fetch_slots`, `book`, `cancel`, `reschedule`) or the calendar provider/ID to your prompt. Those are still injected automatically when you attach a calendar action — only the operational rules above live in your editable prompt.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.