n8n

How to Summarize YouTube Videos for Content Planning?

Turn any YouTube link into a clear, structured summary that your team can use right away. Great for marketing and content teams who need fast insights from long videos. You also get a Telegram alert with the video title and link for quick team visibility.

Here is how it works. A POST request hits a webhook path and passes a youtubeUrl in the body. A code step pulls the video ID and a YouTube node fetches the title and details. The workflow collects the transcript, splits it into parts, then joins it into clean text. An AI step uses gpt 4o mini to produce grouped topics and bullet points with a simple, guided prompt. The result returns as JSON to the caller, and a Telegram message shares the title and link with your channel or team chat.

Setup is simple. You will need an OpenAI API key, a YouTube connection, and a Telegram bot token. Expect to cut research time from half an hour per video to just a few minutes. Use it for editorial planning, social copy prep, industry research, training recaps, and competitor reviews. The result is faster turnarounds, better notes, and a steady format your team can trust.

What are the key features?

  • Webhook endpoint accepts a POST request with a youtubeUrl field for instant processing
  • Code step extracts a reliable YouTube video ID from many URL formats
  • YouTube node fetches video metadata such as title for better context
  • Transcript is split into pieces and then concatenated into clean text for AI input
  • AI summary uses gpt 4o mini with a guided prompt to return topics and bullet points
  • Returns a JSON response with summary and topics through Respond to Webhook
  • Sends a Telegram message with the video title and link using HTML parse mode

What are the benefits?

  • Reduce manual watching time from 30 minutes to about 3 minutes per video
  • Streamline content research by 60 percent with fast, structured summaries
  • Improve consistency with the same summary format for every video
  • Connect YouTube, OpenAI, and Telegram in one automated flow
  • Handle higher volume by responding to many webhook calls in parallel

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with YouTube, OpenAI, Telegram and Webhook.site. See the Tools Required section above for links to create accounts with these services.
  3. Open the gpt 4o mini node. In the Credential to connect with dropdown, click Create new credential, then add your OpenAI API key from the OpenAI website API page and save.
  4. Double click the Get YouTube Video node. In the Credential to connect with dropdown, click Create new credential, then follow the on screen steps to connect your YouTube Data API access.
  5. Create a Telegram bot with BotFather in the Telegram app and copy the bot token. In n8n, open the Telegram node, click Create new credential, paste the token, and save.
  6. Open the Webhook node. Confirm the path is set to ytube and the HTTP method is POST. Copy the Test URL for local testing.
  7. Send a POST to the webhook using Webhook.site or Postman with JSON body: {"youtubeUrl":"https://www.youtube.com/watch?v=VIDEO_ID"}. Check the Execution view to confirm the request data is received.
  8. Verify the YouTube Video ID node output contains videoId. If empty, review the URL format or try a standard watch URL.
  9. Check the YouTube Transcript node. If it returns no transcript, the video may be private or has no captions. Try a different video or enable captions.
  10. Open the Summarize and Analyze Transcript node and ensure the language model field points to your gpt 4o mini credential. Adjust the prompt if you want different headings or bullet depth.
  11. Open the Telegram node and set the Chat ID. Send a test message to make sure the bot can reach your chat. If it fails, start the bot in Telegram and confirm the chat ID is correct.
  12. Run a full test. Confirm the Respond to Webhook node returns JSON with summary and topics. If errors appear, review each node log and fix missing credentials or invalid video links.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Webhook.site

Sign up

Free tier: $0, public API available; free URLs expire after 7 days and accept up to 100 requests

YouTube

Sign up

Free: $0, default quota 10,000 units/day

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.