Automate YouTube transcript extraction, use GPT-4o-mini via LangChain to generate structured summaries, and deliver results via Telegram. This powerful n8n workflow template accelerates video content analysis.
Download this n8n workflow template and start using it instantly.
Manually summarizing long YouTube videos is time-consuming and often misses key technical details. This advanced n8n workflow solves this by fully automating the process. Triggered by a simple webhook containing a URL, this automation extracts the full video transcript. It then leverages the power of the LangChain n8n integration, powered by a model like gpt-4o-mini, to analyze the raw text. The prompt is meticulously structured to ensure the output is a technically accurate, markdown-formatted summary, making this a highly valuable n8n templates solution for rapid knowledge digestion. The final result is instantly available via a webhook response and a Telegram message.
The entire process is initiated by an external system sending a POST request to the custom n8n trigger URL.
Webhook n8n node, expecting a youtubeUrl in the payload.Set n8n node extracts the URL, followed by a Code n8n node that uses custom JavaScript to reliably parse the video ID, crucial for subsequent steps.Get YouTube Video n8n node uses the video ID to retrieve metadata, such as the title and description.YouTube Transcript n8n node fetches the complete, time-stamped transcript text.Split Out n8n node handles large transcript outputs by splitting them into items, which are then immediately merged back together by the Concatenate n8n node into a single, cohesive input string for the AI.gpt-4o-mini n8n node is configured as the language model provider.Summarize & Analyze Transcript (LangChain Chain LLM) n8n node applies a detailed instruction prompt to the concatenated transcript. This prompt guides the AI to generate a highly structured, markdown-formatted summary, breaking content down by technical topic.Response Object n8n node collects the newly generated summary, along with the original video metadata (title, URL), into a single output object.Respond to Webhook n8n node and simultaneously broadcasted to a designated channel using the Telegram n8n node.To use this powerful n8n workflow, follow these steps:
Webhook n8n node. Note the unique test or production URL it generates. This is the endpoint you will send YouTube URLs to.gpt-4o-mini).Telegram n8n node, including your Bot Token and the desired Chat ID where summaries will be posted.{"youtubeUrl": "[YOURYOUTUBELINK]"}) to the webhook URL. Webhook (n8n trigger): Serves as the initiation point for the entire n8n workflow, configured to listen for POST requests containing the YouTube URL.
Get YouTube URL (Set n8n node): Extracts the youtubeUrl value from the incoming webhook body, standardizing the input for the next steps.
YouTube Video ID (Code n8n node): Essential custom n8n node that runs JavaScript to reliably parse the 11-character video ID from various YouTube URL formats (including short links like youtu.be).
Get YouTube Video (YouTube n8n node): Fetches official video metadata like the title and description using the extracted Video ID.
YouTube Transcript (Custom n8n node): Retrieves the full, often lengthy, transcript text from the video.
Concatenate (Summarize n8n node): A critical step in this n8n workflow. It takes segmented text inputs (resulting from the Split Out node) and combines them into one large text item (concatenated_text), ensuring the large language model receives the full context.
gpt-4o-mini (LangChain Chat LLM n8n node): Configured as the AI provider, utilizing the efficient gpt-4o-mini model for generating the analysis.
Summarize & Analyze Transcript (LangChain Chain LLM n8n node): This highly configured n8n node contains the detailed system prompt, dictating that the AI must produce a highly structured summary using Markdown, including level 2 headers, bullet points, and bold key terms.
Response Object (Set n8n node): Collects the AI-generated summary and original video data, preparing the final output structure.
Respond to Webhook & Telegram (n8n nodes): The final delivery steps, providing an immediate response to the caller and sending the structured summary to a team chat via Telegram.
Automate receipt data entry using this powerful n8n workflow. Extract YAPE or general receipt details via Telegram OCR and instantly save them to Google Sheets using OpenAI.

Use this essential n8n workflow to identify parameters utilizing deprecated expressions (like beginningOf, minus) across all active n8n templates after upgrading to n8n v1. Audit your n8n nodes quickly.

Learn how to build a powerful automated daily quote email sender using this customizable n8n workflow. Integrate APIs, scheduling, and the Gmail n8n node easily.

Use this comprehensive n8n workflow template to automatically reposition your nodes for optimal layout and explore advanced RAG architectures using n8n AI nodes and LLMs.

Deploy a powerful n8n workflow chatbot to analyze YouTube videos. Extract transcripts, fetch details, and generate structured summaries using an n8n agent and custom n8n node logic.


As an AI Automation consultant based in Canada, I partner with forward-thinking organizations to implement AI solutions that streamline operations and drive growth.







































