← All builds

Automation · Invoices

Invoice processing

~30 sec per invoice

The n8n invoice workflow: Gmail trigger, PDF extraction, AI check, validation, duplicate lookup and Google Sheets

The problem

Invoices arrive as PDF email attachments and someone has to type each one into a tracker. It is slow, and duplicates and typos are easy to miss.

Built with

n8nGmailGoogle SheetsOpenRouter (Gemini 2.5 Flash Lite)

Highlights

  • Duplicate protection by invoice number
  • Strict don't-guess extraction
  • Failure path with labeling and error logging
  • Handles several attachments per email
Watch the walkthrough Want one like this? Book a call