Skip to main content

YouTube to telegram summary bot with Decodo & Gemini AI

Workflow preview

Workflow preview
100%
YouTube to telegram summary bot with Decodo & Gemini AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Khairul Muhtadin.

Original n8n.io source

1.1 Workflow description

Title
YouTube to telegram summary bot with Decodo & Gemini AI
Workflow name
YouTube to telegram summary bot with Decodo & Gemini AI

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

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

Setup Guide

What You Need

Quick Installation

  1. Import: Load the JSON file into your n8n instance.
  2. Credentials: Add your API keys for Telegram, Decodo, and Google Gemini in the n8n credentials section.
  3. 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.
  4. 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: PortfolioWorkflowsLinkedInMediumThreads

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 - Decodo Youtube Transcript Scrapper

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Extract Transcript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Decodo Youtube Metadata Scrapper

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Parse Metadata

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Filter: YouTube URL?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Send "Invalid URL"

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

Block 7 - Send "Processing..."

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

Block 8 - On New Message

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

Block 9 - Set: Video ID & Config

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

Block 10 - Generate TLDR

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 11 - Merge: Data + Summary

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 12 - Alert Admin

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

Block 13 - Format Error Log

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - On Error

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

Block 15 - Split & Format HTML

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Loop: Message Batches

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

Block 17 - Send Summary Part

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

Block 18 - Wait: Rate Limiter

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 19 - Send Video Info

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

Block 20 - Sticky Note

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

Block 21 - Sticky Note3

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

Block 22 - Sticky Note9

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

Block 23 - Sticky Note4

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

Block 24 - Sticky Note5

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

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow YouTube to telegram summary bot with Decodo & Gemini AI
Complexity advanced
Nodes 26
Categories Content Creation, AI Summarization
Author Khairul Muhtadin
Published 23 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11145/11145.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 YouTube to telegram summary bot with Decodo & Gemini AI do?

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

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, AI Summarization use case.