Delete meeting recordings after 30-day retention
Cloud recordings are automatically deleted 30 days after they finish, so retention rules are enforced without anyone remembering to clean up.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/delete-meeting-recordings-after-30-day-retention-for-ops/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Data & Analytics · Data compliance security
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/delete-meeting-recordings-after-30-day-retention-for-ops
Set it up with the CLI
- Add it. Copies the folder into
zaps/delete-meeting-recordings-after-30-day-retention-for-ops/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/delete-meeting-recordings-after-30-day-retention-for-ops - 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 delete-meeting-recordings-after-30-day-retention-for-ops - Check it. Its recent runs, with status and errors.
npx zap-pack logs delete-meeting-recordings-after-30-day-retention-for-ops
zaps/delete-meeting-recordings-after-30-day-retention-for-ops/
- 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
- connections/zoom.tsThe
zoomaccount it uses - triggers/new-recording.tsWhat starts it:
zoomnew_recording - 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: a cloud recording finishes for a meeting or webinar (
zoom,new_recording). - Wait: the Zap pauses for
RETENTION_DAYS(30) days. - Check: a Zoom API GET lists the meeting's recordings. If none remain, the run stops and deletes nothing.
- Delete: Zoom's delete meeting recordings removes the meeting's recordings, using
DELETION_TYPE(permanent).
Nothing is deleted before the retention period ends.
Ask the user
Each REPLACE_… value is set per person. This zap has none, so the questions are about its account and its defaults.
- Which Zoom account holds the recordings to delete? Zoom allows one connection per user, so have that account connected before installing.
Review the defaults with them:
DELETION_TYPEinconfig.ts:"permanent"removes the recordings;"trash"moves them to Zoom's trash first, where they stay about 30 more days.RETENTION_DAYSinworkflow.ts: 30 days. Keep it or change it.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/delete-meeting-recordings-after-30-day-retention-for-ops, replace each REPLACE_… value as this file says, then run npx zap-pack deploy delete-meeting-recordings-after-30-day-retention-for-ops, 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
zoomto the user's Zoom connection for the account that owns the recordings. The trigger and the action use the same one. No other app needs a connection. - Source: publish
workflow.tsandconfig.ts. This zap has noREPLACE_…values, so both go up as written.triggers/new-recording.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 before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test with the sample trigger payload below, which names a meeting ID that doesn't exist. The Zap waits RETENTION_DAYS before it checks, so set it to 0 in the test copy only.
{
"id": 85746065432,
"topic": "[install-test] retention check",
"uuid": "install-test-uuid"
}
Check that the run ends skipped: the check step returns no recording files for the fake ID, and no delete call is made. Before publishing, confirm both. Do not run the delete step against a real recording without the user's say-so.
If run-status tools aren't available, check the result in Zoom directly. The user deletes any test data, not the agent. Publish only after the test passes, and confirm the trigger is active.
Notes
- Zoom has no action that deletes one recording. Delete meeting recordings removes every recording for the meeting, so this Zap does the same.
- Only cloud recordings start the Zap (
new_recording). Local recordings are never targeted. - To shorten or extend the delay, change
RETENTION_DAYS, or build one Zap per period. - To archive first, add a step before the delete that copies the recordings to archive storage. Not built.