FINANCE

First-seen merchant and anomaly card alert

Watches the live Stripe Issuing feed for charges at never-before-seen merchants or sharp spend spikes, scores the risk, and pages finance via PagerDuty on high-risk hits.

CategoryFinance
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerStripe transaction-created webhookStripeStripe
  • ActionLook up merchant history and baseline in PostgresPostgreSQLPostgres
  • LogicScore risk from merchant novelty and spend deviation
  • ActionRecord transaction and update baseline in PostgresPostgreSQLPostgres
  • OutputPage PagerDuty on high risk, else notify SlackPagerDutyPagerDuty

What it does

Monitors corporate-card activity for novelty and anomaly rather than fixed category rules. It flags the first charge ever seen at a given merchant, and transactions that spike well above a cardholder's normal pattern. Each hit is scored; low-risk novelties are logged quietly, while high-risk anomalies page the finance on-call so potential card misuse or fraud is caught fast.

When to use it

Use this alongside category-based policy when your real exposure is the unknown: a compromised card, a vendor a team quietly started using, or a sudden large purchase. It catches what a static denylist cannot.

How it works

  1. 1Stripe sends a transaction-created webhook for each new charge.
  2. 2The flow checks the merchant against the known-merchant history in Postgres and compares the amount to the cardholder's rolling baseline.
  3. 3A logic step assigns a risk score from novelty plus deviation.
  4. 4Every transaction and its score is recorded to Postgres, updating the baseline.
  5. 5Low and medium scores route to a Slack channel for awareness.
  6. 6High scores trigger a PagerDuty incident for the finance on-call.

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 SlackChannels, DMs, threads, mentions.
  4. 4
    Connect PagerDutyIncidents, on-call, escalations.
  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.