Skip to main content

Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs

Workflow preview

Workflow preview
100%
Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs preview
Open on n8n.io

1. Workflow Overview

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 trans...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.set, @elevenlabs/n8n-nodes-elevenlabs.elevenlabs, n8n-nodes-browseract.browseract, n8n-nodes-base.telegram

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Madame AI Team | Kai.

Original n8n.io source

1.1 Workflow description

Title
Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs
Workflow name
Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs

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

  1. Receive Link: You send a YouTube video link to your Telegram bot.
  2. Extract URL: An AI Agent extracts the clean YouTube URL from your message.
  3. Scrape Content: BrowserAct executes a background task to fetch the video's transcript, description, and metadata.
  4. 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.
  5. Generate Audio: ElevenLabs synthesizes the translated text segments into natural-sounding speech.
  6. Deliver: The workflow sends the dubbed audio files and a translated summary post to your Telegram chat.

How to set up

  1. Configure Credentials: Connect your Telegram, BrowserAct, ElevenLabs, and Google Gemini accounts in n8n.
  2. Prepare BrowserAct: Ensure the YouTube Translator & Auto Dubber template is saved in your BrowserAct account.
  3. Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials.
  4. Set Language: Open the Define Language node to set your desired target language (default is "Spanish").
  5. Activate: Turn on the workflow.
  6. 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

  1. Change Voice: Open the Convert text to speech node and select a different ElevenLabs voice model.
  2. Add More Languages: Add logic to the Define Language node to let the user select a language via a Telegram menu.
  3. 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

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 - Validate inputs

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

Block 2 - Analyze user Input

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

Block 3 - Structured Output

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

Block 4 - OpenRouter Chat Model

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

Block 5 - Define Language

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

Block 6 - Convert text to speech

Type / Role
@elevenlabs/n8n-nodes-elevenlabs.elevenLabs - elevenLabs
Config choices
Version 1

Block 7 - Extract Youtube Transcript

Type / Role
n8n-nodes-browseract.browserAct - browserAct
Config choices
Version 1

Block 8 - Analyze Transcript and Generate Dub

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

Block 9 - Check Output

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

Block 10 - Send Summary Back to Bot

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Split Generated Dubbed Content

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

Block 12 - Send Dubbed Audio File

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Process Initialization Alert

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - User Sends Message to Bot

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 15 - Documentation

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

Block 16 - Step 1 Explanation

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

Block 17 - Step 2 Explanation

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

Block 18 - Step 3 Explanation

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

Block 19 - Sticky Note

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

Block 20 - Loop Over Generated Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

3. Summary Table

Workflow Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs
Complexity advanced
Nodes 20
Categories Content Creation, Multimodal AI
Author Madame AI Team | Kai
Published 01 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12361/12361.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 Translate and dub YouTube videos using BrowserAct, Telegram, Gemini & ElevenLabs do?

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 trans...

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.