Translate and dub YouTube videos using BrowserAct, Telegrma & Gemini
This workflow transforms any YouTube video into a localized audio experience. It scrapes the video content, translates the transcript into your target language using AI, generates high-quality dubbed audio using ElevenLabs, and delivers the audio files and a summary directly to your Telegram chat.
Target Audience
Content creators, language learners, and educators looking to make video content accessible in multiple languages.
How it works
- Receive Link: You send a YouTube video link to your Telegram bot.
- Extract URL: An AI Agent extracts the clean YouTube URL from your message.
- Scrape Content: BrowserAct executes a background task to fetch the video's transcript, description, and metadata.
- Translate & Script: A specialized AI Agent (using Google Gemini) translates the transcript into your chosen target language (e.g., Spanish). It also segments the text into logical parts for dubbing.
- Generate Audio: ElevenLabs synthesizes the translated text segments into natural-sounding speech.
- Deliver: The workflow sends the dubbed audio files and a translated summary post to your Telegram chat.
How to set up
- Configure Credentials: Connect your Telegram, BrowserAct, ElevenLabs, and Google Gemini accounts in n8n.
- Prepare BrowserAct: Ensure the YouTube Translator & Auto Dubber template is saved in your BrowserAct account.
- Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
- Set Language: Open the Define Language node to set your desired target language (default is "Spanish").
- Activate: Turn on the workflow.
- Test: Send a YouTube link to your bot to start the dubbing process.
Requirements
- BrowserAct account with the YouTube Translator & Auto Dubber template.
- ElevenLabs account.
- Telegram account (Bot Token).
- Google Gemini account.
How to customize the workflow
- Change Voice: Open the Convert text to speech node and select a different ElevenLabs voice model.
- Add More Languages: Add logic to the Define Language node to let the user select a language via a Telegram menu.
- Change Output: Replace the Telegram output with a Google Drive node to save the audio files for later use.
Need Help?
Workflow Guidance and Showcase Video