DATA OPS
Weekly orphaned stale-table cleanup review
Weekly, finds warehouse tables that have been stale far beyond their SLA with no downstream consumers.
How it runs
The automated pipeline, trigger to output.
- TriggerWeekly cleanup schedule
- ActionFind tables stale past SLA windowBigQuery
- ActionCheck lineage + access logs for consumersBigQuery
- LogicRank orphaned decommission candidates
- ActionCreate review page with evidenceNotion
- OutputLink review to platform teamSlack
What it does
Finds the cost-and-clutter problem hiding behind freshness alerts: tables that stopped updating long ago and that nothing downstream reads. It cross-references staleness against lineage consumption and query history, then compiles a decommission-candidate list for human review instead of auto-deleting anything.
When to use it
Use it for periodic warehouse hygiene when stale-table alerts accumulate for assets nobody actually depends on. It converts alert fatigue into a deliberate cleanup decision with an audit trail.
How it works
- 1A weekly schedule starts the review.
- 2A BigQuery query identifies tables stale well past their SLA window.
- 3A second query checks lineage edges and recent access logs to find which stale tables have zero downstream consumers and no recent reads.
- 4A logic step ranks candidates by storage footprint and days-since-last-read.
- 5A Notion page is created listing each candidate with evidence and an owner approval checkbox.
- 6A Slack message links the review page to the data platform team.
Set it up
What you configure once, before turning it on.
- 1Connect BigQueryDatasets, queries, schemas.
- 2Connect NotionPages, databases, comments.
- 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 Data Ops workflows
Weekly BigQuery Cost Trend Sheet and Exec Digest
Compiles week-over-week BigQuery scheduled-query cost by owner and dataset into a Google Sheet with trend columns.
Daily BigQuery Scheduled-Query Cost Attribution to Owners
Each morning, totals the prior day's on-demand bytes-billed per scheduled query, maps each query to its owner from a label, and posts a per-owner cost leaderboard to Slack.
BigQuery Per-Team Budget Breach Alert to PagerDuty
Tracks month-to-date BigQuery scheduled-query spend per team and, when a team crosses its monthly budget, pages the team's on-call in PagerDuty and snapshots the spend breakdown…
dbt source freshness watcher with severity-routed alerts
Checks Snowflake loaded-at timestamps against each dbt source's freshness SLA, then routes warnings to Slack and hard breaches to a PagerDuty incident so stale data never…
dbt orphan model detector with Linear cleanup tickets
Scans your dbt manifest for models that no other model, exposure, or BI tool consumes.
Raw Sensor Telemetry Archive to BigQuery
Captures every incoming building sensor reading via webhook, normalizes the payload into a consistent schema.
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.
