Demo mode: changes are disabled.

Skip to content

Google Calendar

Last updated

Let Deskply add every booking to Google Calendar: create the Google OAuth client, register its redirect addresses and add the keys.

What it does

A customer connects their Google account once. From then on every booking the agent makes, in chat or on the phone, goes into their calendar, and changes and cancellations follow it there. The agent also checks the calendar before it offers a time, so it does not double-book.

Create the OAuth client

  1. Create a project in the Google Cloud console

    Open the Google Cloud credentials, create a project and enable the Google Calendar API for it. How Google's sign-in works is in Google OAuth 2.0.

  2. Set up the consent screen

    Add your app name, your support email and the calendar scopes.

  3. Create an OAuth client of type “Web application”

    Under Authorized redirect URIs, add both addresses, each starting with the address of the web app (FRONTEND_URL):

    • /calendar/google/callback, for your customers' calendars
    • /admin/calendar/google/callback, for your own calendar

    For example https://app.example.com/calendar/google/callback. GOOGLE_USER_REDIRECT_URI and GOOGLE_REDIRECT_URI in the API override them; if you set them, they must point at these pages of the web app.

  4. Enter the client in the admin panel

    Paste the client ID and secret in the Google Calendar card under Settings → Integrations. The same client serves your calendar and your customers' calendars.

While the Google project is in testing, only the test users you list can connect. Publish the consent screen, and complete Google's verification, before your customers use it.

The Google Calendar part of the Integrations settings, with the redirect addresses and the client fields

Settings → Integrations: Google Calendar.

Connect a calendar

  • A customer: AI Agent → Availability → Google Calendar & Meet, then Connect.
  • You: Settings → Google Calendar in the admin panel. It holds the calls that leads book with you from a booking link.

As with Meta, the Connect link works once, for 30 minutes, and only for the account that started it. After Google's consent screen the connection finishes in the panel, with the session of the signed-in account, which must be the same one that clicked Connect: a short “Connecting Google Calendar” page finishes it, then opens AI Agent → Availability (or Settings → Google Calendar for you) and says how it went. Cancel on Google's screen shows “Google Calendar wasn't connected. Nothing was changed.” See When a customer connects.