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