DEVOPS
Auto-retire preview deployments when their PR is merged or closed
Listens for GitHub pull request merged or closed events and deletes the associated Vercel preview deployments and their aliases.
How it runs
The automated pipeline, trigger to output.
- TriggerGitHub pull_request closed or merged eventGitHub
- LogicConfirm real close/merge and parse branch
- ActionList preview deployments for the branchVercel
- ActionDelete deployments and remove aliasesVercel
- OutputConfirm retired previews in SlackSlack
What it does
Keeps preview deployments from piling up after they stop mattering. When a pull request is merged or closed, it finds the preview deployments tied to that PR's branch and deletes them along with their aliases.
When to use it
Use it when closed PRs leave behind dozens of live preview URLs that still serve traffic, hold storage, and count against bandwidth. Retiring them at PR close keeps the deployment list clean and the bill honest.
How it works
- 1A GitHub webhook fires when a pull request is closed or merged.
- 2A logic step confirms the event is a real close or merge, not just an edit, and extracts the branch name.
- 3The flow queries the Vercel API for preview deployments matching that branch.
- 4It deletes each matching deployment and removes its preview aliases.
- 5It posts a brief confirmation to Slack listing how many previews were retired and the storage reclaimed.
Set it up
What you configure once, before turning it on.
- 1Connect GitHubRepos, issues, pull requests, actions.
- 2Connect VercelDeploys, runtime logs, analytics.
- 3Connect SlackChannels, DMs, threads, mentions.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More DevOps workflows
Slack-approved pause for idle Hugging Face Spaces
On a daily scan it finds idle paid Spaces and posts an interactive Slack approval; on approve it pauses the Space and logs the decision to a GitHub issue audit trail.
Block costly Hugging Face Space hardware upgrades in PR review
When a pull request changes a Space's hardware config, it estimates the new monthly cost and posts a GitHub PR comment that flags upgrades crossing a budget ceiling.
Hugging Face Spaces idle-runtime sweep with auto-pause
On a schedule, scans all Hugging Face Spaces for ones running idle past a threshold, pauses them to stop billing, and posts a Slack summary with the estimated monthly savings.
Open a Zoom war-room from a Datadog multi-alert storm
When a Datadog monitor crosses a critical threshold, this workflow dedupes against active incidents, and only for a genuinely new outage it creates a Zoom bridge.
Auto-spin a Zoom war-room when PagerDuty hits SEV-1
When a PagerDuty incident escalates to a critical severity, this workflow creates a dedicated Zoom meeting and posts the bridge link to the incident's Slack channel so responders…
Spin up a war-room on demand from a Slack slash command
When an engineer runs a Slack command, this workflow creates a Zoom bridge, opens a tracking Sentry-linked incident, files a Linear issue for follow-up.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
