Gmail・Dify・Google Chatの連携イメージ
How to Integrate Applications

2025-04-17

How to automatically create a response with Dify and notify in Google Chat when an email is received in Gmail

s.miyamoto

When using multiple tools in daily operations, tasks can become complicated.
Especially in customer support teams, there are many instances of switching between customer response systems, search windows, internal chats, and more, which can lead to increased response times.
In this article, we will explain how to automatically generate responses to inquiry emails received in Gmail using Dify and notify Google Chat with the inquiry content and response proposal.
Implementing this system should greatly contribute to improving the efficiency of those who handle many emails in Gmail daily!
App integration can be easily implemented without programming, so please give it a try.

Recommended for

  • Customer support representatives who regularly use Gmail, Dify, and Google Chat but want to integrate them to reduce the hassle of customer support
  • Quality management personnel who want to reduce human errors in inquiry responses and maintain consistent response quality
  • Team leaders looking for efficient ways to handle inquiries during busy periods
  • Internal IT personnel who want to integrate multiple IT tools and automate business processes for efficiency

For those who want to try it immediately

In this article, we introduce the integration method using the no-code tool "Yoom."
No complicated settings or operations are required, and even non-engineers can easily achieve it.
You can also start immediately from the template below, so please give it a try!

[About Yoom]

How to Automatically Create Responses to Inquiry Emails Received in Gmail Using Dify and Notify via Google Chat

It is possible to achieve this by receiving inquiry emails in Gmail using the Gmail API, and then automatically generating responses using the API provided by Dify. Additionally, by using the API provided by Google Chat, you can notify Google Chat of the inquiry content and the automatically generated response. Generally, programming knowledge is required to achieve this, but with the no-code tool Yoom, it can be easily accomplished without programming knowledge. This time, we will create it through the following major processes.

  • Integrate Gmail, Dify, and Google Chat with My Apps
  • Copy the template
  • Set triggers in Gmail and set actions in Dify and Google Chat
  • Set the trigger to ON and complete the flow operation preparation

If you are registered with Yoom, please log in. If you are not registered, please proceed with the settings after registering for free.

Now, let's explain how to use the no-code tool Yoom to automatically create responses to inquiry emails received in Gmail using Dify and notify via Google Chat.

Step 1. Integrate Gmail, Dify, and Google Chat with My Apps

First, integrate Gmail, Dify, and Google Chat with My Apps. After logging into Yoom, click "My Apps" on the left side of the screen, search for Gmail from "+ New Connection," and click it.

Click "Sign in with Google."

Select the account you want to use or sign in with a different account.

When "Log in to Yoom" is displayed, click "Next."

On the next page, grant access. Click the checkbox under "Select the information Yoom can access" and click "Continue" at the bottom right of the screen. This completes the Gmail My Apps integration.

Next, search for Dify.

For detailed instructions on Dify My Apps integration, please check here. Set any name for "Account Name." Set the API key issued by Dify for "Access Token." Once all settings are complete, click "Add" to complete the Dify My Apps integration.

Next, search for Google Chat. Note: Integration with Google Chat is only possible with Google Workspace. For details, refer to here. If two apps appear in the search results, click Google Chat (OAuth).

Next, click "Sign in with Google."

Enter "Client ID" and "Client Secret" and click "Register." Note: Integration with Google Chat (OAuth) is explained here. This completes the Google Chat My Apps registration.

Next, let's copy the flow bot template. Log in to Yoom and click "Try it" on the banner.

When the message "Template has been copied!" appears, click "OK" to complete the copy.

Step 2. Set up Gmail Trigger

Next, set up the Gmail trigger.
Click "When an email with a specific label is received".

Next, check the "Account information to integrate with Gmail".
You can freely edit the title, but do not change the trigger action, and click "Next".

Set up the API connection.
The "Trigger interval" can be set to 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes.
※ Please note that the shortest trigger interval varies depending on the plan.

For "Label", click the field and select a label from the displayed options.
Once the setup is complete, click "Test" and check if the email details are displayed in the output.
If the email information is displayed correctly, click "Save".

Step 3. Set up Dify Action

Next, set up the Dify action. Click "Send chat message".

Edit the title as desired and check the account information, then click "Next".

Set the message content to be sent to Dify.
For "query", click the field and select 'Body', which is the inquiry content, from the displayed options.
For "user", enter a half-width numeric value (any identifier) as per the annotation.
Once the setup is complete, click "Test" and check if the information is displayed correctly in the output.
If there are no issues, click "Save".

