Looping through an array that contains collections

Hello ya all!

Hope you are doing really good 🙂

I've been going insane over something so little that I've decided to simply come forward and ask the question.

I have this case where I POST data to Xano, here I need to iterate an array that contains details about additional beneficiaries of a contract.

For each of the additional beneficiaries living in this array, I want to add a record in the database.

First, here is how my array looks like inside the debugger:[array.png]Here is my input (that may just be poorly built):[input.png]And here is myself trying to loop over theses 'JSON items' that just come empty because no iteration is being made and the step is simply skipped:[loop.png]I was wondering if I had to do something beforehand, decode JSON, but no because it is not a string and recognized as an array, tried to extract values from array but no luck.
I also try to make an object as the input instead of a JSON but I think I start to lack skills about this.

What is the big small mistake I'm making now?

Thanks in advance.
Other
4 replies