> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/productivity/google-calendar.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Google Calendar

Google Calendar is a shared calendar service. Create and manage calendars and events, invite attendees, check free and busy times, and set sharing rules.

![Google Calendar logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-9ee992f093bc17aa1f939baf7a576e7198e7d240%2Fgoogle-calendar.png?alt=media)

|                    |                                                                                        |
| ------------------ | -------------------------------------------------------------------------------------- |
| **Category**       | [Productivity](https://docs.fastn.ai/connectors/catalog/productivity.md)               |
| **Website**        | [calendar.google.com](https://calendar.google.com)                                     |
| **Authentication** | OAuth 2.0                                                                              |
| **Slug**           | `googleCalendar`                                                                       |
| **On fastn.ai**    | [Embed Google Calendar in your product](https://fastn.ai/integrations/google-calendar) |

## Setup

Your customers sign in to Google Calendar through Fastn's own OAuth app, so nothing needs setting up first. To show your own app on the consent screen instead, add your OAuth app on the connector's **Auth** tab under **Manage providers**.

## Connect in Fastn

Your customers connect Google Calendar from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Google Calendar**.
2. Select **Connect** on the Google Calendar card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to Google Calendar and approve access in the window that opens.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Google Calendar's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Calendar To List</td><td><code>insertCalendarListEntry</code></td><td>Subscribes the signed-in user to an existing calendar by inserting it into their calendar list (Google Calendar calendarList.insert), e.g. a public holiday calendar or a colleague's shared calendar. Only changes the user's own list, not the calendar itself. Google scope: calendar.calendarlist (or calendar). Undo with Remove Calendar From List. Returns the new CalendarListEntry.</td></tr><tr><td>Create ACL Rule</td><td><code>createAclRule</code></td><td>Grant a user access to a calendar by creating an ACL rule.</td></tr><tr><td>Create Calendar</td><td><code>createCalendar</code></td><td>Create a new secondary calendar.</td></tr><tr><td>Create Event</td><td><code>createEvent</code></td><td>Create a new event on a calendar.</td></tr><tr><td>Create Event With Attendees</td><td><code>createEventAdvanced</code></td><td>Create a calendar event with the full Google Events.insert body, including attendees, Google Meet conferencing, recurrence, reminders and all-day dates - the fields the simpler Create Event action cannot express. Use Create Event for a plain timed event; use this when you need guests or any structured field. start and end are objects: pass dateTime (ISO 8601, with timeZone) for a timed event, or date (YYYY-MM-DD) for an all-day event, never both. WARNING: adding attendees makes Google email them unless sendUpdates is 'none'. sendUpdates defaults to 'none' here so nobody is notified by accident; set 'all' deliberately to send invitations. For a Google Meet link, set conferenceDataVersion to 1 and pass conferenceData.createRequest with a unique requestId.</td></tr><tr><td>Delete ACL Rule</td><td><code>deleteAclRule</code></td><td>Delete an ACL rule from a calendar.</td></tr><tr><td>Delete Calendar</td><td><code>deleteCalendar</code></td><td>Delete a secondary calendar. Cannot delete the primary calendar.</td></tr><tr><td>Delete Event</td><td><code>deleteEvent</code></td><td>Delete an event from a calendar.</td></tr><tr><td>Get ACL Rule</td><td><code>getAclRule</code></td><td>Get a specific ACL rule for a calendar.</td></tr><tr><td>Get Calendar</td><td><code>getCalendar</code></td><td>Get metadata for a calendar by ID.</td></tr></tbody></table>

<details>

<summary>View 22 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Get Colors</td><td><code>getColors</code></td><td>Get the color IDs and hex codes available for calendars and events.</td></tr><tr><td>Get Event</td><td><code>getEvent</code></td><td>Get a single event by ID from a calendar.</td></tr><tr><td>Get Event Instances</td><td><code>getEventInstances</code></td><td>List all instances of a recurring event.</td></tr><tr><td>Get Setting</td><td><code>getSetting</code></td><td>Get a specific user setting (e.g. 'timezone', 'dateFieldOrder', 'format24HourTime').</td></tr><tr><td>List ACL Rules</td><td><code>listAclRules</code></td><td>List access control rules for a calendar.</td></tr><tr><td>List Calendars</td><td><code>listCalendars</code></td><td>List all calendars in the authenticated user's calendar list.</td></tr><tr><td>List Events</td><td><code>listEvents</code></td><td>List events on a calendar. Use 'primary' as calendarId for the primary calendar.</td></tr><tr><td>List Settings</td><td><code>listSettings</code></td><td>List all user settings for the authenticated Google Calendar account.</td></tr><tr><td>Move Event</td><td><code>moveEvent</code></td><td>Move an event from one calendar to another.</td></tr><tr><td>Patch Event</td><td><code>patchEvent</code></td><td>Partially update an event. Only provided fields are changed.</td></tr><tr><td>Patch Event (advanced)</td><td><code>patchEventAdvanced</code></td><td>Change only the fields you send (start/end, attendees, title...). Fields you leave out keep their value, so attendees stay on a reschedule. Use this to reschedule; Update Event (PUT) replaces the whole event and clears attendees. sendUpdates is not sent unless set, so Google emails nobody by default.</td></tr><tr><td>Query Free/Busy</td><td><code>queryFreeBusy</code></td><td>Query free/busy information for a set of calendars and/or groups.</td></tr><tr><td>Query Free/Busy (multiple calendars)</td><td><code>queryFreeBusyMultiple</code></td><td>Free/busy for several calendars in one call. Pass items as a list of {id} (calendar ids or emails, e.g. [{"id":"primary"},{"id":"team@example.com"}]). Returns calendars keyed by id with their busy periods. For one calendar, Query Free/Busy also works.</td></tr><tr><td>Quick Add Event</td><td><code>quickAddEvent</code></td><td>Create an event from a natural-language text string (e.g. 'Lunch tomorrow at noon').</td></tr><tr><td>Remove Calendar From List</td><td><code>deleteCalendarListEntry</code></td><td>Unsubscribes the signed-in user from a calendar by removing it from their calendar list (Google Calendar calendarList.delete). The calendar and its events are not deleted; it just disappears from the user's list. Google scope: calendar.calendarlist (or calendar). Returns an empty body on success.</td></tr><tr><td>Stop Watch Channel</td><td><code>stopWatchChannel</code></td><td>Stop receiving push notifications for a watch channel.</td></tr><tr><td>Update ACL Rule</td><td><code>updateAclRule</code></td><td>Update the role of an existing ACL rule.</td></tr><tr><td>Update Calendar</td><td><code>updateCalendar</code></td><td>Update metadata for a calendar.</td></tr><tr><td>Update Calendar List Entry</td><td><code>patchCalendarListEntry</code></td><td>Changes how a calendar appears in the signed-in user's calendar list (Google Calendar calendarList.patch): display name override, color, hidden/selected flags and default reminders. Partial update: only the fields you send change. Does not modify the calendar itself. Google scope: calendar.calendarlist (or calendar). Returns the updated CalendarListEntry.</td></tr><tr><td>Update Event</td><td><code>updateEvent</code></td><td>Replace an event (full update). Fields you leave out are cleared, including guests: send the full attendees list to keep them. To change only some fields (e.g. reschedule) use Patch Event (advanced). sendUpdates is not sent unless set.</td></tr><tr><td>Watch Calendar Events</td><td><code>watchCalendarEvents</code></td><td>Register a push notification channel to watch for changes on a calendar's events.</td></tr><tr><td>Watch Settings</td><td><code>watchSettings</code></td><td>Registers a push notification channel that calls your HTTPS webhook whenever the signed-in user's Calendar settings change (Google Calendar settings.watch). Google scope: calendar.settings or calendar.settings.readonly (calendar/calendar.readonly also work). Stop the channel with Stop Watch Channel using the returned id and resourceId. Returns the Channel with id, resourceId and expiration.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Calendar Event Created or Updated</td><td><code>exists</code></td><td>A resource on the watched calendar was created or changed. X-Goog-Resource-State: exists. Google sends no event body - call listEvents with a syncToken or updatedMin to fetch what changed.</td></tr><tr><td>Calendar Event Deleted</td><td><code>not_exists</code></td><td>A resource on the watched calendar no longer exists (deleted). X-Goog-Resource-State: not_exists.</td></tr><tr><td>Channel Sync</td><td><code>sync</code></td><td>Sent once immediately after a watch channel is created, confirming the subscription is live. X-Goog-Resource-State: sync. Carries no calendar data.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/productivity/google-calendar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
