Automate Multilingual Slack Communication (JA โ‡„ EN) with Gemini 2.5 Flash โ€” n8n ์›Œํฌํ”Œ๋กœ

๋†’์Œ ๋ณต์žก๋„๐Ÿ”— Webhook24๊ฐœ์˜ ๋…ธ๋“œ๐Ÿท๏ธ Miscellaneous๐Ÿ‘ 2ํšŒ ์กฐํšŒ์ž‘์„ฑ์ž: Tomohiro Goto

๊ฐœ์š”

๐Ÿง  How it works
This workflow automatically translates messages between Japanese and English inside Slack โ€” perfect for mixed-language teams.
In our real-world use case, our 8-person team includes Arif, an English-speaking teammate from Indonesia, while the rest mainly speak Japanese.

Before using this workflow, our daily chat often included:
โ€œCan someone translate this for Arif?โ€
โ€œI donโ€™t understand what Arif wrote โ€” can someone summarize it in Japanese?โ€
โ€œI need to post this announ

์‚ฌ์šฉ๋œ ๋…ธ๋“œ

HTTP RequestCodeBasic LLM ChainGoogle Gemini Chat Model

์›Œํฌํ”Œ๋กœ ๋ฏธ๋ฆฌ๋ณด๊ธฐ

Slack Multilingual Assistant (Gemini 2.5 Flas
๐Ÿ”ง Three translation modes unified in one workflow:
1๏ธโƒฃ /trans โ€” Public bilingual announcements
โ€ƒโ€ƒFormat: ใ€from @userใ€‘ Original ---------- Translation
๐Ÿ”ง Create and Configure your Slack App (Trans
1๏ธโƒฃ Create App
โ€ƒโ†’ From scratch โ†’ Name it โ€œTransBotโ€ โ†’ Select your work
2๏ธโƒฃ Add Bot Token Scopes in OAuth & Permissions
โ€ƒโ€ข commands
โ€ƒโ€ข chat
๐Ÿ” Workflow Architecture
โ€ข Webhooks:
โ€ƒ โ€“ /slack/trans โ†’ Slash Command
โ€ƒ โ€“ /slack/mention โ†’ app_mention & reaction_added even
โ€ข Language Model: Google Gemini 2.5 Flash
โ€ข Logic:
๐Ÿšจ Common Errors & Fixes
โŒ invalid_auth
โ€ƒโ†’ Using an old token or bot not invited to channel
โ€ƒโ€ƒFix: Reinstall app / use latest xoxb token / `/invite
โŒ missing_scope
โ€ƒโ†’ A required scop
โœ… Workflow is Active in n8n
โœ… Slack Event Subscription Request URL shows โ€œVerified
โœ… Bot Token includes chat:write, channels:history, reac
โœ… /trans Slash Command responds with โ€œTran
modelmodelmodel
โšก
W
Webhook (Slack /trans)
โšก
A
Ack (Respond to Slack)
Parse Slash Payload
โšก
A
Ack Mention Event
Parse Mention Event
โšก
A
Ack Reaction Event
Parse Reaction Event
Fetch Original Message
Prep Reaction Translatioโ€ฆ
Google Gemini Chat Model
Basic LLM Chain (/trans)
Basic LLM Chain (@trans)
Basic LLM Chain (reaction)
Format Slack Message (/tโ€ฆ
Format Slack Message (@tโ€ฆ
Format Slack Message (reโ€ฆ
Post to Slack (response_โ€ฆ
Post to Slack (@trans reโ€ฆ
Post to Slack (reaction โ€ฆ
โšก
W
Webhook (Slack @trans + โ€ฆ
R
Route by Event Type
S
Skip Reaction When No Meโ€ฆ
Filter Reaction Type
Detect Slack Event Type
24 nodes24 edges

์ž‘๋™ ์›๋ฆฌ

  1. 1

    ํŠธ๋ฆฌ๊ฑฐ

    ์›Œํฌํ”Œ๋กœ๋Š” webhook ํŠธ๋ฆฌ๊ฑฐ๋กœ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

  2. 2

    ์ฒ˜๋ฆฌ

    ๋ฐ์ดํ„ฐ๊ฐ€ 24๊ฐœ์˜ ๋…ธ๋“œ๋ฅผ ํ†ตํ•ด ํ๋ฆ…๋‹ˆ๋‹ค, connecting chainllm, code, httprequest.

  3. 3

    ์ถœ๋ ฅ

    ์›Œํฌํ”Œ๋กœ๊ฐ€ ์ž๋™ํ™”๋ฅผ ์™„๋ฃŒํ•˜๊ณ  ๊ตฌ์„ฑ๋œ ๋Œ€์ƒ์— ๊ฒฐ๊ณผ๋ฅผ ์ „๋‹ฌํ•ฉ๋‹ˆ๋‹ค.

๋…ธ๋“œ ์„ธ๋ถ€ ์ •๋ณด (24)

HT

HTTP Request

httpRequest

#1
CO

Code

code

#2
BA

Basic LLM Chain

n8n-nodes-langchain.chainLlm

#3
GO

Google Gemini Chat Model

n8n-nodes-langchain.lmChatGoogleGemini

#4

์ด ์›Œํฌํ”Œ๋กœ ๊ฐ€์ ธ์˜ค๋Š” ๋ฐฉ๋ฒ•

  1. 1์˜ค๋ฅธ์ชฝ์˜ JSON ๋‹ค์šด๋กœ๋“œ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์›Œํฌํ”Œ๋กœ ํŒŒ์ผ์„ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
  2. 2n8n ์ธ์Šคํ„ด์Šค๋ฅผ ์—ด๊ณ  ์›Œํฌํ”Œ๋กœ โ†’ ์ƒˆ๋กœ ๋งŒ๋“ค๊ธฐ โ†’ ํŒŒ์ผ์—์„œ ๊ฐ€์ ธ์˜ค๊ธฐ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
  3. 3๋‹ค์šด๋กœ๋“œ๋œ automate-multilingual-slack-communication-ja-en-with-gemini-25-flash ํŒŒ์ผ์„ ์„ ํƒํ•˜๊ณ  ๊ฐ€์ ธ์˜ค๊ธฐ๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.
  4. 4๊ฐ ์„œ๋น„์Šค ๋…ธ๋“œ์— ๋Œ€ํ•œ ์ž๊ฒฉ ์ฆ๋ช…๏ผˆAPI ํ‚ค, OAuth ๋“ฑ๏ผ‰์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  5. 5์›Œํฌํ”Œ๋กœ ํ…Œ์ŠคํŠธ๋ฅผ ํด๋ฆญํ•˜์—ฌ ๋ชจ๋“  ๊ฒƒ์ด ์ž‘๋™ํ•˜๋Š”์ง€ ํ™•์ธํ•œ ํ›„ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค.

๋˜๋Š” n8n โ†’ JSON์—์„œ ๊ฐ€์ ธ์˜ค๊ธฐ์— ์ง์ ‘ ๋ถ™์—ฌ๋„ฃ๊ธฐ:

{ "name": "Automate Multilingual Slack Communication (JA โ‡„ EN) with Gemini 2.5 Flash", "nodes": [...], ...}

ํ†ตํ•ฉ

chainllmcodehttprequestiflmchatgooglegeminirespondtowebhookswitchwebhook

์ด ์›Œํฌํ”Œ๋กœ ๊ฐ€์ ธ์˜ค๊ธฐ

ํ•œ ๋ฒˆ์˜ ํด๋ฆญ์œผ๋กœ ๋‹ค์šด๋กœ๋“œ ๋ฐ ๊ฐ€์ ธ์˜ค๊ธฐ

JSON ๋‹ค์šด๋กœ๋“œn8n.io์—์„œ ๋ณด๊ธฐ
๋…ธ๋“œ24
๋ณต์žก๋„high
ํŠธ๋ฆฌ๊ฑฐwebhook
์กฐํšŒ์ˆ˜2
์นดํ…Œ๊ณ ๋ฆฌMiscellaneous

์ œ์ž‘์ž

Tomohiro Goto

Tomohiro Goto

@taoo

ํƒœ๊ทธ

chainllmcodehttprequestiflmchatgooglegeminirespondtowebhookswitchwebhook
โšก

n8n์„ ์ฒ˜์Œ ์‚ฌ์šฉํ•˜์‹œ๋‚˜์š”?

n8n์€ ๋ฌด๋ฃŒ ์˜คํ”ˆ์†Œ์Šค ์›Œํฌํ”Œ๋กœ ์ž๋™ํ™” ๋„๊ตฌ์ž…๋‹ˆ๋‹ค. ์ž์ฒด ํ˜ธ์ŠคํŒ…ํ•˜๊ฑฐ๋‚˜ ํด๋ผ์šฐ๋“œ ๋ฒ„์ „์„ ์‚ฌ์šฉํ•˜์„ธ์š”.

n8n ๋ฌด๋ฃŒ๋กœ ์‹œ์ž‘ํ•˜๊ธฐ โ†’

Related Miscellaneous Workflows