Transform JSON arrays to CSV

Hi, I’m facing issues when trying to transform multiple JSON arrays into a CSV file.

I have a structure like this:

What I want is to be able to convert this content to CSV but with a single header column instead of e.g. partner_url.0, partner_url.1, etc.

Regards.

Hi @Loan_J, the issue is a subtle one: your data is within arrays inside a single item rather than being in separate items. You can see the difference in the image below, comparing the input and the output:

Here’s an example workflow with a code node that should make the transformation you need:

1 Like

Thanks, that’s helpful

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.