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 My Apps with Google Chat (OAuth)
Once the input is complete, click "Add".
2. How to register Slack
Next, click "New Connection" and search for Slack.

A permission request will be made from Slack, 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 a trigger to activate when a message is sent to a Google Chat space

Set the item "When a message is sent to a space" in the app trigger.

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 careful.
Enter the resource name of the space by referring to the annotation outside the box.
Once the above settings are complete, enter and send a sample message in Google Chat.
If the test is successful, the sample message you sent earlier will be reflected as output.
Once you confirm that the output is correctly reflected, save it.
Step 3: Translate Google Chat messages

Next, set the item "Translate".

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 box, and click "message content" within "When a message is sent to a space" to input {{message content}} in the text field for translation.
Once the settings are complete, conduct a test and save it if the output is obtained.
Step 4: Send the translation result to a Slack thread

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

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

Select the channel ID to post to from the dropdown.

The message can be set arbitrarily.
By setting it as shown in the image above, you can automatically retrieve the translation result of the Google Chat message and post it to Slack.
*How to set: Click inside the box, and click "Translation Result" within "Translate". "Translation Result" will be input in the message field.
When you conduct a test, a sample message will be sent to Slack.
Once you confirm that the translation result is correctly reflected, click "Save".

When all processes are set, the above screen will be displayed, so click "Turn on Trigger" to activate the flow bot.
This completes the flow bot "Translate messages posted on Google Chat and post the translated version to a Slack channel".