Aggregate topic videos into a searchable content table
New YouTube videos on your topic are added to a searchable table with their title, channel, link, publish date and description, ready for tagging and scheduling.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/aggregate-topic-videos-into-a-searchable-content-table/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Personal Productivity · News content feeds
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/aggregate-topic-videos-into-a-searchable-content-table
Set it up with the CLI
- Add it. Copies the folder into
zaps/aggregate-topic-videos-into-a-searchable-content-table/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/aggregate-topic-videos-into-a-searchable-content-table - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy aggregate-topic-videos-into-a-searchable-content-table - Check it. Its recent runs, with status and errors.
npx zap-pack logs aggregate-topic-videos-into-a-searchable-content-table
zaps/aggregate-topic-videos-into-a-searchable-content-table/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 3 to fill in
- connections/youtube.tsThe
youtubeaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - triggers/video-search.tsWhat starts it:
youtubevideo_search - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: YouTube, New Video by Search (
youtube,video_search). It fires for each new video uploaded that matches your topic search string. - Filter: the run continues only if the video title contains your keyword. Other videos are skipped without writing anything.
- Zapier Tables creates one record in your content table with the video's title, channel name, permalink, publish date and description.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
TOPIC_QUERY |
The search string the YouTube trigger watches for new uploads: your topic |
TITLE_KEYWORD |
A word the video title must contain for the video to be kept. Usually the same as the topic |
TABLE_ID |
The content table in Zapier Tables that receives rows |
The content table needs columns for title, channel, permalink, publish date and description.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/aggregate-topic-videos-into-a-searchable-content-table, replace each REPLACE_… value as this file says, then run npx zap-pack deploy aggregate-topic-videos-into-a-searchable-content-table, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
zapier-tablesto the user's Zapier Tables connection for the account that owns the content table. The YouTube trigger uses the user'syoutubeconnection, set fromconnections/youtube.ts. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/video-search.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger, if it has one, before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run this sample as a draft test run (run_workflow_draft in Zapier MCP) before publishing. Use a video whose title contains the keyword:
{
"title": "Example video about the topic",
"channel": "Example Channel",
"url": "https://www.youtube.com/watch?v=EXAMPLE",
"published_at": "2026-10-29T10:00:00Z",
"description": "A short description of the video."
}
Confirm that one new row appears in the content table with the five values filled in. Then run it again with a title that lacks the keyword and check that no row is added. If run-status tools aren't available, check the result in Zapier Tables directly. The user deletes the test row afterwards, not the agent.
Then publish, confirm the trigger is active, and check that new matching videos arrive in the table.
Notes
- Each run creates a row for each new matching video. If the same video is found twice, it creates a second row. Add a duplicate check on the permalink before creating the row if that happens.
- To tidy the data, add a Formatter step to shorten the description or format the publish date before the row is created.
- To alert editors, add a Slack or email step after the row is created for high-priority matches.
- Keep real table IDs and topics you do not want shared out of commits.