How to Utilize AI Operations

2024/10/24

How to integrate Google Chat and Slack to automatically translate messages posted in Google Chat and post the translation results to a Slack channel

y.matsumoto

Google Chat and Slack are essential tools for team communication.
However, when interacting with overseas teams or members who use different languages, language barriers can arise, potentially hindering smooth information sharing.
This article introduces a method to integrate Google Chat and Slack, where AI automatically translates messages posted in Google Chat and posts the translation results to Slack.
This method allows you to automate translation and notification tasks, improving translation consistency and accuracy.
We will clearly explain how to integrate Google Chat and Slack without coding to automate your work, so please take a look!

Benefit 1: Efficiency through Automation of Translation and Notification Tasks

By integrating Google Chat and Slack, you can automatically translate messages received in Google Chat and post them to Slack.
Especially if you have a high volume of message exchanges and spend a lot of time on translation tasks, automating translation and notification tasks can significantly reduce work time, allowing you to focus on more important tasks.
Additionally, smooth information sharing with team members who speak different languages can lead to quicker decision-making.

Benefit 2: Improved Consistency and Accuracy of Translations

Automating translation tasks allows for translations without relying on individual members' language skills, potentially achieving more consistent translations.
This ensures that the same terms and sentences are translated consistently, reducing interpretation discrepancies.
Even when industry-specific or technical terms are included, using AI can result in highly accurate translations, allowing for more precise information sharing.
This can reduce communication errors with team members who speak different languages, facilitating smoother project progress.

[About Yoom]

How to Create a Google Chat and Slack Integration Flow Using Yoom

From here, we will explain the procedure for creating a flow bot in Yoom that integrates Google Chat and Slack to "translate messages posted in Google Chat and post the translated version to a Slack channel."
By utilizing this flow, you can achieve the benefits introduced earlier.

The process consists of only 4 steps, making it easy to set up.

  1. Register Google Chat and Slack as My Apps
  2. Set a trigger to activate when a message is sent to a Google Chat space
  3. Set an action to translate Google Chat messages
  4. Set an action to send translation results to a Slack channel

〈Notes for Creating a Flow Bot〉
*AI features (translation functions) are available only in some paid plans, with a 2-week free trial available.

Click "Try it" on the banner below and fill out the Yoom registration form to complete the registration!
If you are already registered, please log in.

Now that the Yoom template is editable, let's proceed with editing the flow.

Step 1: Integrate Google Chat and Slack with My Apps

First, let's register Google Chat and Slack in Yoom's My Apps.

1. How to register Google Chat

*Integration with Google Chat is only possible with Google Workspace.
For details, please refer to here.

Click "+ New Connection" in My Apps and search for Google Chat.

Enter the Client ID and Client Secret.
Reference: How to register Google Chat (OAuth) in My Apps
Once the input is complete, click "Add".

2. How to register Slack

Next, click "New Connection" and search for Slack.

Slack will request permissions, so please select the Slack channel where you want to receive the translation results.
Once the selection is complete, click "Allow".

This completes the registration of Google Chat and Slack in My Apps!

Step 2: Set up a trigger to activate when a message is sent to a Google Chat space

__wf_reserved_inherit

Set up the app trigger for "When a message is sent to a space".


Ensure that the trigger action is "When a message is sent to a space" and proceed to the next page.

Select the trigger activation interval from 5 minutes/10 minutes/15 minutes/30 minutes/60 minutes.
*Note: The trigger activation interval may not be selectable depending on the plan, so please be aware.

Enter the resource name of the space by referring to the annotation outside the frame.

Once the above settings are complete, enter and send a sample message in Google Chat.
If the test is successful, the sample message you just sent will be reflected as the output.

Once you confirm that the output is correctly reflected, save it.

Step 3: Translate Google Chat messages

__wf_reserved_inherit

Next, set up the "Translate" item.

You can select the number of characters to translate and the type of GPT for the action.
Once the settings are complete, click "Next".

Set the text to be translated as shown above.
When a message is sent to a Google Chat space, you can automatically retrieve the "Message Content" and translate it.
*How to set) Click inside the frame, and click "Message Content" in "When a message is sent to a space", then {{Message Content}} will be entered in the field for the text to be translated.

Once the settings are complete, perform a test and save it if the output is obtained.

Step 4: Send the translation result to a Slack thread

__wf_reserved_inherit

Finally, set up the "Send a message to a thread" item.

__wf_reserved_inherit

Ensure that the action is "Send a message to a channel" and proceed to the next page.

__wf_reserved_inherit

Select the channel ID to post to from the dropdown menu.

The message can be set arbitrarily.
By setting it as shown in the image above, you can automatically obtain the translation result of the Google Chat message and post it to Slack.
*How to set) Click inside the frame, and click "Translation Result" in "Translate". {{Translation Result}} will be entered in the message field.

Perform a test, and a sample message will be sent to Slack.
Once you confirm that the translation result is correctly reflected, click "Save".

Once all processes are set, the above screen will be displayed. Click "Turn on Trigger" to activate the flow bot.
This completes the flow bot for "Translating messages posted on Google Chat and posting the translated version to a Slack channel".

Introduction of other automation examples using Google Chat and Slack

In addition to the flow introduced this time, Yoom offers many flow bots using Google Chat and Slack!
Here, we will introduce three recommended flow bots, so please make use of them as well.

1. A flow that automatically adds the content posted in a specific room on Google Chat to Google Sheets.
By utilizing this flow, there is no need to manually transcribe the posted content, which is expected to improve the efficiency of progress management.
Google Sheets can be used to create reports, making it possible to visualize the progress of projects.

2. This is a flow where ChatGPT automatically responds when a message is sent to a Google Chat bot.
By utilizing this flow, you can automate responses to frequently asked questions, reduce the burden on customer support staff, and shorten response times.
It may also lead to improved work efficiency by delegating tasks such as creating meeting minutes, translation, and information search to ChatGPT.

3. This is a flow that automatically retrieves information from a website daily and notifies Slack.
By utilizing this flow, you can automatically obtain website information using RPA and notify Slack, eliminating the need to manually perform information gathering tasks and improving work efficiency.

Summary

In this article, we introduced how to create a flow that integrates Google Chat and Slack, where AI automatically translates messages posted in Google Chat and posts the translation results to Slack.
By utilizing this flow, you can streamline your work and smoothly share information with team members who speak different languages.
At Yoom, it is possible to integrate various applications used in business, in addition to Google Chat and Slack.
Please feel free to try out any flow that interests you from our Flow Bot Template List.

The person who wrote this article
y.matsumoto
Until now, I have experienced sales and sales office work in the human resources industry. Based on my experience in my previous job, I feel that the problems faced by various companies can be reduced by “automating operations.” Through Yoom, we will continue to send out information on a daily basis so that we can solve your problems even a little bit!
Tags
Google Chat
Slack
Automation
Integration
Translation
Notification
Related Apps
App integration
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