Auto-translate incoming Gmail emails to English with OpenAI GPT-3.5
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 8 nodes and runs on Gmail events. Along the way it connects Gmail.
How it runs
Trigger: On Gmail events.
- Normalize Email Data (Code): runs custom JavaScript code
- Detect Language (OpenAI) (OpenAI): create (chat)
- Need Translation? (If): checks a condition and branches into true / false
- Translate to English (OpenAI): create (chat)
- Prepare Translated Email (Code): runs custom JavaScript code
- Send Translated Email (Gmail): uses Gmail
- Add 'Translated' Label (Gmail): add labels
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Detect Language (OpenAI), Translate to English: replace with OpenAI node (AI section).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Detect Language (OpenAI), Translate to English | OpenAI node (AI section) |
Nodes used (5)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - OpenAI
n8n-nodes-base.openAi - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
🌍 Auto-Translate Incoming Emails to English This workflow automatically detects the language of every new Gmail email and translates non-English messages into English. The translated email is forwarded to your inbox with a clear "TRANSLATED" subject tag, and…