Process sales CSVs into invoices with data tables and email notifications
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Upload Type (If): checks a condition and branches into true / false
- Extract from File: extracts data from a file (text)
- Extract CSV Text (Extract from File): extracts data from a file (text)
- Parse & Validate CSV (Code): runs custom JavaScript code
- Load Product Catalog (Data table): get
- Return Validation Error (Respond to Webhook): sends the response back to the webhook caller
- Enrich with Product Data (Code): runs custom JavaScript code
- Calculate Invoice Totals (Code): runs custom JavaScript code
- Check for Duplicates (Code): runs custom JavaScript code
- Has Valid Invoices? (If): checks a condition and branches into true / false
…plus 7 more steps. See the full node list below.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - Data table
n8n-nodes-base.dataTable - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set
From the author
🧾 Smart Sales Invoice Processor (Data tables Edition) Transform uploaded sales CSV files into validated, enriched invoices, all handled natively inside n8n using Data tables, validation logic, enrichment, duplicate detection, and automated email…