Gsuite

◷ Reading Time: 4 minutes

This extension automates Google Workspace (formerly known as G Suite) applications including : Google Calendar, Google Drive, Google Sheets, Gmail, and Google Docs.

Setup

Before using the extension, you must configure your applications using the Google Cloud Platform and follow the steps below.

1. Enable APIs – enables automation by granting API access to Google applications.
2. Create Credentials –  the authentication type use to interact with your enabled APIs.

Enable APIs

The steps below are based on Enable and Disable APIs in the Google API Console Help documentation.

1. Sign in to the Google Cloud Platform using your google account
2. On the landing page, select the project you want to use for your automation project.

If you do not have a project, create one by following the instructions in Creating and Managing Projects.

3. On the menu options, hover over APIs & Services then select Library.

4. From the API Library page, scroll down to Google Workspace.

The APIs supported by the GSuite Extensions are: Google Drive API, Google Calendar API, Gmail API, Google Sheets API, and Google Docs API.

5. Select an API you want to use and enable it.

Repeat this step for other APIs

Create Credentials

1. On the menu options, hover over APIs & Services then select Credentials.

2. From the Credentials page, click Create Credentials and select the type of credentials to be used for your application.

To know more about the differences between the credential types, see Authentication Overview in the Google Cloud documentation.

The Gsuite Extension Supports two credential types:

1. OAuth client ID allows you to use all Gsuite applications. However, this requires attended automation (happens once when Authenticating a specific Google account) as it will ask for user consent which is needed by the Gsuite Extension to access your account.

See User consent for more information.

See Setting up OAuth 2.0 for step-by-step instruction.

2. Service account key  is a special type of Google account that belongs to your application instead of an individual user. This credential is limited only for using the following: Google Drive, Google Sheets, and Google Docs.

See Understanding service accounts for more information.

Now that you have enabled APIs and created a credential, you can now start building automation projects that use the Gsuite extensions.

Toolbox

When the GSuite Extension is installed, the Toolbox will be updated for Workflow models.

Check Gsuite Commands for the full list and descriptions.

Updated on June 24, 2021

Was this article helpful?

Related Articles