FINANCE

Bank Feed Anomaly Detection with Escalation

Scans the day's bank and Stripe transactions against a rolling baseline in BigQuery, flags outliers like unusual large debits or duplicate charges, and alerts finance on Slack.

CategoryFinance
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSchedule fires after prior business day closes
  • ActionPull day's Stripe and Postgres transactionsPostgreSQLPostgres
  • ActionLoad rolling baseline statistics from BigQueryGoogle BigQueryBigQuery
  • LogicScore transactions and branch by anomaly severity
  • ActionPage on-call for high-severity anomaliesPagerDutyPagerDuty
  • OutputPost all flagged anomalies to SlackSlack

What it does

Runs statistical anomaly checks over each day's transactions. It compares today's debits, credits, and merchant patterns against a 90-day rolling baseline stored in BigQuery, then flags outliers: abnormally large transfers, duplicate-looking charges, or accounts whose net movement breaks their historical range. Low-severity flags go to Slack for review; high-severity ones page on-call.

When to use it

When manual eyeballing of statements misses fraud, double-billing, or misposted entries until reconciliation. Use it as a daily early-warning layer that surfaces only genuine outliers instead of noise.

How it works

  1. 1A schedule triggers after the prior business day closes.
  2. 2Pull the day's Stripe payouts and charges plus posted bank transactions from Postgres.
  3. 3Query the BigQuery baseline (rolling means, standard deviations, known recurring vendors).
  4. 4Score each transaction; branch by severity threshold.
  5. 5For high-severity anomalies, raise a PagerDuty incident for the on-call analyst.
  6. 6Post all flagged items with context and z-scores to the finance Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect StripeCustomers, subscriptions, payments.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect BigQueryDatasets, queries, schemas.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Connect PagerDutyIncidents, on-call, escalations.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    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.