Validate invoices against inventory and create purchase orders
An n8n workflow built for a client matches invoice data to a Google Sheets inventory, creates ERP purchase orders and notifies purchasing; about 90% of invoices are handled automatically.
Done withn8n
- What they did
- A 23-node n8n workflow watches the client's Gmail for invoice emails, pulls out the PDF attachments and sends them to OpenAI's vision model to extract vendor, amount, items and dates. It checks the data against a Google Sheets inventory. If items match and amounts look reasonable, it creates an ERP purchase order, posts to Slack and replies to the sender.
- How it went
- The client went from manually handling 40-50 invoices a week to about 90% processed automatically, saving roughly 8-10 hours weekly. The author built it in 3 days, mostly handling edge cases, then trained the operations manager in about 2 hours.
- Worth knowing
- n8n counts every node run as an execution, so each invoice uses about 23. At 200 invoices a month, the author says the Pro plan is the minimum.
Try it yourself with n8n
Build me an n8n workflow that triggers when a new invoice arrives at [email inbox or folder], extracts the vendor, line items and quantities, and checks them against my inventory in [Google Sheets link]. If items are low or match a reorder rule, create a purchase order in [ERP or tool] and notify [purchasing contact] on [Slack or email]. Send anything it can't match to a review list instead of acting on it, and pause to show me the purchase order it is about to create before you enable the live version.
Source: dev.to · Undated
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
Draft email replies and LinkedIn posts with n8n workflows
The author built n8n workflows that draft Gmail replies for approval, generate LinkedIn posts from a topic, and extract tasks from emails into Google Tasks or Notion.
Call and text appointment reminders every morning
An n8n workflow pulls the day's Google Calendar appointments, places automated voice calls via Retell AI, then sends follow-up SMS through Twilio.
Track daily arXiv papers into a Notion database
An n8n workflow fetches arXiv papers daily for a keyword, summarizes them with Gemini 2.5 Flash, writes them to Notion and sends Feishu and Gmail notifications.
- GitHub Copilot
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Run a VC analyst agent over Telegram
A VC set up an OpenClaw agent as an analyst on a cheap VPS, reachable by Telegram, which he says could save dozens of hours per quarter.
- Custom agent
Chase unpaid invoices and paperwork by email for small firms
An agent watches for unpaid invoices and paperwork, emails people until they say yes, no, or pay, and escalates decisions to the owner.