Skip to main content

Auto-Translate YouTube Video Content with Google Gemini AI

Workflow preview

Workflow preview
100%
Auto-Translate YouTube Video Content with Google Gemini AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

If you want to reach a wider audience, having your video titles and descriptions in multiple languages can help you connect with more viewers. This template provides the configuration needed to gen...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.youtube, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Lucio.

Original n8n.io source

1.1 Workflow description

Title
Auto-Translate YouTube Video Content with Google Gemini AI
Workflow name
Auto-Translate YouTube Video Content with Google Gemini AI

If you want to reach a wider audience, having your video titles and descriptions in multiple languages can help you connect with more viewers. This template provides the configuration needed to generate translations and update them directly on YouTube.

How it works

  • Defines Video ID and Languages You can get the ID from the video URL. If you’re unsure, click the Share button, it will provide the ID at between the "/" and the "?si="
  • Fetches video information As long as the workflow has the video ID, it can retrieve the video information, whether the video is published or not.
  • Check languages to translate If no default language is set in the video details, the workflow will assume "en" (English) as the default. To overwrite the default language, replace 'en' in line 2 of the code.
  • AI Agent Translator: You can improve results by refining the prompt. Feel free to experiment, just don’t change the formatting structure.
  • Updates Video Localization The API requires to send current default version again along with the translations in the Body.
  • Output URL returns the URL for the video’s localization. It may take a few seconds to appear—refresh and try again if needed.

⚠ The translation will overwrite any existing translations for the same language.

How to Use

  • (First time only) Set up credentials for your user.
  • Edit the node "Defines Video ID and Languages".
  • Click the Execute Workflow button.
  • Enjoy your translated video titles and descriptions!

More details can be found in the sticky notes under each node.

Requirements

To implement this workflow, you will need to configure credentials for the following nodes:

  • Fetch Video Information: YouTube Auth
    • This of course, assumes that you have a YouTube account.
    • The account creation and setup takes time, but luckily it's the only slow part, once done, you are good to go.
  • AI Agent Translator: Google Gemini (PaLM) API

Both credentials can be created directly inside the node by clicking it, then selecting “Create Credential to Connect With” and following the instructions provided by the n8n Assistant.

If you already have the credentials, simply select them!

No paid plan is required, free tiers are sufficient. Keep in mind the request limits if you extend or modify this workflow to do multiple videos at once.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 2 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 3 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 4 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Output URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Fetches video information

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 8 - Check languages to translate

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - AI Agent Translator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 10 - Updates Video Localization

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 14 - Defines Video ID and Languages

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Auto-Translate YouTube Video Content with Google Gemini AI
Complexity intermediate
Nodes 14
Categories Content Creation, Multimodal AI
Author Lucio
Published 12 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9543/9543.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-Translate YouTube Video Content with Google Gemini AI do?

If you want to reach a wider audience, having your video titles and descriptions in multiple languages can help you connect with more viewers. This template provides the configuration needed to gen...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.