WooCommerce Order Line Items

Hi @seank1968, unfortunately the JSON you have provided is incomplete, so I don’t know the exact structure of the data you’re currently working with.

But assuming line_items is a top level field of your n8n items, you could first use the Item Lists node to split out line_items like so:

You can then use a second Item Lists node to split out the meta_data field for each line item and finally a Set node defining the exact fields you’d like to see, e.g. like so:

Example Workflow