Describe the problem/error/question
Loading in a CSV from a binary file(source email attachment) doesn’t immediately work.
Selecting start line 2 works, but then the header row is missed and rows don’t map to the next steps nicely.
Selecting Header row and start line 2 works, but the first actual data row then becomes the headers which isn’t right.
See further down for screenshot outputs.
No amount of other settings in the Extract from CSV options changes the outputs.
Opening CSV in Excel works fine.
I couldn’t find any similar issues, so apologies if has been addressed elsewhere.
thanks,
What is the error message (if any)?
No errors, nothing in dev console
Please share your workflow
Can’t share the flow as it has private data, and the source is an email, the attachments end up as binary data, and its those I’m telling the Extract from CSV to read. Extract from text works, but then I can’t do anything with the data as its all mushed together.
This is the configured Extract from CSV:
Sanitised CSV(with 50+ more lines in the real thing, but all the same until the totals at the end):
Customer Name,Product Code,Product Description,Quantity,Unit Price,Total Price,Billing Cycle,Invoice Period,Next Issue Date,Notes
"Client","WPS","Server - Server Agent","1","$50","$50","Monthly","01 Mar - 31 Mar","01-03-2024","",""
"Client2","WPU50","User - 50GB","60","10","$600.00","Monthly","01 Mar - 31 Mar","01-03-2024","",""
,,,,EX-GST,$650.00,
,,,,GST,$65.00,
,,,,Total Inc.,$715.00,
Share the output returned by the last node
There is no output whatsoever if I don’t tell it to start at line 2.
Header row enabled and start line 2:
Header row disabled and start line 2:
Information on your n8n setup
- n8n version: 1.27.2
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu