Google DriveとGmailの連携イメージ
How to Integrate Applications

2024/7/31

How to Automatically Send Files Added to Google Drive via Gmail

a.ohta

現代のビジネスシーンでは様々なツールを複数用いて仕事をするのは当たり前ですよね。
ということは、Google Driveにファイルをアップロードして、Gmailでメッセージを送信して…と、アプリ同士を行き来するシチュエーションも必然的に増えます。
ひとつずつは大きなタスクではないものの、これを何度も繰り返すと総時間数は膨大になるかも...。
となれば、Google DriveとGmailを連携して、少しでも業務フローを簡単にしてみましょう!

今回は、Google Driveに新規でファイルやフォルダ作成→自動でファイルダウンロード→承認を依頼→そのファイルをGmailで送信する、というフローを自動化します。
この業務フローが自動化できれば、経理や人事の「承認が必要な書類をやり取りする業務」に革命が起きるかも?

‍こんな方におすすめ

  • Google Driveにファイルを保存するたびにGmailに添付して送りたい方。
  • Google DriveとGmailでの業務効率化を考えている方。
  • Google Driveに保存したファイルを確実にGmailで共有したい方。

今すぐに試したい方へ

本記事ではノーコードツール「Yoom」を使用した連携方法をご紹介します。
難しい設定や操作は必要なく、非エンジニアの方でも簡単に実現できます。
下記のテンプレートから今すぐに始めることもできるので、ぜひお試しください!

[What is Yoom]

How to Create a Workflow Integrating Google Drive and Gmail

Now, let's create a flow bot that "receives approval when a file is stored in Google Drive and sends the file via Gmail."
Using the domestic no-code tool Yoom, even those without programming knowledge can easily automate workflows!

Register for Yoom here. You can register easily in 30 seconds!

Official documentation about Yoom is here. Please take a look!

Instead of creating a flow bot from scratch, use a template with a pre-built flow. Yoom offers various templates, allowing you to create your desired flow bot without code instantly!

First, let's integrate Yoom with each app.
This is called "My App Integration." Integrating Google tools with My App is quick!

My App Settings

Click the template banner, and a "Try this template" button will appear at the bottom of the screen, so press it.
This will take you to the "My Project" page, where you can select "My Apps" from the menu on the left side of the screen!
   ↓

Click on the new creation at the top right! Enter "Gmail" in the search window, and the Gmail icon will appear, so click it.

On the Select Account page, click the Google account of the Gmail address to integrate with Yoom!
Next, you'll be taken to the Login to Yoom page, so press Next.
Finally, if a page appears saying Yoom is requesting additional access to your Google account, press Continue, and you're good to go!

Let's keep this momentum going and integrate Google Drive with My App!
Similarly, click on the new connection at the top right! Enter Google Drive and press the Google Drive icon.

When the above screen appears, press the red frame.
Next, you'll transition to the authentication screen, so make sure to allow all permissions.
Once authenticated, the Google Drive My App integration is complete.

This is also fast!! It's great that the integration finishes quickly…!

Once My App registration is complete, click the banner below to proceed. Next, we'll move on to setting up the flow bot.

Google Drive Trigger Settings

Once your app registration is complete, click on "My Projects" on the left side of the screen!
Enter the screen with the Google Drive icon labeled "[Copy] Receive approval when a file is stored in Google Drive and send the file via Gmail", and click edit in the top right corner.

     ↓

Click on "When a new file or folder is created" under the Google Drive logo, and you'll be taken to a page to select the linked account and action.
Since we are using a template created in Yoom, the necessary information is already entered, so click Next.

     ↓

__wf_reserved_inherit

     ↓
Once you set the trigger interval, click the test button just below! If it displays "Test Successful" in blue, click save.
The Google Drive trigger setup is now complete. Let's move on to the next step!
*The trigger can be set to activate at intervals of 5, 10, 15, 30, or 60 minutes, and the shortest activation interval varies depending on the plan.

File Download

Click on "Download Image File/PDF File" under the Google Drive logo!
As before, the necessary fields are already filled in, so click Next.

     ↓

The necessary content for the next page is also already entered. Using a template makes it so easy to create a flowbot, it's really convenient...!
Press test here as well, and if it displays "Test Successful" in blue, click save to confirm.

Request Approval

Next, click on the icon with the thumbs-up "Request Approval".
Surprisingly... the settings for this are already entered as well...!

If you want to change the text written in the approval details, feel free to modify it as you like. Also, if you want to change the approver, go ahead and change it.
If there are no issues, save as is! Moving along smoothly!

Gmail Settings

Finally, let's set up Gmail. Click on the Gmail icon "Send Email".
Once you transition to the email settings page, fill in the required fields.

