Templates / Summarize YouTube videos & chat about content with GPT-4o-mini via Telegram

Summarize YouTube videos & chat about content with GPT-4o-mini via Telegram

Needs changes

by Grzegorz Hanus · 4,626 views · created 2025-03-13 · Content Creation, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when a chat message arrives (plus 2 other triggers). Along the way it connects OpenAI Chat Model, Telegram, Google Docs and Youtube Transcription Kasha (community).

How it runs

Trigger: When a chat message arrives (plus 2 other triggers).

  1. Extract YouTube URL from Input (Edit Fields (Set)): sets 1 field: youtubeUrl
  2. Handle User Questions via AI (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Google Docs)
  3. Extract Video ID from URL (Code): runs custom Python code
  4. Send AI Response via Telegram (Telegram): uses Telegram
  5. Extract YouTube Transcript (Youtube Transcripter): uses Youtube Transcripter
  6. Split Transcript into Segments (Split Out): splits a list into separate items
  7. Concatenate Transcript Segments (Summarize): summarizes / groups the items
  8. Generate Summary with GPT-4o-mini (Basic LLM Chain): sends a prompt to an LLM, with model: gpt-4o-mini
  9. Retrieve Transcript from Google Docs (Google Docs): get
  10. Send Summary via Telegram (Telegram): uses Telegram

…plus 3 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelTelegramGoogle DocsYoutube Transcription Kasha (community)

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Handle User Questions via AI (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Handle User Questions via AI (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

Summarize YouTube Videos & Chat About Content with GPT-4o-mini via Telegram Description This n8n workflow automates the process of summarizing YouTube video transcripts and enables users to interact with the content through AI-powered question answering via…

Excerpt from Grzegorz Hanus's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.