Skip to content

The moment it happens

Save a YouTube video's summary and social posts to Drive

Send a YouTube link and a Google Doc with a summary and ready-to-use social posts appears in your Drive folder.

Runs
The moment it happens
Apps
Google Drive, YouTube
AI
Yes, uses the built-in AI allowance
Access
YouTube read (download of captions needs owner OAuth); Drive write

Send this to your assistant

Create a ClickRuntime automation: when I send a YouTube link, fetch the video's details and captions, write a summary and three social posts with AI, and save them as a Google Doc in my Video Notes folder.

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 marketing team turns every company webinar into blog posts, LinkedIn updates and a newsletter item. Someone rewatches each recording and takes notes, which takes longer than the webinar itself.

Getting a summary and draft posts in a Drive doc as soon as the video is up gives the team a head start on every piece of follow-up content.

What you get out of it

  • Content from every video

    Each webinar or talk produces a summary and posts the team can edit, not a blank page.

  • Saved where the team works

    The doc lands in a shared Drive folder alongside the rest of your marketing files.

  • Hours of rewatching saved

    The team reads a page instead of sitting through the recording again.

  • Consistent format

    Every doc has the same sections, so the team knows where to look.

How it works

What happens, step by step

  1. You send a YouTube link to the automation's private link.

  2. ClickRuntime fetches the video's title, description and captions where available.

  3. AI writes a summary and three social posts based on the video.

  4. A new Google Doc with the summary and posts is created in your Video Notes folder in Drive.

Before it runs live

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

What you get

RunsThe moment it happens
Save a YouTube video's summary and social posts to Drivejust nowSucceeded
Google Drive · Video NotesNotes: Acme Q3 product webinar. Summary, 5 key points, and draft posts for LinkedIn, X and the newsletter.

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 Google Drive 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.
save_youtube_video_transcripts_and_summaries_to_drive.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
import re
from googleapiclient.http import MediaInMemoryUpload
from clickruntime import on_event, credentials, ai

def api(name, version):
    return build(name, version, credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)

FOLDER_ID = "video-notes-folder-id"

@on_event
def handle(event):
    url = (event.json or {})["url"]
    vid = re.search(r"(?:v=|youtu\.be/)([\w-]{11})", url).group(1)
    yt = api("youtube", "v3")
    s = yt.videos().list(part="snippet", id=vid).execute()["items"][0]["snippet"]
    text = s["description"]
    tracks = yt.captions().list(part="snippet", videoId=vid).execute().get("items", [])
    if tracks:
        text = yt.captions().download(id=tracks[0]["id"], tfmt="srt").execute().decode()[:24000]
    notes = ai.generate(f"Title: {s['title']}\n\n{text}", system="Write a one-paragraph summary, 5 key points, "
                        "then three social posts (LinkedIn, X, newsletter).", max_output_tokens=1200).text
    doc = api("drive", "v3").files().create(body={"name": f"Notes: {s['title']}", "parents": [FOLDER_ID],
          "mimeType": "application/vnd.google-apps.document"}, media_body=MediaInMemoryUpload(f"{url}\n\n{notes}".encode(), mimetype="text/plain"),
          fields="id,webViewLink").execute()
    return {"doc": doc["webViewLink"]}

FAQ

Common questions

Can it read captions on any video?
It can download captions for videos on your own channel. For other channels it uses the title and description, or a transcript service you connect.
How do I send it a link?
From a form, a bookmark, a Slack shortcut or any tool that can send a web request to the automation's private link.
Can it write other formats?
Yes. Ask for a blog outline, a newsletter paragraph or quotes for social cards in the prompt.
What permissions does it need?
YouTube read (download of captions needs owner OAuth); Drive write. 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 “Save a YouTube video's summary and social posts to Drive” from your assistant

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