AI Agents

Summarize YouTube videos and discuss content via Telegram

22 nodes 320 158 Automatic trigger
Download

Workflow Description

Automation that extracts and summarizes YouTube video transcripts using AI, then enables users to discuss the content directly in Telegram while maintaining conversation history and context for future reference.

How it works

  1. 1.Receive YouTube video link via Telegram message
  2. 2.Extract and analyze video transcript from YouTube
  3. 3.Summarize content using OpenAI language model
  4. 4.Reply with summary and allow follow-up questions from the user
  5. 5.Store conversation context in memory for future interactions
  6. 6.Archive summaries in Google Docs for team reference

Use cases

  • Automatically summarize educational channel content for study purposes
  • Discuss video content with team members without watching the full video
  • Save and organize lecture and webinar summaries for later review

Requirements

  • Active OpenAI account with API key configured
  • Telegram channel or group connected to n8n workflow
  • YouTube channel or playlist with available transcripts

Service Value

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

Apps Used

OpenAI LLM Chain Chat Trigger YouTube Telegram Google Docs AI Agent Memory

Details

Trigger Automatic trigger
Nodes 22
Apps 8
Views 320
Downloads 158

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 (22)

/

Split Transcript into Segments

Split Out

#1

Extract YouTube URL from Input

Set

#2

Extract Video ID from URL

Code

#3

gpt-4o-mini

OpenAI

#4

Generate Summary with GPT-4o-mini

LLM Chain

#5

Concatenate Transcript Segments

Summarize

#6

Trigger on Telegram Message

Chat Trigger

#7

Extract YouTube Transcript

Youtube Transcripter

#8

Send Summary via Telegram

Set

#9

Receive YouTube URL via Webhook

Webhook

#10

Send Response to Webhook

Webhook

#11

Telegram Trigger

Set

#12

Retrieve Transcript from Google Docs

Google Docs

#13

Update Transcript in Google Docs

Google Docs

#14

Handle User Questions via AI

Agent

#15

OpenAI Chat Model

OpenAI

#16

Window Buffer Memory

Memory Buffer Window

#17

Google Docs2

Google Docs Tool

#18

Send AI Response via Telegram

Set

#19

Sticky Note

Sticky Note

#20

Sticky Note1

Sticky Note

#21

Sticky Note2

Sticky Note

#22