FINANCE

Processor-vs-Ledger Variance Alert

On each scheduled run, reconciles Stripe payouts against the booked amounts in Snowflake and raises a PagerDuty incident only when the unreconciled variance breaches your…

CategoryFinance
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHourly business-hours schedule
  • ActionPull recent Stripe payoutsStripeStripe
  • ActionFetch booked ledger entries from SnowflakeSnowflakeSnowflake
  • LogicMatch payouts to ledger and sum variance
  • LogicCompare variance to tolerance threshold
  • OutputOpen PagerDuty incident on breachPagerDutyPagerDuty

What it does

Compares actual processor payouts to what your ledger expected, line by line, and escalates only material breaks. Small rounding differences stay silent; a real reconciliation gap pages the on-call finance engineer immediately.

When to use it

Use this when missed or misbooked payouts cost you days to discover. It turns end-of-month reconciliation surprises into same-day catches, which matters most for teams with high payout volume or tight close deadlines.

How it works

A scheduled trigger runs hourly during business hours. An action pulls recently arrived Stripe payouts with their settlement dates and amounts. A Snowflake query fetches the corresponding booked entries. A logic step matches payouts to ledger rows and sums the absolute unreconciled variance. A second logic branch checks that variance against your configured tolerance: under threshold, the run ends quietly; over threshold, an action opens a PagerDuty incident with the offending payout IDs and the dollar gap so the on-call can investigate.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect StripeCustomers, subscriptions, payments.
  2. 2
    Connect SnowflakeWarehouses, queries, shares.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  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.