π Slack auto translator (JA β EN) with GPT-4o-mini
β‘ 148 views Β· π Internal Wiki & Knowledge Base
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: γγγ«γ‘γ―orja: 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
HTTP Request, Webhook, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File