Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Extract and validate invoice data with OpenAI, Gmail and Google Sheets

A webhook receives uploaded invoices, extracts fields with OpenAI, skips duplicates in Google Sheets and posts clean ones to accounting. Flags issues by Gmail and sends a daily 8 AM review reminder.

What it does

### How it works Two lanes. (1) Invoice intake: a webhook receives an uploaded invoice file; the workflow validates the file type, extracts the text (PDF OCR), and an AI information extractor pulls the vendor, date, line items and totals. It then checks Google Sheets for duplicates and validates the totals — clean invoices post straight to your accounting software via HTTP (the QuickBooks/Xero endpoint you configure), while anything suspicious lands in a human review queue with an email alert to the owner. (2) Review queue reminder: every morning at 8 AM it emails the owner a list of invoices still sitting in "review" status so nothing gets forgotten. ### Setup 1. Connect your own credentials (every credential slot is a placeholder — nothing is included): OpenAI, Google Sheets, Gmail. 2. Fill both CONFIG nodes: owner email, log sheet ID. 3. Create a Google Sheets tab named Invoices. 4. Edit the "Post to Accounting - HTTP" node with your QuickBooks/Xero endpoint + auth. 5. Activate the workflow and point your upload form or email parser at the Invoice Webhook production URL.

The steps

  1. Invoice Webhook
  2. CONFIG - Invoices
  3. Validate File Type - Code
  4. IF - File Valid?
  5. Extract Text - PDF
  6. Extract Fields - Info Extractor
  7. Chat Model - Invoices
  8. Check Duplicates - Sheets
  9. Find Duplicates - Code
  10. IF - Duplicate?
  11. Flag Duplicate - Gmail
  12. Validate Totals - Code
  13. IF - Needs Review?
  14. Queue for Review - Gmail

22 steps in total.

Similar automations