i have a case that i get an array of jsons in test, i run a function to parse them:
and i get from it an array of jsons nested in the item[0].
it looks like this:
i would like to batch on the array, but the batch gets the whole array as iteration 1 and finishes.
and i can’t make the ‘items’ array be the array itself (something I’m missing in how n8n builds its items)
looked at Introduction | Docs
is there a fast way to get a json array as text and parse it and iterate over it with batch?
Sorry, not sure if I understand you correctly. But it sounds like you have an array in item 0 and you want to have each element of the array in an own item instead?
If that is the case you can do something like that: