IT OPS
Cloudflare Pages stale deployment sweeper with Axiom storage log
On a nightly schedule, finds Cloudflare Pages deployments older than a retention window, deletes everything except the live production build.
How it runs
The automated pipeline, trigger to output.
- TriggerNightly schedule fires the sweep
- ActionList Pages deployments per projectCloudflare
- LogicFlag deployments past retention, keep live production
- ActionDelete flagged deployments and capture freed bytesCloudflare
- OutputLog reclaimed storage and counts to AxiomAxiom
What it does
Cloudflare Pages keeps every preview and production build you ever shipped, and each one pins its build cache and assets. Over months that quietly bloats your account storage. This template runs nightly, lists all deployments per project, protects the current live production build plus anything inside your retention window, deletes the rest, and writes a structured reclaim record to Axiom so you can chart storage recovered over time.
When to use it
Run this when a busy Pages project accumulates hundreds of preview deployments and you want hands-off cleanup with an audit trail, without ever touching the deployment serving production traffic.
How it works
- 1A nightly schedule fires the sweep.
- 2Cloudflare returns the deployment list for each configured Pages project.
- 3A logic step flags deployments older than the retention window and excludes the live production alias.
- 4Cloudflare deletes each flagged deployment and reports freed bytes.
- 5The run totals reclaimed storage and deletion counts.
- 6Axiom ingests one structured event per run for dashboards and alerting.
Set it up
What you configure once, before turning it on.
- 1Connect CloudflareWorkers, Pages, R2, KV — the edge stack.
- 2Connect AxiomLog streams, queries, dashboards.
- 3Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 4Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 5Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More IT Ops workflows
Daily Building Anomaly Digest to MS Teams
Each morning queries BigQuery for the prior day's flagged sensor anomalies, summarizes them by site and system into a ranked briefing.
Indoor Air Quality Breach to Tenant Notice and Work Order
Listens for CO2, VOC, or humidity sensor alerts via webhook, and when a zone exceeds occupant-safety limits it emails affected tenants, opens a Monday remediation task.
Self-Service Reclaim Email for Idle Users
Detects users idle in a SaaS app past the threshold and emails each one a keep-or-release link; unanswered seats after the deadline are auto-flagged for removal.
Outlook Room Conflict Resolver with Approval Gate in Teams
When an Outlook room clashes, proposes a rebooking and asks the bumped meeting's organizer to approve the move in Microsoft Teams before any change is made.
Outlook Room Double-Booking Resolver with Auto-Rebook
Detects when two meetings claim the same Outlook room resource and automatically relocates the lower-priority meeting to a comparable free room.
Monthly Wasted-License Cost Report
Aggregates inactive-seat data across all tracked SaaS apps each month, computes total reclaimable spend, and delivers a ranked cost report to leadership in Notion and Slack.
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.
