How to create automation with Google Drive

Google Drive: Integration Options
Google Drive
·
12/21/2022
·
5 min. read

In this article we consider the example of automation with Google Drive. Let's suppose we need to upload a file to Google Drive, update the file's metadata (e.g., title), and add a comment to the file.

Go to the Automations section and click the New button.

How to add Google Drive

Click on the Event filed and fill in the tab according to the sample on the screenshot.

  • App - AlbatoTest
  • Event - Test event
  • Click the Add a trigger button.

2022-12-21_14-45-27.png

Then add an action and fill in the tab as shown on the screenshot.

  • App - HTTP Request/Outgoing webhook
  • Action - Get file by URL
  • Here you need to create a new connection and enter URL, where the file you want to download is located.
  • Click the Add an action button.

2022-12-21_14-54-28.png

In this window, duplicate the link to the file.

2022-12-21_14-56-03.png

In the Automation Builder, click on the + icon and select the Action value.

2022-12-21_14-59-16 (2).png

Next, select an App - Google Drive, Action - Add File, and click the Add an action button.

2022-12-21_15-03-32.png

In the File field choose the File from Step 2 of the HTTP Request/Outgoing webhook.

Set a name for your file.

Click the Save button.

2022-12-21_15-09-53.png

Add the next step to the automation to update the file's metadata.

App - Google Drive, Action - Change file metadata by ID. Click the Add an action button.

2022-12-21_15-13-57.png

In The ID of the file field, select File ID From step 3 (Google Drive).

2022-12-21_15-15-44.png

Enter the name of the file in The Name of the File field. You can also add a short description.

2022-12-21_15-18-14.png

Let's add the last action that will leave a comment on the file. Click on the + icon in the Automation Builder. Fill it in: App - Google Drive, Action - Create a New Comment on a File. Click the Add an action button.

2022-12-21_15-21-24.png

In The ID of the File field, select The ID of the file from step 4 (Google Drive).

2022-12-21_15-23-11.png

In the plain text content of the Comment field, enter the text of the comment you want to add to the file.

Click the Save button.

2022-12-21_15-24-54.png

The completed automation will look like this. Don't forget to start it.

2022-12-21_15-27-53.png

As the result of the automation, the file located at the specified URL, will be uploaded to Google Drive with the new name and comment.

2022-12-21_15-50-36.png


Google Drive
HTTP Request

Related articles

Show more
Configuring outgoing HTTP requests
HTTP Request
5 min. read

Configuring outgoing HTTP requests

HTTP Request serves as a mechanism for event notifications, allowing data to be transferred from one system to another.

Google Drive: Connection Instructions
Google Drive
2 min. read

Google Drive: Connection Instructions

Google Drive - easy and secure access to your content - store, share and collaborate on files and folders from your mobile device, tablet or computer.

Stable Diffusion: Neural Network and Integration with Albato
Stable Diffusion
5 min. read

Stable Diffusion: Neural Network and Integration with Albato

In this article, we'll look at one of the popular models - Stable Diffusion - and how it can be integrated with other systems (e.g. Telegram) using Albato.

Want to learn automation tricks?
2 min. read

Want to learn automation tricks?

Explore what’s new in Albato: features, apps, and improvements

How to Connect Snowflake to Albato Using OAuth2
3 min. read

How to Connect Snowflake to Albato Using OAuth2

By connecting Snowflake to Albato you can streamline data flows across multiple business apps without manual effort.

How to Connect Apollo to Albato
3 min. read

How to Connect Apollo to Albato

Create integrations with Apollo in Albato to automate lead generation, streamline contact management.

AI Agent Useful Case Studies: Enhancing Business Operations
8 min. read

AI Agent Useful Case Studies: Enhancing Business Operations

In this article, you'll learn what AI agents are, how they work, and how they can add value through useful case studies in different niches from content and marketing to healthcare and retail.

How to Scale a Business with No Code
8 min. read

How to Scale a Business with No Code

In this article, you’ll learn how to scale a business with no code and choose the right tools for the job.

What Are White-Label Integrations for SaaS
7 min. read

What Are White-Label Integrations for SaaS

In this article, we explain what white-label integrations for SaaS are, explore their benefits and drawbacks.

Work Smarter, Not Harder
2 min. read

Work Smarter, Not Harder

Explore what’s new in Albato: features, apps, and improvements

In-house vs. Unified API vs. Embedded iPaaS: Key Differences & Best Use Cases
8 min. read

In-house vs. Unified API vs. Embedded iPaaS: Key Differences & Best Use Cases

In this article, you will learn the key differences between in-house integration development, Unified APIs and Embedded iPaaS to choose the best strategy for your SaaS product.

What the Ansoff Growth Matrix Is and How to Use It
8 min. read

What the Ansoff Growth Matrix Is and How to Use It

In this article, you will learn the definition of the Ansoff Growth Matrix, how it works, and how to use it for strategic planning in your business.