workflows.fit
Back to n8n workflows
n8n templateFreeBy Tomohiro Goto

Slack auto translator (JA ⇄ EN) with GPT-4o-mini

🧠 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. ⚙️ Feat...

DevelopmentCore NodesAILangchainUtilityWebhookRespond To WebhookCode
Loading interactive preview...

Template notes

🧠 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.