Translate and localize multilingual content with DeepL and GPT-4o-mini
Needs changesWhat this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Initialize Translation Job (Edit Fields (Set)): sets 6 fields: jobId, sourceText, targetLanguages…
- Detect Source Language (Code): runs custom JavaScript code
- Split by Target Language (Split Out): splits a list into separate items
- Prepare Translation Request (Edit Fields (Set)): sets 1 field: currentTargetLang
- DeepL: uses DeepL
- Process Translation Result (Code): runs custom JavaScript code
- AI Quality Review (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Parse Quality Score (Code): runs custom JavaScript code
- Apply Localization (Code): runs custom JavaScript code
- Aggregate: combines items into one
…plus 4 more steps. See the full node list below.
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:
- AI Agent v1 (old agent modes) in AI Quality Review (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Quality Review (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - DeepL
n8n-nodes-base.deepL - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Aggregate
n8n-nodes-base.aggregate - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Translate and localize content using DeepL and GPT-4o-mini Managing high-quality translations across multiple languages often requires more than just machine translation; it requires cultural context and quality assurance. This workflow automates the entire…