YouTube to telegram summary bot with Decodo & Gemini AI

Go to Workflow
421 views
Built by Khairul Muhtadin Khairul Muhtadin
Created on November 23, 2025

Description

Stop watching, start knowing. This n8n workflow is your personal "TL;DW" (Too Long; Didn't Watch) assistant. It pulls YouTube transcripts with Decodo, analyzes them with Google Gemini, and sends a detailed summary straight to Telegram.

Last updated: September 2026.

Why You Need This
Save Time:** Turn a 2-hour video into a 5-minute read (95% faster).
Don't Miss a Thing:** Key points, chapters, tools mentioned, and quotes you would miss while skimming.
Instant Results:** A structured summary in Telegram within 30-60 seconds.
Multi-Language:** Works with any video language that has YouTube captions.

Who Is This For?
Creators & Marketers:** Check competitor strategies and extract tools without watching endless footage.
Students:** Turn lecture recordings into instant study notes.
Busy Pros:** Digest conference talks and webinars on the go.

How It Works
Send Link: You message a YouTube link to your Telegram bot.
Scrape: The bot uses the Decodo API to grab the video transcript and metadata (views, chapters, etc.).
Analyze: Google Gemini reads the text and writes a structured summary (overview, takeaways, tools).
Deliver: You receive the formatted summary in chat.

Setup Guide

What You Need
n8n instance** (to run the workflow)
Telegram Bot Token** (free via @BotFather, tutorial)
Decodo API** (for YouTube data - Get it here)
Google Gemini API Key** (for the AI - Get it here)

Quick Installation
Import: Load the JSON file into your n8n instance.
Credentials: Add your API keys for Telegram, Decodo API, and Google Gemini in the n8n credentials section.
Configure:
In the "Alert Admin" node, set the chatId to your Telegram User ID (find it via @userinfobot).
(Optional) Change the languageCode in the Config node if you want non-English transcripts.
Test: Send a YouTube link to your bot. You should see a "Processing..." message followed by your summary!

Troubleshooting & Tips
"Not a YouTube URL":** Make sure you are sending a standard youtube.com or youtu.be link.
No Transcript:** The video must have captions (auto-generated or manual) for this to work.
Customization:** You can edit the AI Prompt in the "Generate TLDR" node to change how the summary looks (e.g., "Make it funny" or "Focus on technical details").

Quick Answers
How fast is the summary?
30-60 seconds after you send the link, with a "Processing..." message in between.
Does it work in my language?
Yes, as long as the video has captions. Set languageCode in the Config node for non-English transcripts.
What if there is no transcript?
It needs captions (auto or manual). Videos without any captions cannot be summarized.

Made by: khmuhtadin
Category: AI-Powered Automation
Tags: YouTube, AI, Telegram, Summarization, Decodo, Gemini
Need custom workflows? Contact me

Connect with the creator:
Portfolio • Workflows • LinkedIn • Medium • Threads

Additional info
Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/

Nodes Used (5)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Telegram
n8n-nodes-base.telegram