How to group an array by one item?

Hi @Lucas_Vargas, welcome to the community :tada:

This is something you can do using the Set + Item Lists nodes in n8n. Assuming you want to have one field order_number and an array field Data containing all the items for each order number, the workflow could look like so:

This is the result:

Hope this helps :slight_smile:

2 Likes