Upload invoices via form and extract, validate, dedupe, and log to ledger
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 11 nodes and runs when someone submits an n8n form (“Invoice intake”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Invoice intake”).
- Set Ledger Options (Edit Fields (Set)): sets 3 fields: dateOrder, defaultCurrency, nearDuplicateWindowDays
- Create Ledger Table If Missing (Data table): create (table)
- Read Existing Ledger Rows (Data table): get (row)
- Split Uploaded Files (Code): runs custom JavaScript code
- Extract Text From PDF (Extract from File): extracts data from a file (pdf)
- Parse And Classify (Code): runs custom JavaScript code
- Has New Invoices? (If): checks a condition and branches into true / false
- Add New Rows To Ledger (Data table): insert (row)
- Write Summary (Code): runs custom JavaScript code
- Show The Summary (n8n Form): shows the next form page
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Check at runtime on n8n 3.0
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Extract from File
n8n-nodes-base.extractFromFile - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow lets you upload a single PDF invoice via an n8n Form, extracts the PDF text, parses common invoice fields (supplier, dates, totals, VAT, currency) using built-in code logic, and returns the detected fields and checks as a JSON…