AI-Powered Auto-translate Google Slides Presentation to Any Language with Gemini
This workflow automates the **translation of Google Slides presentations** from **any languages**, while preserving the original formatting and slide structure. It leverages **Google APIs**, **AI translation (Gemini/PaLM)**, and modular execution for high flexibility and accuracy. **DISCLAIMER**: Texts are split by Google Slides APIs into small blocks, so the translation will not always be contextualized. --- ### **Key Benefits** * **Time-Saving**: Automates a typically manual and error-prone task of translating slides. * **AI-Powered Accuracy**: Uses Google Gemini to provide context-aware translations while respecting defined rules. * **Safe & Non-Destructive**: The original presentation is never modified - a new copy is always created. * **Precision**: Skips irrelevant text (e.g., emails, URLs, names) to avoid mistranslation. * **Modular & Scalable**: Uses subworkflows and batching, ideal for presentations with many slides. * **Layout Preservation**: Keeps the original design and formatting intact. --- ### **How it Works** 1. **Initialization**: - The workflow starts with a manual trigger (When clicking "Execute workflow"). - Set the language to translate (IMPORTANT: **format ISO-639**). - It duplicates a specified Google Slides presentation (Duplicate presentation) to create a new copy for translation, preserving the original. 2. **Slide Processing**: - The workflow retrieves slides from the copied presentation (Get slides from a presentation) and processes them in batches (Loop Over Items). - For each slide, text content is extracted (Extract text) using a custom JavaScript snippet, which identifies and collects text elements while retaining the slides `objectId`. 3. **Translation**: - The extracted texts are passed to a LangChain agent (Translation expert), which translates the content from Italian to English. The agent follows strict guidelines (e.g., skipping URLs, brand names, etc.). - The translated text is sent to the Translate Google Slides node, which replaces the original text in the presentation using the slides `objectId` for targeting. 4. **Execution Flow**: - The workflow includes delays (Wait 10 sec and Wait 3 sec) to manage API rate limits and ensure smooth execution. - The process repeats for each batch of slides until all content is translated. --- ### **Set Up Steps** 1. **Prerequisites**: - Ensure access to the source Google Slides presentation (specified by `fileId` in Duplicate presentation). - Set up Google OAuth2 credentials for Google Drive and Slides (nodes reference credentials like Google Slides account). - Configure the Google Gemini (PaLM) API credentials for the translation agent. 2. **Configuration**: - Update the `fileId` in the Duplicate presentation node to point to your source presentation. - Adjust the translation guidelines in the Translation expert node if needed (e.g., language pairs or exclusion rules). - Modify batch sizes or wait times (e.g., Wait 10 sec) based on API constraints. 3. **Execution**: - Run the workflow manually or trigger it via the Execute Workflow node from another workflow. - Monitor progress in n8n's execution log, as each slide is processed and translated sequentially. 4. **Output**: - The translated presentation is saved as a new file in Google Drive, with the filename including a timestamp (e.g., `NAME_PRESENTATION_{lang}_{timestamp}`). *Note*: The workflow is currently inactive (`active: false`); enable it after configuration. --- ### **Need help customizing?** [Contact me](mailto:info@n3w.it) for consulting and support or add me on [Linkedin](https://www.linkedin.com/in/davideboizza/).
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related AI workflows
- Launch Your First AI-Powered Chatbot with Actionable Tools$9.99
- Automate AI Video Creation and YouTube Upload with Google Sheets$14.99
- Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and Imaging$24.99
- Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPress$14.99
- Automate SEO Keyword Generation with ChatGPT from Google Sheets$3.99
- Email Agent$500.99
More from Davide
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.