AI Agents

Connect Telegram with YouTube

12 nodes 215 126 Webhook
Download

Workflow Description

An automation template that receives YouTube video links via Telegram, extracts transcripts, analyzes them using advanced AI models, and returns intelligent summaries to the user through Telegram instantly.

How it works

  1. 1.Receive video link from Telegram message via webhook
  2. 2.Extract video transcript from YouTube using youtubeTranscripter
  3. 3.Process and split text using splitOut and code operations
  4. 4.Analyze and summarize content with OpenAI LLM Chain
  5. 5.Send intelligent summary back to user via Telegram message
  6. 6.Verify webhook response to confirm successful execution

Use cases

  • Automatic summarization of lectures and webinars directly in Telegram
  • Extract summaries of educational videos and audio content without watching full length
  • Analyze video transcripts and rewrite them in concise, easy-to-understand format

Requirements

  • YouTube account with enabled API and sufficient usage quota
  • Active webhook connection between n8n and Telegram
  • OpenAI API key with adequate credits for language analysis operations
  • Daily Telegram message limits based on service plan

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 215
Downloads 126

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