Build a safe invoice workflow in n8n
They prepared the backend for an invoice process that will later read bills from Gmail, verify them, and route some for approval.
- What they did
- They set up n8n in queue mode with Docker, PostgreSQL, Redis, and a worker process. They also created database tables for suppliers, invoices, and activity tracking, then connected Gmail, OpenAI, Postgres, and Slack. The intended path was Gmail intake, OCR, AI-based field capture, checks for repeat bills and known suppliers, invoice sorting, approval routing, accounting entry creation, and payment scheduling.
- How it went
- No invoices were handled yet. The system was left running with the schema ready, while the later steps for data capture, validation, approval, and accounting were deferred to the next parts of the series.
- Tips
- Because queue mode can rerun stuck jobs, each action should be safe to repeat. Save the n8n encryption key somewhere secure so you can restore it later.
Try it yourself with n8n
Help me design an n8n workflow for supplier bills. Watch Gmail label [invoices], pull out [supplier], [invoice number], [amount], and [due date], then compare the invoice against [my supplier list] and existing records to spot duplicates and confirm the vendor. If the total is above [approval threshold], send it to [approver] and stop there; do not create any accounting entry or schedule payment until I approve the next step.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Save newsletter summaries to Notion from email
They used n8n to pull in unread newsletters, summarize the ones that passed filters, and write the results to Notion.
Set up site alerts and sales-sheet entry
Use n8n to watch managed sites for outages and to turn store sales texts into Google Sheets rows.
Set up AI notetakers for your meetings
Tony L. uses Lindy with Outlook and Slack to create meeting notetakers that replace handwritten notes and send reliable follow-ups.
Build an n8n workflow around Claude agent runs
They used n8n to trigger Claude, move data between services, and save results while Claude handled the multi-step work.
Turn payment alerts into a weekly email digest
They used n8n to gather labeled Gmail payment emails and send a Sunday summary with the main points from each one.
Use n8n to send onboarding PDFs and reminders
They connected n8n to Google Sheets so client welcome packs and follow-up reminders go out on their own.