Skip to main content

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

Workflow preview

Slack auto translator (JA ⇄ EN) with GPT-4o-mini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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