Templates / Translate and localize multilingual content with DeepL and GPT-4o-mini

Translate and localize multilingual content with DeepL and GPT-4o-mini

Needs changes

by masahiro hanawa ✓ · 183 views · created 2025-12-15 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

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

  1. Initialize Translation Job (Edit Fields (Set)): sets 6 fields: jobId, sourceText, targetLanguages…
  2. Detect Source Language (Code): runs custom JavaScript code
  3. Split by Target Language (Split Out): splits a list into separate items
  4. Prepare Translation Request (Edit Fields (Set)): sets 1 field: currentTargetLang
  5. DeepL: uses DeepL
  6. Process Translation Result (Code): runs custom JavaScript code
  7. AI Quality Review (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  8. Parse Quality Score (Code): runs custom JavaScript code
  9. Apply Localization (Code): runs custom JavaScript code
  10. Aggregate: combines items into one

…plus 4 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsGmail

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.0Replace 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)

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…

Excerpt from masahiro hanawa's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.