INVOICE PROCESSING

Nightly Duplicate-Payment Audit Sweep (Snowflake)

Runs every night across the full open-payables table in Snowflake to surface clusters of near-identical invoices across vendors.

CategoryInvoice Processing
Enginesim
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule after invoice load
  • ActionCluster look-alike invoices in open payablesSnowflakeSnowflake
  • LogicRank clusters by likelihood and dollar exposure
  • LogicFilter to clusters above review threshold
  • ActionWrite ranked review queue back to ledgerSnowflakeSnowflake
  • OutputPost morning duplicate digest to financeSlack

What it does

Instead of checking one invoice at a time, this scheduled sweep looks at the whole open-payables set in Snowflake and clusters invoices that look alike across vendors: matching amounts on close dates, shared invoice numbers under different supplier IDs, and similar line-item totals. It builds a ranked list of the riskiest clusters and posts a morning review queue so finance can clear holds before the day's payment run.

When to use it

Use it as a daily backstop alongside real-time checks, especially before a scheduled ACH or check run. It catches duplicates that entered through different channels on different days, which per-invoice triggers can miss.

How it works

  1. 1A nightly schedule triggers the sweep after the day's invoices have loaded.
  2. 2The workflow runs a clustering query over open payables in Snowflake.
  3. 3A scoring step ranks each cluster by likelihood and dollar exposure.
  4. 4A logic step keeps only clusters above the review threshold.
  5. 5The ranked queue is written back to a Snowflake review table and a digest is posted to the finance Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SnowflakeWarehouses, queries, shares.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.