Receiving a csv file in a webhook and transforming it into a JSON file

Hello,

I try to receive a csv file in a webhook. I can see i’ve got the right file by dowloading it but i don’t see it in the output.

I’ve got this in the “JSON view” :

I try to transform the csv file in a JSON file after that but it doesn’t work. I can’t get the columns and their values.

Please share your workflow

Share the output returned by the last node

The csv file should be like this :

image

I don’t understand what i am missing.

Thank you for your time.
Have a nice day.

Information on your n8n setup

  • n8n version: 1.34.2 (Latest Stable)
  • Database (default: SQLite): None
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Don’t know. Where can i find this information?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: Cloud

You don’t need the convert node, as you already have the csv file in the binary data. Use extract node with pointing to binary field data.csv

It works! Thank you barn4k