Process Sales CSVs into Invoices with Data Tables and Email Notifications — n8n 工作流
概览
🧾 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 notifications.
This workflow demonstrates a full ETL + business automation pattern, turning raw CSV data into structured, auditable records ready for storage and customer notifications.
✨ Features
✅ Multi-format CSV input (file upload or raw text)
✅
使用的节点
Code
工作流预览
⚡
R
Receive Sales CSV
C
Check Upload Type
E
Extract CSV Text
Parse & Validate CSV
Enrich with Product Data
Calculate Invoice Totals
Check for Duplicates
H
Has Valid Invoices?
Prepare Email Notificati…
Merge Results
⚡
R
Return Success Response
⚡
R
Return Duplicate Error
L
Load Product Catalog
I
Insert row
A
Aggregate
E
Email Output Preview
E
Extract from File
⚡
R
Return Validation Error
18 nodes18 edges
工作原理
- 1
触发器
工作流由 webhook 触发器启动。
- 2
处理
数据流经 18 个节点, connecting aggregate, code, datatable。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (18)
CO#1
Code
code
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
process-sales-csvs-into-invoices-with-data-tables-and-email-notifications文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Process Sales CSVs into Invoices with Data Tables and Email Notifications", "nodes": [...], ...}
集成
aggregatecodedatatableextractfromfileifrespondtowebhooksetwebhook
创建者
Patrick Siewert
@patrickn8n
标签
aggregatecodedatatableextractfromfileifrespondtowebhooksetwebhook