AI Agents

Connect Telegram with YouTube

12 nodes 275 160 Webhook
Download

Workflow Description

Automation that receives video links via Telegram, extracts the video transcript from YouTube, summarizes it using AI, and sends the summary back to the user through Telegram in seconds.

How it works

  1. 1.Receive video URL from Telegram through webhook trigger
  2. 2.Extract video transcript using YouTube transcripter node
  3. 3.Process and split transcript content for analysis
  4. 4.Summarize text using OpenAI LLM chain
  5. 5.Send summary to user via Telegram bot

Use cases

  • Summarize educational lectures and tutorials instantly
  • Stay updated on channel content without full video playback
  • Archive key insights from long-form video content

Requirements

  • OpenAI API key with active credits
  • Telegram Bot token from BotFather
  • Access to public YouTube videos or channel authorization

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

YouTube Telegram OpenAI LLM Chain

Details

Trigger Webhook
Nodes 12
Apps 4
Views 275
Downloads 160

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Webhook

Webhook

#1

YouTube Transcript

Youtube Transcripter

#2

Split Out

Split Out

#3

Respond to Webhook

Webhook

#4

Telegram

Set

#5

Get YouTube URL

Set

#6

YouTube Video ID

Code

#7

Get YouTube Video

You Tube

#8

gpt-4o-mini

OpenAI

#9

Summarize & Analyze Transcript

LLM Chain

#10

Concatenate

Summarize

#11

Response Object

Set

#12