Skip to content

The moment it happens

Send a YouTube link to Telegram and get a summary back

Share a YouTube link with your Telegram bot and it replies with a short summary and the key points.

Runs
The moment it happens
Apps
Telegram, YouTube
AI
Yes, uses the built-in AI allowance
Access
API key; bot token

Send this to your assistant

Create a ClickRuntime automation: when I send a YouTube link to my Telegram bot, summarise the video with AI and reply with a short summary and the five key points.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A busy consultant gets sent YouTube links all day: a client's webinar, a talk a colleague recommends, a product demo. Most are forty minutes long. They want to know what is in a video before deciding whether to watch it, ideally from their phone.

Forwarding the link to a Telegram bot and getting the gist back in seconds makes it easy to triage videos on the go.

What you get out of it

  • Decide before you watch

    A short summary shows whether a long video is worth your time.

  • Works from your phone

    Share the link from the YouTube app to Telegram; the reply arrives in the same chat.

  • Key points you can forward

    The bullet points are easy to pass on to a colleague who asked for your view.

  • No new app to install

    It runs in Telegram, which you already use.

How it works

What happens, step by step

  1. You send a YouTube link to your Telegram bot.

  2. ClickRuntime pulls out the video ID and fetches the video's title and description.

  3. AI writes a short summary and lists the key points.

  4. The summary is sent back to you in the same Telegram chat.

Before it runs live

  • Connect Telegram
  • Connect YouTube
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Send a YouTube link to Telegram and get a summary backjust nowSucceeded
Telegram · Video botAcme Cloud keynote 2026 Short version: three new storage tiers and a price cut for small teams. • Cold storage at half the old price…

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Telegram and YouTube steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
summarise_a_youtube_video_from_telegram.pyexample
import re
from clickruntime import on_event, http, credentials, ai

YT = "https://www.googleapis.com/youtube/v3"

def yt(path, **params):
    return http.get(f"{YT}/{path}", params={**params, "key": credentials.secret("YOUTUBE_API_KEY")}).json().get("items", [])

def tg(method, **params):
    r = http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/{method}", json=params)
    return r.raise_for_status() or r.json()["result"]

@on_event
def handle(event):
    msg = (event.json or {}).get("message") or {}
    found = re.search(r"(?:v=|youtu\.be/|shorts/)([\w-]{11})", msg.get("text", ""))
    if not found:
        return {"replied": False}
    items = yt("videos", part="snippet", id=found.group(1))
    if not items:
        tg("sendMessage", chat_id=msg["chat"]["id"], text="I couldn't find that video.")
        return {"replied": True}
    s = items[0]["snippet"]
    summary = ai.generate(f"Title: {s['title']}\nChannel: {s['channelTitle']}\n\n{s['description'][:6000]}",
                          system="Summarise this YouTube video in 2 sentences, then list 5 key points.", max_output_tokens=400).text
    tg("sendMessage", chat_id=msg["chat"]["id"], text=f"{s['title']}\n\n{summary}")
    return {"replied": True, "video": found.group(1)}

FAQ

Common questions

Does it work on any public video?
Yes. It uses the video's title and description, and the captions where they are available to your account.
Can I ask follow-up questions?
This automation replies once per link. You can add a follow-up by asking it to keep each conversation in memory.
Who can use the bot?
Anyone who finds it, by default. You can limit it to your own Telegram account or a list of chat IDs.
What permissions does it need?
API key; bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Send a YouTube link to Telegram and get a summary back” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.