INVOICE PROCESSING
Diff PDF Invoice Line Items Against Last Month into Notion
When a vendor PDF invoice lands in a Drive folder, extracts its line items, diffs each against the prior month's invoice for that vendor.
How it runs
The automated pipeline, trigger to output.
- TriggerNew PDF invoice in Google Drive folderGoogle Drive
- ActionExtract line items with OpenAIOpenAI
- ActionLoad prior invoice line items from NotionNotion
- LogicDiff line items and flag increases
- ActionCreate Notion review page with changed linesNotion
- OutputNotify reviewer in Slack with page linkSlack
What it does
This workflow goes deeper than a single total. When a vendor drops a PDF invoice into a watched Google Drive folder, it extracts the individual line items, then compares each line against the same vendor's previous invoice. It pinpoints exactly which charge crept up, by how much, so you can challenge the specific line rather than just noticing the total moved.
When to use it
Use it for vendors with itemized invoices, such as cloud infrastructure, telecom, or managed services, where the headline total may look stable while individual line items quietly inflate or new charges sneak in.
How it works
- 1A new PDF invoice appears in the watched Google Drive folder.
- 2The file content is read and an OpenAI step extracts structured line items with descriptions and amounts.
- 3The workflow loads the vendor's prior invoice line items from a Notion archive.
- 4A logic step diffs line by line, flagging increases, new charges, and removed items.
- 5A Notion review page is created listing every changed line with old versus new amounts.
- 6If any flagged increase clears the threshold, a Slack note links the reviewer to the Notion page.
Set it up
What you configure once, before turning it on.
- 1Connect Google DriveDocs, sheets, slides, files.
- 2Connect OpenAIModels, embeddings, files.
- 3Connect NotionPages, databases, comments.
- 4Connect SlackChannels, DMs, threads, mentions.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Invoice Processing workflows
Dollar-Threshold Match Variance Escalation Chain
Routes three-way match variances up an approval ladder by dollar size — small ones to the line manager, large ones to the controller.
Front vendor invoice to Airtable approval packet with line-item parse
Watches a Front inbox for vendor invoice emails, extracts header and line-item data from the body and PDF attachment, and writes a structured.
Gate invoice approvals on a duplicate cross-check
When an approver clicks Approve in your AP system, a webhook re-validates the invoice against paid history in Postgres and Stripe charges.
Three-Way Match Exception Router by Variance Type
When a new invoice fails three-way match against its PO and receiving record, this workflow classifies the mismatch (price, quantity, or missing receipt) and routes each variance…
Route parsed Front invoices to the right Slack approver by amount
Parses an incoming Front vendor invoice and posts an interactive Slack approval card to the approver whose spending threshold matches the invoice total.
Three-way match Front invoices against purchase orders in Postgres
Parses a Front vendor invoice and runs a three-way match against the matching purchase order and receipt records in Postgres, posting pass or exception results to Slack.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
