Automate YouTube Transcript Summarization with n8n [Free Workflow 2026]

Automatically get and summarize YouTube video transcripts using n8n. Extract key points and save to Notion, Google Sheets, or send via email — workflow included.
webhook
set
code
+7
Workflow Identifier: 1996
NODES in Use: Webhook, Set, Code, YouTube, YouTube Transcript, Split Out, Summarize, Langchain Chain LLM, Respond to Webhook, Telegram
Automate YouTube transcript summarization with n8n and YouTube

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow gets a YouTube video URL and makes a full summary for easy reading.
It solves the problem of spending too much time watching and writing notes.
The outcome is a clear summary sent to Telegram and a quick reply to the request.

The workflow takes a video link.
It finds the video ID.
Then it gets the title and description.

Next, it gets the video transcript.
It breaks it into parts so the AI can read it well.
After that, it joins the parts to make one long text.

This full transcript text goes to the AI node which writes a proper summary.
The summary uses headers, bullets, bold words, even tables for clear facts.

The workflow then builds a nice object with the summary, video info, and an empty topic list.
Finally, it sends a quick reply and also messages the summary to Telegram.


Tools and Services Used


Beginner Step-by-Step: How to Use This Workflow in n8n

1. Import the Workflow

  1. Download the ready workflow file by clicking the Download button on this page.
  2. Inside your n8n editor, click the menu and select “Import from File.”
  3. Choose the downloaded file to add it.

2. Configure Credentials and Settings

  1. Add your YouTube API Key in the YouTube node credentials.
  2. Enter the Telegram Bot API Token and set the chat/channel ID in the Telegram node.
  3. Check the Webhook node URL is publicly accessible.
  4. If there are any IDs, emails, folders, or tables in the workflow, update them to your own.
  5. Look at the Code node for the video ID extraction regex. Copy it if needed.
  6. Review the AI prompt inside the Langchain Chain LLM node. Copy the prompt text easily with this code snippet:
const extractYoutubeId = (url) => {
  const pattern = /(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/;
  const match = url.match(pattern);
  return match ? match[1] : null;
};

const youtubeUrl = items[0].json.youtubeUrl;

return [{ json: { videoId: extractYoutubeId(youtubeUrl) } }];

3. Test and Activate

  1. Send a POST request with JSON body like { "youtubeUrl": "https://youtube.com/watch?v=..." } to the webhook URL.
  2. Check the output for the summary and Telegram message arrival.
  3. If all works, toggle the workflow to active mode to run in production.

This lets beginners quickly add the workflow without building from the start.
Activate and let it run flows automatically.
For self hosting n8n, this resource helps set up the server.


Inputs, Processing Steps, and Outputs

Inputs

Processing Steps

  • The Set node organizes the received URL.
  • The Code node extracts the video ID from the URL.
  • The YouTube node fetches video metadata.
  • The YouTube Transcript node obtains the video transcript.
  • The Split Out node breaks the transcript into parts.
  • The Summarize node concatenates all parts.
  • The Langchain Chain LLM node generates a structured markdown summary.
  • The Set node assembles the final response object.
  • The Respond to Webhook node replies with the summary JSON.
  • The Telegram node sends the summary message to a Telegram channel.

Outputs

  • A JSON object containing the video title, description, URL, and detailed AI-generated summary.
  • A message sent to Telegram with video title and URL for team updates.

Edge Cases and Troubleshooting

Sometimes, transcripts are missing or empty.
This will cause summary failure.
Check if YouTube autogenerated transcripts exist first.

The Code node may fail extracting video ID if URL is malformed.
Test and fix regex if you get null IDs.

Telegram messages won’t send if bot API keys or chat IDs are wrong.
Double check Telegram bot setup and permissions.


Customization Ideas

  • Change the text message in the Telegram node to include more video information.
  • Add language filters in the YouTube Transcript node to pick transcript languages.
  • Swap the Telegram node with Slack node to send to Slack channels instead.
  • Add more AI nodes after the summary for keyword or sentiment analysis.

Deployment Guide

Turn on the workflow inside n8n by activating the Webhook node.
Run n8n on cloud or self hosting.
Here is a useful link for self-host n8n.

Use n8n’s execution logs to watch workflow runs for errors.
Test often to keep integration with YouTube and Telegram working well.


Summary

✓ Workflow makes video content understanding quicker.
✓ Saves many hours by automating transcript reading and summary writing.
✓ Sends key video info to team over Telegram instantly.
✓ Simple steps to configure and use in n8n.
✓ Works with standard YouTube URLs and OpenAI summarization.


Automate YouTube transcript summarization with n8n and YouTube

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Send a POST request with a JSON body containing the key youtubeUrl and the YouTube video link to the webhook URL.
Check if the video has an autogenerated transcript on YouTube or use manual transcription services as fallback.
Verify Telegram Bot API token and chat/channel ID setup, and ensure the bot has permission to post messages.
No, the workflow handles one YouTube video URL at a time. To process playlists, add looping or batch processing logic.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.