Skip to content
Start free
SectionIntegrations

Book customers into Google Calendar

3 min readUpdated
In this article

Connect Google Calendar, and the AI agent books customers right in the conversation: it shows free times and creates, reschedules or cancels a booking. A manager sees the customer’s bookings in the conversation and can create or cancel them too.

You’ll need a Google account and your own OAuth client in Google Cloud: a “Client ID” and “Client secret”. Bookings go into your calendar.

Set working hours

The AI agent takes free times from your working hours. Open “Settings” → “Miscellaneous” → “Scheduled office hours”. Set one or two intervals for each day and leave days off as “Closed”. Check the “Timezone” and click “Save changes”.

Connect the calendar

  1. In Google Cloud, create an OAuth client for a web application and enable the Google Calendar API.
  2. In the dashboard, open “Settings” → “AI manager”. In the “Google Calendar integration” block, turn on “Active”. Do this before synchronizing, otherwise Google won’t grant calendar access.
  3. In the “Google” block, paste the “Client ID” and “Client secret”. If there’s a “Sync mode” field, choose “Manual”.
  4. Next to “Authorised redirect URI”, click “Get configuration URL” and add this address to the OAuth client settings in Google.
  5. Click “Synchronize”, sign in to your Google account and allow access. Back in the dashboard you’ll see “Synchronization completed.”, and the “Refresh token” fills in by itself.

Booking settings

“Slot time (minutes)”
How long one booking lasts.
“Minimum booking time (minutes)”
How long before the start a booking must be made at the latest.
“Buffer time (minutes)”
A gap before and after each calendar event that can’t be booked.
“Max advance booking (days)”
How many days ahead booking is open.
“Calendar ID”
Empty — the account’s primary calendar.
“Booking title”, “Booking description”
The event text. The customer’s name and a link to them in the dashboard are added to the description.
“Disable chatbot”
The AI agent doesn’t book. Only a manager creates bookings.

How to check

Write in the chat on your site: “I’d like to book for tomorrow”. The AI agent offers free times. Pick one — the event appears in Google Calendar, and the conversation in the dashboard shows a Google Calendar block with the booking.

If it doesn’t work

“Before continuing enter Client ID and Client secret. Check the docs for more details.”
Fill in “Client ID” and “Client secret” and click “Synchronize” again.
Google shows a redirect error
The address from “Get configuration URL” isn’t added to the OAuth client. Add it and synchronize again.
The AI agent doesn’t offer times
Check “Scheduled office hours” and “Disable chatbot”. If “Active” was turned on after synchronizing, click “Synchronize” again.
No free slots
Reduce “Minimum booking time (minutes)” or increase “Max advance booking (days)”. Busy events in the calendar also block time.

There are no reminders to the customer before the visit. A customer can have only one upcoming booking: to change the time, the AI agent reschedules the existing one.

Was this article helpful?