Automate Multilingual Slack Communication (JA ⇄ EN) with Gemini 2.5 Flash — Workflow n8n

Élevé complexité🔗 Webhook24 nœuds🏷️ Miscellaneous👁 2 vuespar Tomohiro Goto

Aperçu

🧠 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

Nœuds utilisés

HTTP RequestCodeBasic LLM ChainGoogle Gemini Chat Model

Aperçu du workflow

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

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur webhook.

  2. 2

    Traitement

    Les données transitent par 24 nœuds, connecting chainllm, code, httprequest.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (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

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier automate-multilingual-slack-communication-ja-en-with-gemini-25-flash téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

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

Intégrations

chainllmcodehttprequestiflmchatgooglegeminirespondtowebhookswitchwebhook

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds24
Complexitéhigh
Déclencheurwebhook
Vues2
CatégorieMiscellaneous

Créé par

Tomohiro Goto

Tomohiro Goto

@taoo

Tags

chainllmcodehttprequestiflmchatgooglegeminirespondtowebhookswitchwebhook

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →

Related Miscellaneous Workflows