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

# Google Calendar

> Connect Google Calendar so the agent checks real free slots and books appointments, and set the reminders before each one.

With Google Calendar connected, the agent checks real free slots and creates the appointment during the conversation, instead of proposing a time blind. It can also move or cancel an appointment when the lead asks. Before each appointment, your team and the lead can get a reminder.

## How it works

* The agent offers only free slots in your calendars, within the hours and notice you set.
* When the lead agrees, it creates the event in Google Calendar and confirms the date in the conversation.
* If the lead wants to change or cancel, the agent moves or cancels the event.
* Your team gets an email each time the agent books, moves or cancels an appointment, if you turn that on.
* Times are worked out in the agent's timezone, set in **Agent instructions › Advanced settings**.

A voice agent uses the same Google account and settings, but by phone it only checks free slots and books. It doesn't move or cancel appointments.

## Set it up

The panel has four steps: **Account**, **When to use it**, **The appointment** and **Alerts**.

**1. Open the panel**

In **AI Agents**, open the agent and select **Google Calendar**.

**2. Connect an account**

In **Account**, select **Add account** and sign in with Google in the window that opens. Choose the calendars the agent can use and add them. You can add more accounts and calendars, pick the one used by default with **Set as default**, and switch a calendar off without removing it.

**3. Say when to use it**

In **When it should use the calendar**, write when the agent should book and anything about the event, such as its title. With several calendars, select **Calendar assistant**: tell it when each calendar should be used and select **Generate** to write the instructions for you.

**4. Shape the appointment**

In **The appointment**, set the **Length**, the **Gap between appointments**, the **Minimum notice** and the hours in **Only books between**. Under **With the lead**, choose whether to **Invite the lead to the event** and whether each appointment gets a **Google Meet video call**.

**5. Choose the alerts**

In **Alerts**, set who gets an email when the agent books and the reminders before each appointment. See below.

**6. Save**

Select **Next** to move through the steps and **Save** on the last one.

### The appointment

| Setting | What it does |
| - | - |
| **Length** | 15 minutes to 2 hours |
| **Gap between appointments** | Free time the agent keeps between two appointments, from none to 60 minutes |
| **Minimum notice** | The agent neither offers nor books slots sooner than this: from none to a week |
| **Only books between** | The hours it books in. Select **Add range** for a second range, such as afternoons |
| **Invite the lead to the event** | The lead gets the Google Calendar invite by email, and Google sends them its own reminders |
| **Google Meet video call** | Each new appointment gets its own Meet link, and the agent sends it to the lead |

### Booking alerts

Turn on **Alert you when it books an appointment** and add the addresses in **Recipients (TO)** and **CC (optional)**. **CC calendar owner** also copies the email of the calendar the appointment went into. Under **Email content options** you choose whether the email includes the lead's details, a link to the event and a link to the conversation.

## Appointment reminders

Turn on **Remind about the appointment before it happens** in **Alerts** and pick, in **How long before the appointment**, one or more times between 15 minutes and 48 hours. Then choose how they are sent:

* **Email reminder to the team**: an email to the recipients of your booking alerts before each appointment. The lead never gets this email.
* **Also notify the lead via WhatsApp**: a WhatsApp message to the lead, written by the agent from the conversation and the appointment details.

The WhatsApp reminder only reaches leads who talk to the agent on WhatsApp, including leads from Meta Ads forms. Leads from Instagram, web chat or a phone call don't get it, and neither do leads marked **Do not contact** or who asked for no more follow-ups.

> [!WARNING]
>
> Reminders almost always go out more than 24 hours after the lead's last message, so they need the template set for **Reply after 24 h** in [WhatsApp message templates](https://docs.newlead.ai/guide/channels/whatsapp-templates.md), approved by Meta. Without it, the reminders are planned but never reach the lead.

When an appointment is moved, its reminders move with it. When it is cancelled, they are cancelled. Reminders go out at any hour, whatever your [business hours](https://docs.newlead.ai/guide/agents/business-hours.md).

## Good to know

* The agent books from Monday to Friday. The panel has no setting for the days.
* To activate an agent with Google Calendar on, it needs an authorised Google account.
* If Google stops authorising an account, its calendars are switched off and an alert appears at the top of [Your day](https://docs.newlead.ai/guide/properties-analytics/your-day.md): **Google Calendar got disconnected**. The account is marked **Reconnect**: sign in with it again through **Add account**, then switch its calendars back on one by one. The alert closes on its own.
* If your wallet has no balance, the WhatsApp reminder uses a standard text instead of one written by the agent.
* In test conversations, the agent checks real free slots, but booking, moving and cancelling are simulated: nothing reaches Google, your team or the lead.
* To stop using the calendar, select **Delete** under **Remove the Calendar instructions** and confirm. The agent stops booking and the Google accounts are de-authorised. If someone asks for a time while it is off, the agent doesn't promise one and hands them to a person. **Turn on Google Calendar** brings it back, and you will have to authorise the accounts again.
* With [qualification](https://docs.newlead.ai/guide/agents/qualification.md), **Block scheduling until qualified** stops the agent booking until every required question is answered.
* To receive bookings in your own system, use the [`lead.appointment_booked`](https://docs.newlead.ai/webhook-events#lead-appointment_booked) webhook event.

## Related

* [Qualify leads](https://docs.newlead.ai/guide/agents/qualification.md)
* [Business hours](https://docs.newlead.ai/guide/agents/business-hours.md)
* [Team notifications](https://docs.newlead.ai/guide/agents/team-notifications.md)


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