I’m working on automating a social media report workflow using Make. The workflow involves downloading CSV files from the Meta Business (Insights) Dashboard, which contain performance data for social media posts and pages.
The challenge I’m facing is that the CSV files have headers with double quotes around multi-word field names (e.g., “Total Reach”), which causes the CSV parse module in Make to fail in recognizing the headers. Instead, it just returns the columns as numbers.
I’ve configured the Parse CSV module like you see below but it returns an error.
I’m suspecting a prticular header that’s causing this which is: “Reactions, Comments and Shares” which is normally the sum of those three KPIs. But I could be wrong.
@damato Thanks for your reply. But there’s a a single metric (header) in Meta’s CSV which is called Reactions, Comments and Shares. And as you can see it contains a comma which breaks into 2 properties when taking it through the parser (check screenshot below). I tried wrapping the header through double quotes, but still same result. Is there a workaround?
Yes, that’s exactly the workaround. Wrap it in double quotes, either inside the file and in the “CSV headers” field of Parse CSV. Then use comma as the separator.