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

2025-04-25

[Easy Setup] How to Automatically Connect Gmail Data to Gemini

y.katagiri-

It's a challenging task to sort through the large volume of emails received daily and determine which ones should be prioritized. Even if you try to be careful not to miss important emails, it can be difficult to completely prevent overlooking some. Additionally, spending time on low-priority emails can delay the tasks you should be focusing on.

<span class="mark-yellow">The solution to these issues is automation through the integration of Gmail and Gemini's API!</span>
With Gemini, an AI, analyzing the emails received in Gmail, you might be able to prevent missed responses and processing delays. Depending on the prompt, it can provide support based on the email content, increasing the likelihood of smoothly advancing your work!

In this blog, we will explain in detail the specific integration methods of Gmail and Gemini. If you want to reduce the time spent on email processing or introduce AI support into your work, be sure to check it out!

For Those Who Want to Try It Quickly

By utilizing the Flowbot template, you can quickly achieve the integration of Gmail and Gemini.
If you want to try it right away, click the banner below to get started!

What You Can Do by Integrating Gmail and Gemini 

By integrating the APIs of Gmail and Gemini, you can automatically transfer Gmail data to Gemini!
For example, you can automatically perform data transfers like the ones below without human intervention.

When an email is received in Gmail, categorize its importance in Gemini and assign it to the person in charge 

When an email is received in Gmail, it automatically categorizes its importance in Gemini and assigns it to the person in charge.
Since the importance is automatically categorized, organizing information becomes smoother.

Let's Create a Flow to Integrate Gmail and Gemini!

Let's get started by creating a flow that integrates Gmail and Gemini!

This time, we will use Yoom to proceed with the integration of Gmail and Gemini without any coding.
If you don't have a Yoom account yet, please create one from the Yoom registration form.

[What is Yoom]

This time, we will create a flow bot that transfers data to Gemini when a contact is registered in Gmail!
The creation process is broadly divided into the following steps.

  • Integrate Gmail and Gemini with My Apps
  • Copy the template
  • Set the trigger for Gmail and the action for Gemini
  • Set the trigger to ON and complete the preparation for flow operation

Step 1: Register Gmail and Gemini in My Apps

First, register in My Apps.

Click "Add" from "My Apps" on the left.

Integrate Gmail and Yoom

1. Search

Click the Gmail icon.

2. Sign In

Click the red frame.

3. Select Account

Select the account to integrate.

After confirming and agreeing, press Next.

4. Integration Complete

The screen will switch, and if the above display appears, the integration is complete.

Integrate Gemini and Yoom

1. Search

Click the Gemini icon.

2. Enter Account Name

Enter the account name and access token.
First, enter the account name. It is recommended to use an easily recognizable name such as a company name or person in charge.

3. Obtain API Key
The access token can be obtained from the Gemini API acquisition page.

After confirming the content and agreeing, check the box and press the "Continue" button at the bottom right.

Press the "Get API Key" button at the bottom of the screen.

Then press "Create an API Key".

The API key has been created. It is displayed in the red frame, so please copy it.

4. Enter

Return to the Yoom screen and enter the copied API key as the access token.
Once the required fields are entered, press Add at the bottom right.

5. Integration Complete

The screen will switch, and if the above display appears, the integration is complete.

Step 2: Copy Template

Now, let's actually create the flow!

First, copy the template. After
logging into Yoom
, click "Try it" on the banner below.

Once the copy is complete, the following screen will appear.

Click "OK" at the bottom right to proceed to the next step!

Step 3: Setting up to Retrieve Gmail Data

First, click inside the red frame.

When the following screen appears, check the content and proceed.
The trigger action is fine as "When an email with a specific label is received".

Next is the API connection settings.

※ The trigger can be set to activate at intervals of 5, 10, 15, 30, or 60 minutes.  
※ Please note that the shortest activation interval varies depending on the plan.

The trigger will activate when an email is received with the set label.
Therefore, please set the label for emails you want to prioritize in Gemini.

Then, send a test message with the specified label to Gmail, and press test.

If the test is successful, click save.

Step 4: Content Generation Settings

Next, click the red frame below.

After confirming the following screen, click "Next" to proceed.

Next is the API connection settings.

Please select a model from the candidates.

Enter "Prompt" with reference to the setting example.

The body text can be selected from the output of the test-sent Gmail data.

Enter "systemInstruction" with reference to the following input example.
If you are not a customer representative, a sentence like "AI Assist" written below the input field is also acceptable.

Step 5: Switch Settings

Click inside the red frame.

Check the switch conditions on the following screen, then click "Save" to proceed.

Step 6: Request for Assignment to a Person in Charge

Once the switch is complete, it will be displayed as follows.

※ Branching is a feature (operation) available with Mini Plan or higher. In the case of a free plan, the operation of the flow bot set will result in an error, so please be careful.
※ Paid plans such as Mini Plan offer a 2-week free trial. During the free trial, you can use apps and features (operations) that are subject to restrictions.

Next, click "Request Response to Person in Charge" in the red frame.
Start with the red frame on the far left.

Set the details of the response.
"Title" and "Person in Charge" are fine as they are.

For "Details of the Request for Response", please refer to the following setting example.
It is recommended to clearly state the body of the email as well. Select the body from the output.

This completes the setting for "Request Response to Person in Charge" on the far left.

Similarly, set the middle (Priority: Medium) and right (Priority: Low) in the same way.
The main idea is to change "Details of the Request for Response" according to the priority.

Step 7: Confirming Flow Automation

When the following screen appears, click "Turn on Trigger".

This completes all the settings!

Other Automation Examples Using Gmail and Gemini API

By utilizing the Gmail and Gemini API, various automations can be achieved!
How about the following automation examples?

Automation Examples Using Gmail

You can also achieve automatic forwarding to chat tools, automatic saving of attachments, and automatic email replies by integrating with CRM tools!

Automation Examples Using Gemini

In addition to summarization and image analysis, automatic posting on social media and integration with video sharing sites are also possible!

In Conclusion

<span class="mark-yellow">By integrating Gmail and Gemini APIs into your workflow, you can automate tasks such as sorting emails based on their content, generating reply messages, translating, and summarizing!</span>
If you can quickly complete tasks like email checking and responding, which used to take a lot of time, it will lead to improved work efficiency. This kind of automation will be especially helpful for customer support teams who handle numerous inquiries daily and sales representatives who need to communicate with clients regularly.

Moreover, since no programming is required for integration, it's easy to implement, and you can set it up smoothly without any specialized knowledge!
If you want to achieve work efficiency without hassle, register with Yoom now and create an automated workflow using Gmail and Gemini!

The person who wrote this article
y.katagiri-
I've been a writer for 8 years. I like writing. I will do my best to bring the appeal of Yoom to many people!
Tags
Gmail
Gemini
Automatic
Integration
Automation
AI
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