Step 4. Set up Google Chat Action

Next, set up the Google Chat action.
Click "Send message".

Edit the title as desired and check the account information, then click "Next".

For "Space resource name", click the field and select a space from the options, or refer to the annotation and quote the resource name from the Google Chat URL.
The "Message content" can be edited as desired. This time, we set a message that includes the email subject and body, as well as the response content from Dify.
Once the setup is complete, click "Test" to check if the message is sent to Google Chat.
After confirming the message is sent, click "Save".

Click "Turn on trigger" to complete the flow setup.
Now, when an inquiry email is received in Gmail, the response content will be automatically created in Dify, and a notification will be sent to Google Chat.

Examples of Automation Using Gmail, Dify, and Google Chat

In addition to the flow introduced this time, you can achieve various business automations by utilizing the APIs of Gmail, Dify, and Google Chat.
All of them can be used with simple settings, so if you find something interesting, please give it a try!

Examples of Automation Using Dify

Create a Response with Dify and Notify When an Inquiry Email is Received in Outlook

By notifying communication tools after a response proposal is quickly created, it will lead to an improvement in response speed.

When there is an inquiry via Google Forms, create a response in Dify and send a notification

By streamlining the process of creating and reviewing responses, customer service is expected to become more efficient.

Example of Automation Using Gmail

Read Business Card Images Received in Gmail with OCR, Add Data to kintone, and Send a Thank You Email

You can automatically register data to kintone and send a thank you email based on business card images attached to received emails in Gmail.

Extract Information from Inquiry Emails, Reply with Gmail, and Store in Notion

This is a flow bot that uses AI operations to extract necessary information from emails, send a temporary reply with Gmail, and automatically store the information.

Automation Example Using Google Chat

Register Information When Posted on Google Chat

It eliminates the hassle of transcribing messages from Google Chat, leading to a reduction in work time.

Transcribe Content and Notify on Google Chat

This flow uses AI capabilities to transcribe and summarize (create minutes) and notify on Google Chat.
It also helps reduce the workload of transcription and information sharing tasks.

Benefits and Examples of Integrating Gmail with Dify and Google Chat

Benefit 1: Reduction in Response Time and Effort

By automatically generating response content with Dify for inquiry emails received in Gmail and notifying it via Google Chat, you might reduce the manual work of customer support representatives.
Furthermore, since the generated response content is notified in Google Chat, representatives can simply review and make adjustments before replying.
This can shorten response times in situations where quick action is required, potentially improving customer satisfaction.
For example, promptly responding to urgent inquiries or emails from important clients is expected to strengthen trust relationships.

Benefit 2: Reduction of Human Errors and Standardization of Response Quality

By using Dify to automatically generate response content for Gmail inquiries, you should be able to reduce human errors such as typos and omissions that often occur when representatives manually create responses.
Additionally, since Dify creates responses based on pre-set templates and rules, a consistent quality can be maintained regardless of which representative handles the inquiry.
This is particularly effective for support teams with multiple representatives handling inquiries or when dealing with complex issues!
For example, even for detailed inquiries about product specifications, it is expected that accurate information can be provided quickly.

Benefit 3: Streamlining Operations and Optimizing Resources

By integrating Gmail, Dify, and Google Chat, automating response creation and notifications may reduce the working hours of representatives.
As a result, the freed-up time can be allocated to other important tasks or customer interactions.
This is especially beneficial when handling a large number of inquiries or during busy periods when staff is limited, as operational efficiency can be expected to improve.
For instance, even when inquiries flood in during a new product release, leveraging app integration can contribute to enhancing the overall productivity of the organization.

Conclusion

In this article, we introduced a method to streamline email responses by integrating Gmail with Dify and Google Chat.
By implementing this system, it is anticipated that the automation of response creation and notifications, which were previously done manually, will shorten response times while maintaining quality.
Especially during periods with a high volume of inquiries or when time and human resources are limited, you will be able to respond quickly and accurately.

Yoom's app integration can be easily implemented without programming. Take this opportunity to experience the efficiency improvements brought by automation!

The person who wrote this article
s.miyamoto
I have approximately 5 years of experience in the customer success industry for foreign companies. We will continue to disseminate useful content on a daily basis based on field issues cultivated from various standpoints, such as operators and managers. Using Yoom, we will continue to deliver content that can be used in the field, such as hints to improve the customer experience!
Tags
Gmail
Dify
Google Chat
Automation
Integration
Automatic
Notification
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