n8n

How to Automate YouTube to Telegram Summaries?

Turn any YouTube link into a clear summary and a quick team update. Built for marketing teams and creators who need fast takeaways for planning and content ideas. Send one URL and get an instant response and a Telegram ping.

An HTTP webhook receives a POST with the YouTube URL. A code step extracts the video ID, then the YouTube API pulls the video title. The transcript tool collects captions, splits them into parts, and merges them back into one clean text block. An OpenAI model reads the full text and creates a structured summary with topics. The flow returns the results to the requester and posts the title and link to Telegram for fast visibility.

You will need a YouTube API key, an OpenAI API key, and a Telegram bot token. Expect to cut review time from 30 minutes to 2 minutes per video and keep your team aligned in chat. Useful for competitor tracking, briefing writers, planning social posts, and quick research when your team needs the key points without watching the full video.

What are the key features?

  • Webhook POST intake at a dedicated path to receive a YouTube URL and return results on the same request.
  • Code step extracts the video ID from many YouTube link styles for reliable lookups.
  • YouTube node fetches video details like the title to enrich messages and outputs.
  • Transcript tool collects captions, then Split Out and Concatenate rebuild the full text in order.
  • OpenAI model creates a structured summary with clear topics based on a defined prompt.
  • Respond to Webhook returns a JSON object with summary and topics for easy consumption.
  • Telegram message delivers the video title and link to a chosen chat for instant visibility.

What are the benefits?

  • Reduce manual review from 30 minutes to 2 minutes per video
  • Automate up to 90 percent of summarizing work
  • Send instant Telegram updates to speed handoffs
  • Improve consistency with a standard summary format
  • Handle up to 10 times more videos each week
  • Connect YouTube, OpenAI, and Telegram in one flow

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. In the n8n credentials manager, create a new OpenAI credential. Paste your OpenAI API key from the OpenAI API page and save. Select this credential in the gpt 4o mini language model node.
  4. In the n8n credentials manager, create a YouTube credential. If using an API key, generate it in Google Cloud for the YouTube Data API v3 and paste it. Assign this credential to the YouTube node.
  5. Create a Telegram bot using BotFather and copy the bot token. In n8n, create Telegram Bot credentials with this token and select them in the Telegram node. Add the bot to your chat and note the numeric chat ID.
  6. Open the Webhook node and confirm the method is POST and the path is ytube. Copy the Production URL for use in your app or testing tool.
  7. Open the Get YouTube URL Set node and confirm the field youtubeUrl maps to body.youtubeUrl. Adjust if your incoming JSON uses a different key.
  8. Check the Code node to ensure the output field videoId is created. Confirm the YouTube node reads videoId from the previous step.
  9. Open the YouTube Transcript node and confirm it uses the same videoId. Ensure the output field transcript is present.
  10. Verify the Split Out node points to transcript and the Concatenate node merges the text field so the full transcript is rebuilt.
  11. In the Summarize and Analyze step, select your OpenAI credential and confirm the model name is gpt 4o mini. Keep the prompt as provided or edit to match your style.
  12. Set the Telegram node chatId to your target chat. Send a test message through the node to confirm delivery.
  13. Test the full flow: use Webhook.site or a tool like curl to POST JSON such as { "youtubeUrl": "https://www.youtube.com/watch?v=VIDEO" } to the webhook URL. Confirm the response JSON contains summary and topics, and check Telegram for the title and link.

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.