Newbie here. I use a webhook node to receive a list of customers with name, phone number e balance. Every time the web hook is called, the node might have 1 or more customers. I am trying to use the SET node to extract the customers’ info from the JSON to append to a Google Sheet.
I think you may have asked about this on Discord as well, One solution for you would be to use an Item Lists node before the Set and set the option to Body then use the Set node after that.
Basically, I am able to use n8n to parse the output of the json when the endpoint returns one item, but not when the endpoint returns more than one item. Very frustrating.
You need to use the itemlists node to split the items. (so changing the operation)
You need to split it on the data field.
After that your items will be the once that are inside the array. So each item will be one of the array objects.
I selected Split out function and the data (everything), but am getting an error “ERROR: Couldn’t find the field ‘[object Object],[object Object]’ in the input data”