AI Agents

Connect Telegram with YouTube

12 nodes 224 119 Webhook
Download

Workflow Description

Automation receives YouTube video links via Telegram, extracts video transcripts, summarizes them using artificial intelligence, and sends summaries directly back to the user through Telegram.

How it works

  1. 1.Receive video link through webhook connected to Telegram
  2. 2.Extract transcript text from YouTube video
  3. 3.Process and split text into manageable chunks
  4. 4.Summarize content using OpenAI language model
  5. 5.Send final summary to user via Telegram message

Use cases

  • Generate quick summaries of educational videos and lectures
  • Help users understand video content without watching full videos

Requirements

  • Valid OpenAI API key with account access
  • Active Telegram bot token with proper permissions configured

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 224
Downloads 119

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