Auto-Translate YouTube Video Content with Google Gemini AI
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model and YouTube. It also calls googleapis.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Defines Video ID and Languages (Edit Fields (Set)): sets or maps fields
- Fetches video information (YouTube): get (video)
- Check languages to translate (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- Updates Video Localization (HTTP Request): calls googleapis.com (PUT)
- Output URL (Edit Fields (Set)): sets 1 field: URL
Services it uses
HTTP calls to: googleapis.com
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 (9)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - YouTube
n8n-nodes-base.youTube - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
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…