YouTube to telegram summary bot with Decodo & Gemini AI

Go to Workflow
325 views
Built by Khairul Muhtadin Khairul Muhtadin
Created on June 13, 2026

Description

Stop wasting hours watching long videos. This n8n workflow acts as your personal "TL;DW" (Too Long; Didn't Watch) assistant. It automatically pulls YouTube transcripts using Decodo, analyzes them with Google Gemini, and sends a detailed summary straight to your Telegram.

Why You Need This
Save Time:** Turn a 2-hour video into a 5-minute read (95% faster).
Don't Miss a Thing:** Captures key points, chapters, tools mentioned, and quotes that you might miss while skimming.
Instant Results:** Get 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:** Spy on 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)
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").

Created by: Khaisa Studio
Category: AI-Powered Automation
Tags: YouTube, AI, Telegram, Summarization, Decodo, Gemini
Need custom workflows? Contact us

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

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