DATA OPS

On-Demand Schema Drift and Freshness Pre-Flight Check

A webhook-triggered check that a dbt or pipeline job calls before publishing, verifying source BigQuery tables are both fresh and structurally unchanged.

CategoryData Ops
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerPre-flight webhook from upstream jobHTTP webhook
  • ActionFetch load times + column schemasGoogle BigQueryBigQuery
  • LogicCheck freshness + schema fingerprint
  • LogicSet pass/fail status for caller
  • OutputAlert Teams on failure with reasonMicrosoft Teams

What it does

Acts as a pre-flight gate for downstream jobs. When a pipeline or dbt run calls the webhook before it starts, this workflow verifies two things about each source BigQuery table: that it loaded within its freshness window and that its column schema matches the recorded expected fingerprint. If a table is stale or its schema drifted, the check returns a fail status and posts the reason to Microsoft Teams, letting the caller abort before propagating bad or incompatible data.

When to use it

Use this when a transformation job must never run on stale or structurally changed inputs, for example a nightly model build feeding executive reporting where a silent schema change would corrupt output.

How it works

  1. 1A webhook from the upstream job triggers the run with the target table list.
  2. 2A BigQuery action fetches last-load times and current column schemas.
  3. 3A logic step compares freshness against SLA and schema against the stored fingerprint.
  4. 4A branch sets a pass or fail status the caller reads from the response.
  5. 5On failure, a Microsoft Teams message names the offending table and the specific reason.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect Microsoft TeamsChannels, chats, files.
  3. 3
    Connect HTTP webhookTrigger any URL on agent actions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    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.