INVOICE PROCESSING

Inbox Invoice Intake and Match Validator

Watches a shared AP inbox, parses each emailed invoice PDF, looks up its PO and receipt.

CategoryInvoice Processing
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNew invoice email arrives in AP inboxGmailGmail
  • ActionParse invoice PDF into structured fields
  • ActionLook up PO and goods receipt in PostgresPostgreSQLPostgres
  • LogicRun three-way match and classify result
  • OutputReply requesting missing info or file clean matchGmailGmail

What it does

Handles invoices that arrive as email attachments. It extracts vendor, PO number, line items, and totals from the PDF, finds the matching PO and goods receipt, runs the three-way match, and acts on the result: clean invoices are recorded for payment, while mismatches get an auto-reply to the vendor or internal sender asking for exactly what is missing.

When to use it

Use it when most invoices land in a shared AP mailbox and someone manually opens each PDF to key it in and check it. This automates intake plus the first validation pass.

How it works

  1. 1A new message in the AP Gmail inbox triggers the flow.
  2. 2The invoice PDF is parsed into structured fields (vendor, PO, lines, totals).
  3. 3The flow looks up the referenced PO and goods receipt in Postgres.
  4. 4A decision step runs the three-way match and classifies the result.
  5. 5Clean matches are inserted into Postgres as ready-to-pay.
  6. 6Exceptions trigger a templated email reply requesting the missing receipt, corrected price, or valid PO number.

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.