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をダウンロード ボタンをクリックしてワークフローファイルを保存します。
- 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
- 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