DATA OPS

Reverse-ETL Freshness Triage Agent: Diagnose Stale Sync and File Linear Ticket

When a sync goes stale, an agent investigates the likely cause across warehouse query logs and ETL metadata, then files a Linear ticket with its diagnosis and pings Slack.

CategoryData Ops
Enginepaperclip
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerFreshness-breach webhook receivedHTTP webhook
  • ActionPull BigQuery job history + ETL error metadataGoogle BigQueryBigQuery
  • LogicAgent weighs evidence and infers root cause
  • ActionFile Linear ticket with diagnosis and fix suggestionLinearLinear
  • OutputNotify Slack with ticket link and cause summarySlack

What it does

This is an agent-driven triage workflow. When a reverse-ETL sync breaches its freshness budget, the agent gathers evidence — recent BigQuery job history, the model's last successful load, and error metadata — reasons about the most likely root cause, and opens a Linear ticket with its findings instead of just firing a raw alert.

When to use it

Use it when stale syncs need investigation, not just notification. The agent saves the first hour of debugging by assembling context and proposing a cause (upstream model failure, credential expiry, warehouse query error) before a human picks it up.

How it works

  1. 1A freshness-breach webhook fires with the stale model name and lag.
  2. 2The agent queries BigQuery job history and ETL metadata for that model's recent runs and errors.
  3. 3A logic step lets the agent weigh the evidence and pick the most probable root cause.
  4. 4The agent files a Linear ticket with the diagnosis, evidence links, and a suggested fix.
  5. 5A Slack message notifies the channel with the ticket link and one-line cause summary.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect BigQueryDatasets, queries, schemas.
  3. 3
    Connect LinearIssues, projects, cycles, triage.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.