Automate multilingual Slack communication (JA ⇄ EN) with Gemini 2.5 Flash
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Gemini Chat Model. It also calls slack.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Ack (Respond to Slack) (Respond to Webhook): sends the response back to the webhook caller
- Parse Slash Payload (Code): runs custom JavaScript code
- Detect Slack Event Type (Code): runs custom JavaScript code
- Basic LLM Chain: sends a prompt to an LLM, with model: Google Gemini Chat Model
- Route by Event Type (Switch): routes items into 2 branches
- Format Slack Message (/trans) (Code): runs custom JavaScript code
- Ack Mention Event (Respond to Webhook): sends the response back to the webhook caller
- Parse Mention Event (Code): runs custom JavaScript code
- Ack Reaction Event (Respond to Webhook): sends the response back to the webhook caller
- Parse Reaction Event (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if
From the author
🧠 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…