Google Calendar
With Google Calendar modules in Make, you can manage events and calendars in your Google Calendar account.
To use the Google Calendar modules, you must have a Google account. You can create an account at accounts.google.com.
Refer to the Google Calendar API documentation for a list of available endpoints.
Connect Google Calendar to Make
To establish the connection in Make:
Log in to your Make account, add a Google Calendar module to your scenario, and click Create a Connection.
Optional: In the Connection name field, enter a name for the connection.
Optional: Switch on the Show advanced settings and enter your Google Cloud Platform Project client credentials. See the Create and configure a Google Cloud Console project for Google Calendar section below.
Click Sign in with Google and select your Google account.
If prompted, authenticate your account and confirm access.
You have successfully established the connection. You can now edit your scenario and add more Google Calendar modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.
Note
You may receive a connection error if your Google account has multiple APIs enabled in Google Cloud Platform. If so, create a new Google Cloud Platform Project and try to establish the connection again. See the Create and configure a Google Cloud Console project for Google Calendar section below for more information.
To connect to Make using your own client credentials, you can create and configure a project in the Google Cloud Console.
Create a Google Cloud Console project for Google Calendar
To create a Google Cloud Console project:
Log in to Google Cloud Console using your Google credentials.
In the top menu, click Select a project > New project.
Enter a Project name and select the Location for your project.
Click Create.
In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.
Enable APIs for Google Calendar
To enable the required API:
Open the left navigation menu and go to APIs & Services > Library.
Search for and enable the following API: Google Calendar API.
Configure your OAuth consent screen for Google Calendar
To configure your OAuth consent screen:
In the left sidebar, click OAuth consent screen.
Under User Type, select External.
For more information regarding user types, refer to Google's Exceptions to verification requirements documentation.
Click Create.
Fill in the required fields with your information.
For Authorized domains, add
make.com
andintegromat.com
.Click Save and Continue.
On the Scopes page, click Add or Remove Scopes, add your desired scopes, and click Update.
Click Save and Continue.
Optional: If your project will remain in the Testing publishing status, add test user emails on the Test users page, then click Save and continue.
Create your Google Calendar client credentials
To create your client credentials:
In the left sidebar, click Credentials.
Click + Create Credentials > OAuth Client ID.
In the Application type dropdown, select Web application.
Update the Name of your OAuth client. This will help you identify it in the console.
In the Authorized redirect URIs section, click +Add URI and enter the following redirect URI:
https://www.integromat.com/oauth/cb/google/
.Click Create.
Copy your Client ID and Client Secret and store them in a safe place.
You will use these values in the Client ID and Client Secret fields in Make.
Build Google Calendar Scenarios
After connecting the app, you can perform the following actions:
Watch Events
Search Events
Get an Event
Create an Event
Note: For the Send notifications about the event creation field, the None option should only be used for migration use cases.
For the Recurrence field, DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events.
For adding Google Drive file attachments, use the same format as in
alternateLink
property of the Files resource in the Drive API.Duplicate an Event
Update an Event
Delete an Event
List Calendars
Get a Calendar
Create a Calendar
Update a Calendar
Delete a Calendar
Clear a Calendar
List Access Control Rules
Get an Access Control Rule
Create an Access Control Rule
Update an Access Control Rule
Delete an Access Control Rule
Make an API Call
Get Free/Busy Information
Common Problems
It is possible to trigger a scenario a specified amount of time before an event with the help of standard Google Calendar email reminders and the Webhooks > Custom mailhook module.
Use the Google Calendar > Update an event module to add an email reminder to your event:
Create a new scenario starting with the Webhooks > Custom mailhook module. Copy the mailhook's email address. Save the scenario and execute it.
In Gmail, redirect the Google Calendar email reminders to the mailhook's email address:
Open your Gmail settings.
Open the Forwarding and POP/IMAP tab.
Click Add a forwarding address.
Paste the copied mailhook's email address, press "Next", confirm by pressing "Proceed" in the popup window and close the dialog by pressing "OK".
In Make, switch to the new scenario which should finish its execution by receiving the confirmation email.
Click the bubble above the module to inspect the module's output.
Expand the
Text
item and search for the Confirmation code:Copy the Confirmation code.
In Gmail, paste the Confirmation code in the edit box and click Verify:
Open the Filters and Blocked Addresses tab.
Click Create a new filter:
Set up a filter for all emails coming from
[email protected]
and click Create filter:Tick the "Forward it to:" checkbox and choose the mailhook's email address from the list:
Click Create filter.
In Make, you can add the Text parser > Match pattern module after the Webhooks > Custom mailhook module to parse the email's HTML code and obtain any information you need. For example, you can configure a module like this to obtain the event's ID:
Pattern:
<meta itemprop="eventId/googleCalendar" content="(?<evenitID>.*?)"/>
Text: The
HTML content
item output from the Webhooks > Custom mailhook module:
Both modules are deprecated. To iterate desired values, please use the Flow Control > Iterator module.