DATA OPS

Three-way reconciliation of Postgres source, Intercom destination, and an audit ledger

Reconciles row counts across a Postgres audience query, the Intercom segment it feeds, and an Airtable audit log, then writes the daily reconciliation result back to Airtable.

CategoryData Ops
Enginesim
Difficultyadvanced
Triggerschedule
Steps7
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily post-sync schedule
  • ActionCount eligible rows in Postgres source queryPostgreSQLPostgres
  • ActionFetch Intercom segment member countIntercomIntercom
  • ActionRead expected count from Airtable ledgerAirtableAirtable
  • LogicClassify discrepancy: extraction vs load vs balanced
  • ActionAppend reconciliation result row to AirtableAirtableAirtable
  • OutputPost daily reconciliation digest to SlackSlack

What it does

Performs a three-way row-count reconciliation for a reverse-ETL sync into Intercom. It compares the eligible rows in your Postgres source, the actual member count of the Intercom segment, and the count your audit ledger expected, surfacing exactly where records leaked.

When to use it

Use it when you need an auditable trail, not just an alert, such as syncs that drive lifecycle messaging where over- or under-targeting has compliance weight. A two-way check tells you something is off; this three-way check tells you whether the loss happened at extraction, at load, or in your own bookkeeping.

How it works

  1. 1A daily schedule kicks off the reconciliation after the nightly sync window.
  2. 2Query Postgres for the count of rows matching the audience definition.
  3. 3Fetch the live member count of the target Intercom segment.
  4. 4Read the expected count from the prior run's Airtable ledger entry.
  5. 5A logic step classifies the discrepancy as extraction loss, load loss, or in-balance.
  6. 6Append a timestamped reconciliation row to Airtable with all three counts and the verdict.
  7. 7Post a digest line to Slack summarizing today's result and pointing to the ledger.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect IntercomConversations, contacts, articles.
  3. 3
    Connect AirtableBases, tables, views, automations.
  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.