File and Document Management

Google Drive

Document image


Google Drive is a cloud-based storage platform. With the Google Drive app in , you can manage your files, folder, or shared drives in your Google Drive account.

Requirements

To use the Google Drive app in , you must have a Google account.

's use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy.

Connect Google Drive and

To connect an email ending in @gmail or @googlemail, you need to create a custom OAuth client in the Google Cloud Platform and get your project client credentials to establish the connection in .

To create the connection:

1

Log in to your account, add a Google Sheets module to your , and click Create a connection.

If you add a module with an ​instant​ tag, click ​Create a webhook​​, then ​Create a connection​​.

2

Optional: In the Connection name field, enter a name for the connection.

3

Optional for Google Drive users with non-@gmail or @googlemail domains: Switch on the Show advanced settings toggle and enter your Google Cloud Platform project client credentials. For more information, see the Create and configure a Google Cloud Platform project for Google Sheets section.

4

Click Sign in with Google.

5

If prompted, authenticate your account, grant all requested permissions, and confirm access.

You've successfully created the connection and can now use the Google Drive app in your . If you want to make changes to your connection in the future, follow the steps here.

For @gmail users: Your connection needs to be reauthorized every six months. If you don’t reauthorize, your connection will stop working and your scenarios will fail.

To connect to using your own client credentials, you can create and configure a project in the Google Cloud Platform.

Create a Google Cloud Platform project for Google Drive

To create a Google Cloud Platform project:

1

Log in to the Google Cloud Platform using your Google credentials.

2

On the welcome page, click Create or select a project > New project. If you already have a project, proceed to the step 5.

Google Cloud Platofrm

3

Enter a Project name and select the Location for your project.

4

Click Create.

Select a project

5

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.

To create a new project or work in the existing one, you need to have the serviceusage.services.enable permission. If you don’t have this permission, ask the Google Cloud Platform Project Owner or Project IAM Admin to grant it to you.



Enable APIS for Google Drive

To enable the required APIs:

1

Open the left navigation menu and go to APIs & Services > Library.

2

Search for the following API: Google Drive API.

Google APIs

3

Click Gmail API, then click Enable. If you see the Manage button instead of the Enable button, you can proceed to the next step: the API is already enabled.

Configure your OAuth consent screen for Google Drive

To configure your OAuth consent screen:

1

In the left sidebar, click Google Auth Platform.

If you don't see Google Auth Platform in the left sidebar, click View all products at the top of it, then pin Google Auth Platform to the sidebar.

Google Auth Platform

2

Click Get Started.

3

In the Overview section, under App information, enter Make as the app name and provide your Gmail address. Click Next.

4

Under Audience, select External. Click Next.

For more information regarding user types, refer to Google's Exceptions to verification requirements documentation.

5

Under Contact Information, enter your Gmail address and click Next.

6

Under Finish, agree to the Google User Data Policy.

7

Click Continue > Create.

8

Click Create OAuth Client.

Create OAuth client

9

In the Branding section, under Authorized domains, add make.com and integromat.com. Click Save.

10

Optional: In the Audience section, add your Gmail address on the Test users page, then click Save and continue if you want the project to remain in the Testing publishing status. Read the note below to learn more about the publishing status.

11

In the Data Access section, click Add or remove scopes, add the following scopes:

https://www.integromat.com/oauth/cb/google-restricted

You can add scopes using:

  • A table with filters
  • A window to manually enter scopes:

Click Update.

12

Click Save.

Publishing Status

Testing: If you keep your project in the Testing status, you will be required to reauthorize your connection in Make every week. To avoid weekly reauthorization, update the project status to In production.

In production: If you update your project to the In production status, you will not be required to reauthorize the connection weekly. To update your project's status, go to the Google Auth Platform, the Audience section, and click Publish app. If you see the notice Needs verification, you can choose whether to go through the Google verification process for the app or to connect to your unverified app. Currently connecting to unverified apps works in Make, but we cannot guarantee the Google will allow connections to unverified apps for an indefinite period.

For more information regarding the publishing status, refer to the Publishing status section of Google's Setting up your OAuth consent screen help.

Create your Google Drive client credentials

To create your client credentials:

1

In Google Auth Platform, click Clients.

2

Click + Create Client.

Create Client

3

In the Application type dropdown, select Web application.

4

Update the Name of your OAuth client. This will help you identify it in the platform.

5

In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI:

https://www.integromat.com/oauth/cb/google/

Authorize redirect URI

6

Click Create.

7

Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.

You will use these values in the Client ID and Client Secret fields in .

Templates

You can look for Google Drive templates in Make's template gallery, where you'll find thousands of pre-created .

Google Drive resources