The body text is already filled in, but as before, feel free to change it to any content you like!
Once you've completed the input, click Next.

     ↓

A test email screen will be displayed, so if there are no issues, try pressing test.
Once successful, the flowbot creation is complete. Well done!

Other Automation Examples Using Google Drive and Gmail

In addition to the integrations introduced today, various automations can be achieved by utilizing the APIs of Google Drive and Gmail.

If you find something interesting, please give it a try!

Automation Examples Integrating Google Drive and Gmail

When a file is uploaded to Google Drive, it can be sent as an attachment via Gmail without requiring an approval request.
Additionally, it is possible to send an email via Gmail when a new file is created in Google Drive, or to upload attachments received in Gmail to Google Drive.

Automation Example Using Google Drive

Notify Chat Tools When Files or Folders Are Created in Google Drive

Automatically notify Slack, Chatwork, etc., when files or folders are created in Google Drive.

Create a folder when a record is added to the database

When a record is added to Google Sheets or Notion, a folder is automatically created in Google Drive.

Upload files approved in the workflow to Google Drive

Automatically upload files approved in applications such as Jobcan Expense Management and Workflow to Google Drive.

Example of Automation Using Gmail

Add Received Content in Gmail to a Database

Automatically add the content received in Gmail to Google Sheets, kintone, etc.

Remind Calendar Events and Task Deadlines in Gmail

Automatically remind yourself of upcoming Google Calendar events and tasks nearing their deadlines in Asana through Gmail.

Send a Template Email via Gmail from the Lead Details Page

Send a template email with one click from customer management pages like Salesforce or HubSpot.

What You Can Do & Benefits of Integrating Google Drive and Gmail

1. Automatic Sending of Files and Folders
When files or folders are created in Google Drive, you can send them via Gmail.
Once this flow is automated, you no longer need to manually input emails each time!
This will save a significant amount of time for marketers who work at a fast pace and administrative staff who have a lot of detailed tasks to handle!

2. Smooth Notifications of File and Folder Creation/Updates
When files or folders are updated in Google Drive, you can also receive notifications via Gmail.
If updates are automatically notified, it can be said to be a perfect flow for documents with strict deadlines!
Even if you share Google Drive within a team, notifications are sent smoothly, so lags between team members are less likely to occur.
This is a very convenient feature when files are frequently exchanged.

Are There Disadvantages to Not Integrating?

If you do not integrate Google Drive and Gmail, you will have to manually exchange files and fill in the body of Gmail each time.
Because it is a simple task, it can be a very cumbersome flow in urgent situations.
There is also the possibility of input errors, and such simple tasks tend to be postponed, so automation is suitable.

Summary

Google Drive and Gmail, which anyone with a Google account can use, are easy to incorporate into work and intuitive to use, making them convenient!
Google Drive is easy to share, making it an indispensable tool for exchanging and storing files.

The flow introduced this time includes a single action of "requesting approval" before sending via Gmail, making it a highly practical flow bot for handling files that require the go-ahead from accounting, HR, or team leaders.
Be sure to incorporate it into your daily work to simplify tasks!

The person who wrote this article
a.ohta
After working as a general store manager, I started working from home as an SEO writer. Later, an outsourcing agreement was signed with a marketing startup for about 5 years. Surrounded by students at the University of Tokyo, I held a computer and spent my days studying various business terms and how to use SaaS tools. When I was a general store manager, time was taken over and over again by office work such as sales and inventory management, human resource management, and ordering, etc., and I was unable to serve customers and often missed sales times. Even when outsourcing, there are many detailed tasks such as input, etc., and “can't such monotonous tasks be automated?” I thought so, and I really sympathize with Yoom's vision!
Tags
Google Drive
Gmail
Automation
Integration
Automatic
Related Apps
App integration
No items found.
What is Yoom hyperautomation?
Conventional RPA can only automate simple repetitive tasks, and the setup process was very complicated.
With “hyperautomation,” which combines various technologies such as AI, API, RPA, and OCR, it is possible to automate many tasks that could not be realized until now more easily than before.
Don't Just Connect Apps—Automate Everything
Most tools simply connect one app to another, leaving the complex tasks to you. Yoom goes much further: From document creation and browser automation to OCR and generative AI, Yoom handles it all seamlessly in one platform.

Why settle for basic integrations? Streamline your entire workflow with Yoom’s powerful hyperautomation.
Learn more about Yoom
Helpful Materials
I understand Yoom! 3-piece set of materials
Download materials
Understand in 3 minutes! Yoom service introduction materials
Download materials
Find out by Before After! Yoom Case Study Collection
Download materials
See a list of useful materials