INVOICE PROCESSING

Catch duplicate invoices as they hit your AP inbox

Watches your accounts-payable Gmail inbox for incoming invoice emails, fingerprints each one, and routes likely duplicates to a review label instead of into the approval queue.

CategoryInvoice Processing
Enginesim
Difficultybeginner
Triggerevent
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew invoice email in AP inboxGmailGmail
  • ActionParse vendor, invoice number, total
  • ActionLook up existing invoice in PostgresPostgreSQLPostgres
  • LogicBranch: new invoice vs. duplicate
  • OutputLabel duplicate in Gmail for reviewGmailGmail

What it does

Monitors the shared AP mailbox and inspects every inbound invoice attachment. It extracts the vendor name, invoice number, and total, then checks those against the Postgres record of invoices already received or paid. Genuine new invoices move forward; suspected re-sends are quarantined for a person to confirm before they ever reach approval.

When to use it

Use this when vendors email invoices and frequently resend the same bill as a reminder, or when forwarded chains create accidental duplicates. It stops the duplicate at intake, the cheapest place to catch it.

How it works

  1. 1A new email arrives in the AP Gmail inbox and triggers the flow.
  2. 2The invoice fields are parsed from the message and attachment.
  3. 3Postgres is queried for an existing invoice with the same vendor and invoice number.
  4. 4A logic branch splits new invoices from probable duplicates.
  5. 5New invoices are recorded in Postgres and left for normal processing.
  6. 6Duplicates get a Gmail label applied and a note back to the AP owner.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GmailRead, draft, send, label.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  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.