Perform operations on events in Google calendar.


Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app include:

Event Management

  1. Get Event By Id

  2. Add Attendees To Event

  3. Remove Attendees From Event

  4. Delete Event

  5. Lookup Event

  6. Create Event

  7. Update Event


A. Create a Service Account:

  1. Open the Service accounts page.

  2. If prompted, select a project, or create a new one.

  3. Click add Create service account.

  4. Under Service account details, fill in the "Name", "ID", and "Description" of the service account, then click Create.

  5. Optional: Under Service account permissions, select the IAM roles to grant to the service account i.e. project owner, then click Continue.

  6. Optional: Under Grant users access to this service account, add the users or groups that are allowed to use and manage the service account.

  7. After the service account is created, open the service account, click on "Edit" then click "Add Key" under "Keys", then click "Create New Key".

  8. Then click on "Domain-Wide Delegation" and then tick "Enable G Suite Domain-wide Delegation".  

Your new public/private key pair is generated and downloaded to your machine; it serves as the only copy of the private key. You are responsible for storing it securely. If you lose this key pair, you will need to generate a new one.

B. Enable API & Services:

  1. Go to https://console.developers.google.com/

  2. Click on Enable API & Services

  3. Search for Admin SDK

  4. Enable Admin SDK API access

  5. Enable Admin SDK

C. Assign Oauth Scopes for Google API:

     Login to GSuite admin console using this link

  1. Go to Admin console Homepage 

  2. Then “Security” > “API controls” > Under “Domain wide delegation” section > “Manage Domain Wide Delegation” > Add ne

  3. Enter the client ID of the service account or OAuth2 client ID of the app/client ID of the service account credential which was created in Prerequisite(A). 

The client ID is present in the JSON file downloaded in Prerequisite(A) point 7.

  1. Under OAuth Scope, add each scope that the application can access, as mentioned in Prerequisites(D) below.

  2.  Click Authorize.

D. Oauth Scopes

https://www.googleapis.com/auth/calendar.readonly,  https://www.googleapis.com/auth/calendarhttps://www.googleapis.com/auth/calendar.events.readonlyhttps://www.googleapis.com/auth/calendar.events

App Installation Parameters

The first three parameters are present in the JSON file downloaded in Prerequisite(A) point 7

  1. Client Email 

  2. Private Key

  3. Private Key Id

  4. Email ID

Now that you've successfully installed the Google Calendar orchestration app, please have a look at the sample use case below to show how the app can be used efficiently.