🎬 Translate YouTube video metadata into multiple languages with OpenAI
⚡ 167 views · 🎬 Content Creation & Video
💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.
Description
Quick overview
This workflow fetches a YouTube video’s title and description, uses OpenAI to translate them into multiple target languages, and updates the video’s YouTube localizations via the YouTube Data API, returning a YouTube Studio link to review the translations.
How it works
- Runs manually when you execute the workflow.
- Reads the configured YouTube video ID, default language, target languages, and OpenAI model.
- Fetches the video’s current metadata (including existing localizations) from YouTube.
- Removes the default language from the target language list and prepares the language-code keys required for the translation output.
- Sends the title and description to OpenAI and parses the response as structured JSON with a translated title and description per language code.
- Updates the video on YouTube by writing the translated metadata into the video’s localizations via a single YouTube API request.
- Outputs a YouTube Studio translations URL so you can review the updated localizations.
Setup
- Add YouTube OAuth2 credentials with permission to edit videos on the target channel.
- Add an OpenAI API key credential and choose a model name in the configuration.
- Set the
video_id,default_language, andtarget_languages(language name → language code) values in the Configuration step before running the workflow. - Ensure you understand that updating localizations overwrites any existing translations for the same language codes on the video.
Additional info
Translate YouTube video titles and descriptions to multiple languages with OpenAI
📥 Open full documentation on Notion
Need help customizing?
Contact me for consulting and support : Linkedin
MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.
🔗 Nodes Used
HTTP Request, YouTube, AI Agent, OpenAI Chat Model, Structured Output Parser
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File
