Step 3: Setting Up Integration Between Slack and AI Tools
1) Click on the "Try this template" icon of the previously introduced template to copy it to your project.

2) The following display will appear.

Follow the instructions and click on the flow icons with "!" on the right in order, and edit them.
Titles and details can be changed by clicking on them.
Please modify them for ease of use.

3) Click on "App Trigger: When a new message is posted in the channel".

4) Select the trigger action "When a new message is posted in the channel" and click "Next".

5) Select the trigger interval and channel ID, then click "Test".
If the app is registered, you can select the channel ID from the options.
If the test is successful, click "Save".
* The trigger interval can be set to 5, 10, 15, 30, or 60 minutes. Note that the shortest interval varies depending on the plan.

6) Return to the flow and click on the "Translate" icon.

7) Select the action "GPT3.5 | Translate text within 3,500 characters (4 tasks)" and click "Next".

8) Enter the text to be translated.
You can reference the output information from the previously linked Slack, so please quote {{message content}} from the options.
Once entered, click "Test" and if the test is successful, click "Save".

9) Return to the flow and click on the "Integrate with App: Send a message to the thread" icon.

10) Select the action "Send a message to the thread" and click "Next".

11) Enter each item.
Please quote and enter the timestamp from the output information of the previously linked Slack.
Create the message by quoting {{translation result}} from the output information of the translation.
Once entered, click "Test" and if the test is successful, click "Save".



12) This completes the flow of 【Translating messages posted on Slack and posting the translated version back to Slack】.
Step 4: Testing and Verification
13) Once the setup is complete, the following display will appear, so click "Turn on Trigger". Start the flow bot and verify that it operates correctly once.

Here is the template used this time!