Slack Auto Translator (JA ⇄ EN) with GPT-4o-mini

Go to Workflow
0 views
Built by Tomohiro Goto Tomohiro Goto
Created on June 13, 2026

Description

🧠 How it works
This workflow enables automatic translation in Slack using n8n and OpenAI.
When a user types /trans followed by text, n8n detects the language and replies with the translated version via Slack.

⚙️ Features
Detects the input language automatically
Translates between Japanese ↔ English using GPT-4o-mini (temperature 0.2 for stability)
Sends a quick “Translating...” acknowledgement to avoid Slack’s 3s timeout
Posts the translated text back to Slack (public or private selectable)
Supports overrides like en: こんにちは or ja: hello

💡 Perfect for
Global teams communicating in Japanese and English
Developers learning how to connect Slack + OpenAI + n8n

🧩 Notes
Use sticky notes inside the workflow for setup details.
Duplicate and modify it to support mentions, group messages, or other language pairs.

Nodes Used (3)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
OpenAI
@n8n/n8n-nodes-langchain.openAi