Compare supplier price lists from CSV and generate margin reports
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs when someone submits an n8n form (“Tedarikçi fiyat CSV”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Tedarikçi fiyat CSV”).
- Read previous CSV text (Extract from File): extracts data from a file (text)
- Read current CSV text (Extract from File): extracts data from a file (text)
- Compare prices (Code): runs custom JavaScript code
- HTML report (Convert to File): converts data to a file (to text)
- Summary CSV (Convert to File): converts data to a file (to text)
- Alerts CSV (Convert to File): converts data to a file (to text)
- Counts CSV (Convert to File): converts data to a file (to text)
- Dry-run JSON (Convert to File): converts data to a file (to text)
- Rows for Excel (Split Out): splits a list into separate items
- Write fiyat-rapor.html (Read/Write Files from Disk): writes a file to disk
…plus 9 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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Code
n8n-nodes-base.code - Convert to File
n8n-nodes-base.convertToFile - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Split Out
n8n-nodes-base.splitOut - Merge
n8n-nodes-base.merge - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow uses an n8n Form to upload previous and current supplier price CSV files, compares them by SKU, calculates price-change classes and optional margin impact, generates HTML/CSV/XLSX reports, and writes the output files to a folder…