Daily
Collect new YouTube videos on your topics into Airtable
Each day, new videos on the topics you follow are summarised and saved as records in Airtable.
- Runs
- Daily
- Apps
- Airtable, YouTube
- AI
- Yes, uses the built-in AI allowance
- Access
- YouTube API key; Airtable write
Send this to your assistant
Create a ClickRuntime automation: every morning, search YouTube for videos published in the last day about 'warehouse automation' and 'last-mile delivery', summarise each with AI and add them to my Research table in Airtable.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A logistics start-up wants to keep up with what is being said about its market on YouTube: conference talks, competitor demos, analysts' takes. Searching YouTube every day is tedious and the findings end up in someone's bookmarks.
A daily search that saves each new video with a short summary into Airtable builds a shared research library the whole team can filter and tag.
What you get out of it
A shared research library
Every relevant video lands in one base the team can search, tag and comment on.
Summaries save viewing time
A few lines show whether a video is worth watching before anyone presses play.
No duplicates
Videos already saved are skipped.
Your topics, your words
Search terms are yours to change as the market shifts.
How it works
What happens, step by step
Every morning, ClickRuntime searches YouTube for videos on each of your topics published in the last day.
It skips videos already saved.
AI writes a short summary of each new video from its title and description.
Each video is added to your Research table in Airtable with its topic, channel, link and summary.
Before it runs live
- Connect Airtable
- Connect YouTube
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
- Run it at a different time, more or less often, or only on weekdays
- 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 Airtable and YouTube steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timezone, timedelta
from clickruntime import on_trigger, http, credentials, ai, state
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", [])
AT = "https://api.airtable.com/v0/appXXXXXXXXXXXXXX"
def at(method, path, **kw):
r = http.request(method, f"{AT}/{path}", headers={"Authorization": f"Bearer {credentials.connection('airtable', 'work')}"}, **kw)
return r.raise_for_status() or r.json()
TOPICS = ["warehouse automation", "last-mile delivery"]
@on_trigger
def run(event):
since = (datetime.now(timezone.utc) - timedelta(days=1)).strftime("%Y-%m-%dT%H:%M:%SZ")
seen, records = set(state.get("seen") or []), []
for topic in TOPICS:
for v in yt("search", part="snippet", q=topic, type="video", publishedAfter=since, maxResults=25, order="relevance"):
vid, s = v["id"]["videoId"], v["snippet"]
if vid in seen:
continue
summary = ai.generate(f"{s['title']}\n{s['description']}", system="Summarise this video in 2 sentences.", max_output_tokens=100).text.strip()
records.append({"fields": {"Topic": topic, "Title": s["title"], "Channel": s["channelTitle"],
"Link": f"https://youtu.be/{vid}", "Summary": summary}})
seen.add(vid)
for i in range(0, len(records), 10):
at("POST", "Research", json={"records": records[i:i + 10], "typecast": True})
state.set("seen", sorted(seen)[-5000:])
return {"saved": len(records)}FAQ
Common questions
How many videos does it save a day?
Can it filter out short or low-quality videos?
Does it need my YouTube login?
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
Publish the next ready video from your Airtable queue
On schedule, the next video marked ready in Airtable is uploaded to YouTube and its record is updated with the link.
See how it worksKeep your YouTube videos and stats in Airtable
Your Airtable base lists every video on your channel with its views, likes and comments, refreshed every day.
See how it worksTrack competitor YouTube channel stats in Airtable
Every Monday, each YouTube channel listed in an Airtable table gets a new row with subscribers, total views, video count and growth since last week.
See how it worksKeep exploring
Set up “Collect new YouTube videos on your topics into Airtable” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.