This workflow automates Invoice & Payment Tracking (with Approvals) across Notion and Slack.
Ingest — You drop invoices/receipts (PDF/IMG/JSON) into the flow.
Extract — OCR + parsing pulls out key fields (invoice no, vendor, currency, totals, receipt paid amount/date).
De-dup & Match — We canonicalize vendor + invoice_no and search Notion:
Decide the action
Slack approvals (one-click) — A message shows previous paid, this receipt, new total, and Approve buttons (links to a Wait for Webhook resumeUrl). Reviewer picks: Approve Partial / Mark Paid / Manual Review / Archive.
Notion updates
Notifications & duplicates — If duplicates are detected, Slack posts a simple list with clickable invoice names.
Archiving — From Manual Review, Archive goes straight to Archived Invoice DB (and optional Archived Source File DB) as a log entry—no pre-checks needed.
Prerequisites
Invoice No; Number Paid Amount (editable); Select Status; Dates (Issue/Due/Last Payment Date); Formulas:
Amount Total = round(Subtotal - Discount Amount + Tax Total, 2)Amount Due = max(0, round(Amount Total - Paid Amount, 2))Invoice No, Vendor, Paid Amount (number), Currency (select), Paid Date (date), Receipt No, Source URL; Relation → Invoice.Invoice No, Vendor, Reason, Source URL, Original Page ID, Archived At (date).Invoice relation + receipt fields.