Localize text into multiple languages with Google Gemini, Gmail, and Sheets
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when someone submits an n8n form (“Localize my text”). Along the way it connects Gmail, Google Gemini Chat Model and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Localize my text”).
- One Item Per Language (Code): runs custom JavaScript code
- Loop Languages (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Email Body (Code): runs custom JavaScript code
- Translate with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Email All Translations (Gmail): uses Gmail
- Shape Translation (Code): runs custom JavaScript code
- Save Translation (Google Sheets): append
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick Overview This workflow collects text and a target language list from an n8n form, uses Google Gemini to localize the content for each language, saves each translation to Google Sheets, and then emails all translations together via Gmail. How it works 1.…