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

# Google Calendar

> Connect Google Calendar to Rootly to schedule incident meetings from workflows, and import a calendar as a holiday feed for on-call schedules.

The Google Calendar integration connects Rootly with your Google Workspace so incident workflows can schedule calendar events, attach video meetings, and invite responders automatically. A Google Calendar can also be imported as a holiday feed to overlay company holidays on your on-call schedules.

With the Google Calendar integration, you can:

* Create Google Calendar events from incident workflows, with a video meeting attached
* Invite responders drawn from the incident's roles and teams
* Update an existing event's time, attendees, or duration as an incident evolves
* Import a calendar's iCal feed to overlay holidays on Rootly on-call schedules

## Before You Begin

Before setting up the integration, make sure you have:

* A Rootly account with admin permission to manage integrations
* A Google Workspace account, or a Google Cloud project if you are using a service account

> [!NOTE]
>
> Rootly recommends installing with a **service account** so the integration does not break if the installing user leaves your organization.

## Installation

Locate **Google Calendar** on the [integrations catalog](https://rootly.com/account/integrations) and click **Setup**.

![Google Calendar on the Rootly integrations catalog](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-1.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=2612570256a9199b6f8b883a9a88fb08)

You will be prompted to choose a connection method: OAuth credentials, or JSON file credentials.

![Choosing between OAuth and JSON credential connection methods](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-2.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=7c76ce28527ee815d469c9c25682dbde)

> [tab] OAuth (Recommended)
>
> Use this method for non-GCP service accounts. It is the simplest approach.
>
> > [!NOTE]
> >
> > To install as a shared identity rather than a personal one:
> >
> > 1. Create a Google account with a generic email (for example, `acme_rootly@company.com`).
> > 2. Log into that Google account in your browser.
> > 3. Add `acme_rootly@company.com` as a member of your Rootly organization.
> > 4. Follow the steps below while signed in as that account.
>
> **1. Start the integration**
>
> Click **Setup** to begin. You will be prompted to select a Google account.
>
> ![Google account selection prompt](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-3.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=86c0fd02fdc00ae59a229b13a8dce5de)
>
> **2. Grant Rootly permission**
>
> After selecting an account, grant Rootly permission to integrate with it.
>
> ![Google consent screen granting Rootly calendar access](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-4.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=92ee5e00dd8f437f4eb167f03e3275dc)
>
> Select **Allow**. You are redirected back to Rootly and the installation is complete.
>
> ![Completed Google Calendar installation in Rootly](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/installation/images-5.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=c51ab08058c96c82bc1d56a4b6caa454)

> [tab] GCP Service Account
>
> Use this method for GCP service accounts. See the [Google service account overview](https://cloud.google.com/iam/docs/service-account-overview) for background.
>
> **1. Create a service account**
>
> In the [Google Cloud console](https://console.cloud.google.com/), open **IAM & Admin**.
>
> ![IAM and Admin section of the Google Cloud console](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/installation/images-6.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=4a5313323bf5086a5a839ac5652fc864)
>
> Navigate to **Service Accounts** and click **Create Service Account**.
>
> ![Service Accounts page with the Create Service Account button](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/installation/images-7.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=2f490f368c69c0f543fe32008bb8381c)
>
> Fill in the service account details — the Service Account ID is generated automatically. Click **Done**.
>
> ![Service account details form](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/installation/images-8.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=bf2ab8c65ef3285e790a8dc7593a3cde)
>
> **2. Generate and download a JSON key**
>
> Open the **Keys** tab and click **Add a Key**.
>
> ![Keys tab of the service account](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/installation/images-9.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=fdfcadc7b782a198cb8d6f2e34310644)
>
> Create a key and download it in JSON format.
>
> ![Creating a JSON format service account key](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-10.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=f99dc16f5543496b7309e42d38f22258)
>
> **3. Upload the key to Rootly**
>
> Return to the Rootly integration page and upload the JSON file.
>
> ![Uploading the service account JSON key in Rootly](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-11.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=d4d10b1667b7ff8d73da4fcff39e6b60)
>
> **4. Configure domain-wide delegation**
>
> In [admin.google.com](https://admin.google.com/), go to **Security > API Controls > Domain Wide Delegation**. Select your service account and add these scopes:
>
> ```text theme={null}
> https://www.googleapis.com/auth/calendar.readonly
> https://www.googleapis.com/auth/calendar.events
> ```
>
> ![Domain-wide delegation scopes for the service account](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-12.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=e9d269c36b06e313d674c82cd0824a33)
>
> **5. Configure calendar sharing options**
>
> In [admin.google.com](https://admin.google.com/), go to **Google Workspace > Core Google Workspace** and select **Google Calendar**.
>
> Configure external sharing options for the primary calendar:
>
> ![External sharing options for the primary calendar](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-13.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=897cde141972a795fce2793209651989)
>
> Configure internal sharing options for the primary calendar:
>
> ![Internal sharing options for the primary calendar](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-14.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=87436a496aa6bc318207acf17f55ad15)
>
> **6. Share your calendar with the service account**
>
> Open your own calendar's settings and share it with the service account email, granting **Make changes to events** permission.
>
> ![Sharing a calendar with the service account email](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-15.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=47503b255336482131a65a4999952b0b)
>
> In the Rootly integration, enter the email of the user you want to schedule meetings as, then click **Save**.
>
> ![Entering the scheduling user email in the Rootly integration](https://mintcdn.com/rootly/7PwamMJIAOaYlZ7c/images/integrations/google-calendar/installation/images-16.webp?fit=max\&auto=format\&n=7PwamMJIAOaYlZ7c\&q=85\&s=e58b9fb760bb895e84eea608510a72bd)

## Workflow Actions

The Google Calendar integration uses workflows to schedule calendar events automatically. If you are unfamiliar with how workflows function, visit the [Workflows](https://docs.rootly.com/workflows/workflows.md) documentation first.

![Google Calendar workflow actions in the action picker](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-1.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=89e5e1998deff715af4467d768c72ee4)

> [!TIP]
>
> Use the [Incident Variable Explorer](https://rootly.com/account/help/liquid-explorer) to preview what Liquid variables return for your incidents.

### Create a Google Calendar Event

Schedules a new calendar event, optionally with a video meeting attached.

| Field | Description | Required |
| - | - | - |
| **Name** | Display name for this workflow action | |
| **Summary** | Event title. Defaults to `{{ incident.title }}`. Supports Liquid | Yes |
| **Description** | Event description. Supports Liquid | |
| **Attendees** | Attendee email addresses, entered directly or drawn from the incident | |
| **Conference Type** | Video meeting to attach to the event. Select **Hangout** to attach a Google Meet | |
| **Time Zone** | Time zone used to schedule the event | |
| **Days Until Meeting** | Number of days from now until the event | |
| **Meeting Duration** | Length of the event. Supports Liquid | |
| **Time of Meeting** | Start time, interpreted in the selected **Time Zone** | |
| **Slack Channels** | Slack channels to post the result to. Use `{{ incident.slack_channel_id }}` or `{{ parent_incident.slack_channel_id }}` | |

![Create a Google Calendar Event workflow action configuration form](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-2.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=b7289dd28f42bd1917f7b6e7e3187564)

![Selecting incident-derived attendees for a calendar event](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-3.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=10c1d1a1da5701c36f1621fe64972d0e)

### Update a Google Calendar Event

Updates an existing calendar event. Only the fields you specify are changed; unspecified fields keep their existing values.

| Field | Description | Required |
| - | - | - |
| **Name** | Display name for this workflow action | |
| **Event** | Calendar event ID to update. Defaults to `{{ incident.google_calendar_event_id }}`. Supports Liquid | Yes |
| **Summary** | Updated event title. Supports Liquid | |
| **Description** | Updated event description. Supports Liquid | |
| **Conference Type** | Video meeting to attach to the event | |
| **Attendees** | Updated attendees. Overwrites the existing list only when **Replace attendees** is checked | |
| **Adjustment** | Type of date-and-time adjustment to apply, if any | |
| **Adjustment Days** | Number of days by which to adjust the event, if any | |
| **Meeting Duration** | Updated event length. Supports Liquid | |
| **Time of Meeting** | Updated start time, interpreted in the selected **Time Zone** | |
| **Slack Channels** | Slack channels to post the result to | |

![Update a Google Calendar Event workflow action configuration form](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-4.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=070cfa26ea79b7db10c1ab0387c46b8c)

![Replace attendees option on the update event action](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-5.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=2d66560665280a6e2e247aa151d03c88)

![Date and time adjustment options on the update event action](https://mintcdn.com/rootly/PTQsS2VTzmCsSwYt/images/integrations/google-calendar/workflows/images-6.webp?fit=max\&auto=format\&n=PTQsS2VTzmCsSwYt\&q=85\&s=af4d7d572026d54c0c92663527e17a50)

## Importing a Google Calendar as a PTO Feed

The OAuth integration above is for event-based workflow actions. If your goal is instead to **overlay** holidays on your Rootly on-call schedules — for example, a shared team calendar tracking company holidays — no OAuth is required. Rootly accepts a Google Calendar's iCal URL as a holiday calendar feed.

> [!WARNING]
>
> Use the calendar's **Secret address in iCal format** for any calendar containing HR or PTO data. The secret address works without making the calendar publicly readable on the internet. Reserve the **Public address** for calendars that are already meant to be shareable, such as a company-wide holidays calendar.

**1. Open the calendar's settings**

In Google Calendar, hover over the calendar in the left sidebar, click the overflow menu, and choose **Settings and sharing**.

**2. Copy the iCal URL**

Scroll to the **Integrate calendar** section and copy the URL that fits your use case:

* For private or sensitive calendars, copy the URL under **Secret address in iCal format**. Treat this URL as a credential — anyone with it can subscribe to the calendar.
* For calendars already intended to be public (like company holidays), copy the URL under **Public address in iCal format**. This option requires the calendar to be set as public under **Access permissions**.

> [!WARNING]
>
> Do not use the **Embed code** or the **Public URL to this calendar**. Those are for embedding the calendar on a webpage and will not work as a feed. Only the iCal URLs end in `.ics`.

**3. Add the feed to Rootly**

In the Rootly dashboard, go to **On-Call → Schedules**, open the **Holiday calendars** dropdown, and select **Add a holiday calendar**. Paste the iCal URL, give the calendar a descriptive name, and save.

> [!TIP]
>
> For the full behavior of holiday calendars in Rootly — conflict highlighting, recurring events, multi-region setups — see [Adding a Holiday Calendar](https://docs.rootly.com/on-call/holiday-calendar.md).

## Uninstall

To remove the Google Calendar integration, open the integrations panel in Rootly and select **Configure > Delete**.

## Related Resources

* [Workflows](https://docs.rootly.com/workflows/workflows.md)
* [Adding a Holiday Calendar](https://docs.rootly.com/on-call/holiday-calendar.md)
* [Integrations overview](https://docs.rootly.com/integrations/overview.md)


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