INVOICE PROCESSING

Guard against duplicate or double-period vendor billing

On each new vendor invoice, checks BigQuery for an existing invoice covering the same vendor and billing period.

CategoryInvoice Processing
Enginesim
Difficultyadvanced
Triggerevent
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew vendor invoice emailOutlook
  • ActionParse vendor, number, billing period
  • ActionSearch history for overlapping invoiceGoogle BigQueryBigQuery
  • LogicClassify duplicate vs overlap vs clear
  • ActionRaise incident on suspected duplicatePagerDutyPagerDuty
  • OutputAlert AP to hold paymentSlack

What it does

Catches the costly anomaly of paying twice: a vendor that re-sends an invoice, bills the same period under a new number, or whose charge overlaps a period you already paid. On every incoming invoice it looks for a prior record covering the same vendor and billing window and blocks the obvious duplicates from sliding through.

When to use it

Use this when invoice volume is high and duplicate or overlapping-period bills are a recurring leak. It is most valuable for vendors that frequently reissue or change invoice numbering.

How it works

  1. 1A new invoice email triggers the run from the AP inbox in Outlook.
  2. 2The vendor, invoice number, and covered billing period are parsed.
  3. 3The flow queries BigQuery for any existing invoice from the same vendor covering an overlapping period.
  4. 4A branch classifies the match as exact duplicate, overlapping period, or clear.
  5. 5Suspected duplicates raise a PagerDuty incident and a Slack alert with both invoice references so payment is held pending review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect OutlookMail, calendar, contacts.
  2. 2
    Connect BigQueryDatasets, queries, schemas.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  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.