Quick overview
This workflow accepts a video URL from Telegram, sends it to the ElevenLabs Dubbing API to generate a dubbed version in a target language, then uploads the result to Blotato to publish it on YouTube and TikTok and confirms completion back in Telegram.
How it works
- Triggers when a Telegram bot receives a message containing a video link.
- Reads configuration values such as source/target language, speaker count, watermark/background-audio options, and default YouTube title and caption.
- Creates an ElevenLabs dubbing job for the provided source URL and periodically checks the job status until it is complete or failed.
- Stops with an error if ElevenLabs reports the dubbing job as failed.
- Downloads the dubbed video/audio file from ElevenLabs and uploads the binary file to Blotato to get a public media URL.
- Publishes the dubbed media to YouTube and TikTok via Blotato (marked as AI/synthetic media) and sends a success message back to the originating Telegram chat.
Setup
- Create a Telegram bot with BotFather, add a Telegram API credential in n8n, and select it for both the Telegram trigger and the Telegram notification step.
- Create an ElevenLabs API key and configure an HTTP Header Auth credential (for example header
xi-api-key) used by the three ElevenLabs HTTP requests.
- Install/enable the Blotato community node, add a Blotato API credential, and select your connected YouTube and TikTok accounts in the two publish steps.
- Update the Configuration values (target language, polling interval, YouTube title, and post caption) to match how you want posts to appear.
Additional info
Dub videos with ElevenLabs and publish them to YouTube and TikTok :