01
The problem
Duplicate invoices are one of the most common sources of overpayment in AP. A vendor resends, a copy gets forwarded, and the same bill enters the queue twice. A team processing thousands of invoices a month cannot eyeball every one against the last ninety days of history.
02
How it is built
- 1Webhook trigger starts the run when a new invoice arrives.
- 2Data Table block looks up the workflow's own ledger of already-processed invoices for the same vendor.
- 3Code block scores each candidate on invoice number, amount, and date proximity, and returns a confidence value.
- 4Condition block routes anything above the duplicate threshold to review, and lets clean invoices continue.
- 5Approval block sends the flagged pair to a human side by side and records the confirm-or-dismiss decision.
- 6Data Table block writes the outcome back to the ledger so the next run sees it.
03
The payoff
The scoring is repeatable: the same two invoices score the same way every time, and the reason a pair was flagged is recorded alongside the human decision. You stop paying twice, and you can prove the control ran.
Want this workflow built and maintained for your finance stack?
Book a demo