AI Agents

Recap YouTube videos and chat about the content using Telegram

22 nodes 209 121 Automatic trigger
Download

Workflow Description

Receive YouTube links via Telegram, extract video transcripts, generate intelligent summaries with AI, store content in Google Docs, and have interactive conversations about video details with a continuous memory system.

How it works

  1. 1.Receive a YouTube link or discussion request through a Telegram message
  2. 2.Extract the complete video transcript using a transcript parser
  3. 3.Generate an informative summary using an advanced AI language model
  4. 4.Save the summary and metadata to a Google Docs spreadsheet
  5. 5.Activate a conversational agent that understands context and answers user questions
  6. 6.Maintain dialogue history in memory for consistent responses

Use cases

  • Quick review of educational content: get instant summaries of lengthy tutorial videos
  • Deep discussion: chat with the agent about specific points from the video
  • Organized archive: automatically collect video summaries in a unified Google Doc

Requirements

  • Active Telegram account with authorized contact list
  • API keys from OpenAI, Google, and Telegram
  • Access credentials and update permissions for Google Docs

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 209
Downloads 121

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