INVOICE PROCESSING

Validate vendor-submitted invoices against billing history

When a vendor submits an invoice through your portal, this flow checks it against the vendor's billing history in Airtable and paid records in Postgres.

CategoryInvoice Processing
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerVendor submits invoice via portal webhookHTTP webhook
  • ActionCheck vendor billing history in AirtableAirtableAirtable
  • ActionCheck paid records in PostgresPostgreSQLPostgres
  • LogicFresh invoice vs. resubmission
  • OutputReject and email vendor the reason via GmailGmailGmail

What it does

Guards the vendor self-service portal. The moment a vendor uploads an invoice, the flow validates it against their own billing history in Airtable and your paid-invoice ledger in Postgres. If the invoice number was already submitted or already paid, the submission is rejected at the door with a clear message, keeping duplicates out of the AP pipeline entirely.

When to use it

Use this when vendors submit their own invoices and sometimes re-upload the same one after a delay, or submit a tweaked copy. It pushes the duplicate check upstream to the submitter.

How it works

  1. 1A vendor submits an invoice via the portal webhook.
  2. 2The flow checks the vendor's billing history in Airtable for the same invoice number.
  3. 3It checks the Postgres ledger for an existing paid record.
  4. 4A logic branch decides whether the submission is a fresh invoice or a resubmission.
  5. 5Fresh invoices are written to Airtable and admitted to the queue.
  6. 6Resubmissions are rejected and the vendor is emailed the reason via Gmail.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect AirtableBases, tables, views, automations.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  4. 4
    Connect GmailRead, draft, send, label.
  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.