Manipulating JSON in n8n


Newbee here…

How do I get this JSON in n8n:

to become this:

I guess it’s very simple in n8n, but I just can’t figure it out…

Hi @Klop Welcome to the n8n community :tada:

is this what you’re looking for?

1 Like


Thank you for your reply.

Kind of what I’m looking for, but I found a workaround:

The three Code nodes do the job, but I think it can be done a bit nicer :wink:

1 Like

@Klop The Aggregate is made for this

Just change the mode to “All Item Data (Into Single List)” as shown here:

1 Like


That did it - Thank you :grinning:

1 Like

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