Multi-user Telegram bot to summarize & repurpose YouTube videos with GPT-4o
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 10 nodes and runs on Telegram events (message). Along the way it connects OpenAI Chat Model and Telegram.
How it runs
Trigger: On Telegram events (message).
- Check: Is YouTube Link? (If): checks a condition and branches into true / false
- Extract Chat & Video ID (Edit Fields (Set)): sets 2 fields: videoId, chatId
- AI Chat & Summarizer Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- Fetch YouTube Transcript (via RapidAPI) (HTTP Request): calls an HTTP API
- Clean AI Output Formatting (Code): runs custom JavaScript code
- Clean Transcript Symbols (Edit Fields (Set)): sets 1 field: fullTranscript
- Send Reply to Telegram (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram
From the author
👤 Who’s it for This workflow is for content creators, marketers, educators, or anyone who wants to instantly summarize YouTube videos and repurpose them into different formats (LinkedIn post, tweet, etc.) via a simple Telegram chatbot. ⚙️ How it works This…