Every 30 minutes
Write captions for Drive videos and track them in Airtable
Each video or photo you drop into a Drive folder gets a caption and hashtags and appears in your Airtable content table, ready to post.
- Runs
- Every 30 minutes
- Apps
- Airtable, Google Drive
- AI
- Yes, uses the built-in AI allowance
- Access
- Drive read; Airtable write
Send this to your assistant
Create a ClickRuntime automation: when a new video appears in my Drive 'Reels' folder, write a caption and hashtags from its name and description, and add it to my Airtable 'Content' table as ready to post with the Drive link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A café owner films short clips on their phone through the week and saves them to a Drive folder. Posting means watching each clip again, thinking of a caption, choosing hashtags and remembering which ones have already gone out. Clips pile up, and the account goes quiet for days at a time.
Turning each new clip into a ready-to-post row in Airtable, with a draft caption and hashtags, gives the owner a content calendar that fills itself. Posting becomes a five-minute job: open the table, tweak the caption, post, change the status.
What you get out of it
A caption is waiting for each clip
Every new video or photo gets a draft caption and a few hashtags, so you edit rather than write from scratch.
One list of what's ready
The Content table shows each file, its caption and whether it has been posted, so nothing is posted twice or forgotten.
Your voice, not a generic one
The script includes a short description of your brand tone, so captions sound like your account.
Files stay in Drive
The record links to the original file, so you download it from one place when you post.
How it works
What happens, step by step
Every 30 minutes, ClickRuntime checks your Reels folder in Drive for new videos and photos.
It reads each file's name and any description you added.
AI writes a short caption and a few hashtags in your brand's tone.
A record is added to your Airtable Content table with the caption, the Drive link and the status Ready to post.
The newest file time is remembered, so each file gets one record.
Before it runs live
- Connect Airtable
- Connect Google Drive
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 Airtable and Google Drive steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, ai, state, report_fetched
BASE_ID, FOLDER_ID = "appXXXXXXXXXXXXXX", "1FolderIdOfReels"
TONE = "Friendly neighbourhood café, warm and a little playful, no more than two emojis."
SCHEMA = {"type": "object", "properties": {"caption": {"type": "string"}, "hashtags": {"type": "string"}},
"required": ["caption", "hashtags"]}
@on_trigger
def run(event):
drive = build("drive", "v3", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
since = state.get("since") or "2026-01-01T00:00:00Z"
q = (f"'{FOLDER_ID}' in parents and createdTime > '{since}' and trashed = false "
"and (mimeType contains 'video/' or mimeType contains 'image/')")
files = drive.files().list(q=q, orderBy="createdTime",
fields="files(id,name,description,createdTime,webViewLink)").execute()["files"]
report_fetched(len(files))
if not files:
return {"new": 0}
headers = {"Authorization": f"Bearer {credentials.connection('airtable', 'work')}"}
for f in files:
post = ai.generate(f"File name: {f['name']}\nDescription: {f.get('description', '')}", json_schema=SCHEMA,
system=f"Write a short social caption (under 40 words) and 5 hashtags. Tone: {TONE}",
max_output_tokens=200).json
http.post(f"https://api.airtable.com/v0/{BASE_ID}/Content", headers=headers, json={"typecast": True,
"records": [{"fields": {"File": f["name"], "Link": f["webViewLink"], "Caption": post["caption"],
"Hashtags": post["hashtags"], "Status": "Ready to post"}}]}).raise_for_status()
state.set("since", f["createdTime"])
return {"new": len(files)}FAQ
Common questions
Does AI watch the video?
Does it post to Instagram or TikTok for me?
Can it handle photos as well as videos?
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
Screen CVs from a Drive folder into Airtable
Each CV dropped into your Drive folder is read, scored against the job, and saved as a candidate record in Airtable.
See how it worksTurn invoice PDFs in Drive into Airtable rows
Each invoice or receipt you save to a Drive folder becomes an Airtable record with vendor, number, date, total and line items.
See how it worksDraft articles from approved Airtable topics into Drive
Topics you approve in Airtable are written up as draft articles, saved as Google Docs in Drive, and linked back on the record.
See how it worksKeep exploring
Set up “Write captions for Drive videos and track them in Airtable” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.