The moment it happens
Turn a video into a summary Doc
Send a video link and get a summary and social posts in a Google Doc.
- Runs
- The moment it happens
- Apps
- Google Docs
- AI
- Yes, uses the built-in AI allowance
- Access
- read+write
Send this to your assistant
Create a ClickRuntime automation: when I send a YouTube link to this link, get the transcript, write a summary and three social posts from it, and save them as a Google Doc.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A content creator watches hours of conference talks and interviews for research, but a one-hour video yields maybe four useful points. Taking notes means pausing, rewinding and typing. A busy founder wants the gist of a long lecture without sitting through it, and a marketer wants to turn a webinar into a blog post but is not going to transcribe sixty minutes of speech by hand.
You paste a video link into a ClickRuntime trigger. It fetches the transcript over HTTP and its built-in AI writes a summary, a blog article or a translation, as you choose. It then creates a Google Doc containing the result, so you have something ready to read, edit or publish.
Podcasters, course creators and researchers use it to reuse spoken content in written form.
What you get out of it
Hours of video become minutes of reading
A summary gives you the main points of a long talk. You decide quickly whether to watch the whole thing, and you still get the substance when you do not have the time.
Webinars become blog posts
The AI turns the spoken content into an article, with headings, that you can edit and publish. One recording yields a written asset, which extends the reach of the original event.
Content reaches other languages
A translation option makes talks in one language usable by teammates or customers who speak another. That is faster and cheaper than commissioning a transcript and translation separately. It is a convenient way to share the content with everyone on a team.
Searchable text beats scrubbing a timeline
Once the content is in a Doc, you can search for a name or a number. Finding a half-remembered quote in text takes seconds, while finding it in a video takes ages.
The Doc is ready to share
The result lands in Drive as a normal Google Doc. You can comment on it with colleagues, share the link, or paste the text into your own system without any file conversion.
How it works
What happens, step by step
When you send a YouTube video link, ClickRuntime receives it straight away.
It fetches the video's transcript.
AI turns the transcript into a summary and ready-to-use social posts.
Everything is saved in a new Google Doc.
Before it runs live
- Connect Google Docs
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
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 Docs steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
import re
from clickruntime import on_event, credentials, http, ai
@on_event
def handle(event):
url = (event.json or {})["url"]
video_id = re.search(r"(?:v=|youtu\.be/)([\w-]{11})", url).group(1)
# Transcript from a transcript API (YouTube's own captions API only serves your own videos).
transcript = http.get("https://www.searchapi.io/api/v1/search", params={
"engine": "youtube_transcripts", "video_id": video_id, "api_key": credentials.secret("SEARCHAPI_KEY")}).json()
text = " ".join(t["text"] for t in transcript["transcripts"])[:24000]
out = ai.generate("From this video transcript, write a summary (one paragraph), then three social posts.\n" + text,
max_output_tokens=1200).text
creds = Credentials(credentials.connection("google", "work"))
docs = build("docs", "v1", credentials=creds, cache_discovery=False)
doc = docs.documents().create(body={"title": f"Video notes {video_id}"}).execute()
docs.documents().batchUpdate(documentId=doc["documentId"], body={"requests": [
{"insertText": {"location": {"index": 1}, "text": f"{url}\n\n{out}"}}]}).execute()
return {"doc": f"https://docs.google.com/document/d/{doc['documentId']}/edit"}FAQ
Common questions
Which videos work with this?
Is the article a copy of the transcript?
How accurate is the summary?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a first draft as a Google Doc from a brief
Send a topic or brief and get a structured draft saved as a new Doc in your folder.
See how it worksGet a company analysis Doc from a URL
Send a website and get a report with a customer profile and page gaps in a Doc.
See how it worksTurn meeting transcripts into summary Docs
A transcript you send becomes a Doc with a summary, decisions and action items.
See how it worksKeep exploring
Set up “Turn a video into a summary Doc” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.