Latenode

Automatically summarize and store YouTube video insights

This template starts when you POST a YouTube video URL to a Latenode webhook. YouTube returns the captions, JavaScript strips timestamps, and ChatGPT writes a structured summary that Telegram sends and Supabase stores.

Connect YouTube, Telegram, and Supabase, then point the webhook at the form or app that sends the URL. ChatGPT is a Latenode AI step, so you do not paste an OpenAI key; when captions are missing, transcribe the soundtrack with Latenode speech-to-text.

Updated Sep 16, 2026Est. run: 24sEst. cost: $0.0015
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Turns a YouTube URL into a readable summary
  • Fetches captions with YouTube, or transcribes with speech-to-text
  • Writes topics and takeaways with ChatGPT
  • Sends the summary to Telegram and stores it in Supabase

How it works

1
Trigger

Receive the video URL

The scenario starts when a form or app POSTs a YouTube video URL to your webhook.

2
Action

Fetch and clean captions

YouTube returns the subtitle track. JavaScript strips timestamps. When captions are missing, transcribe the soundtrack with Latenode speech-to-text.

3
AI

Summarize the transcript

ChatGPT reads the text and returns key topics and takeaways.

4
Action

Share on Telegram

Telegram sends the summary to the chat you choose.

5
Action

Store in Supabase

Supabase writes a row with the video URL, title if you fetched it, and the summary.

Setup guide

1

Add a webhook trigger

Add a webhook trigger and copy its URL. Point your form or app at that URL and send the YouTube video URL.

2

Connect YouTube, Telegram, and Supabase

Add a YouTube connection that can read captions. Put the Telegram bot token on the Telegram connection. Put the Supabase URL and service key on the Supabase connection.

3

Fetch captions and summarize

Get the subtitles for the video id from the webhook URL. Strip timestamps in JavaScript. Send the transcript to ChatGPT for topics and takeaways. ChatGPT is a Latenode AI step, so you do not paste an OpenAI key.

4

Post and store

Send the summary as a Telegram text message. Create a Supabase row with the video URL and summary. POST a public video that has captions for the first test.

Requirements

A YouTube connection in Latenode
A form or app that can POST a YouTube video URL to the webhook
A Telegram bot that can message the chat you choose
A Supabase table Latenode can write to
Videos that have a caption track, or audio you can send through speech-to-text

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work. Plug-and-Play AI nodes are billed separately.