Hello! I'm currently passing a JSON of values from a powerapps app to Power Automate and am trying to append each value to an array variable. In order to do this, I am using an apply to each loop over each Value in my json, which auto generates an external loop. My flow looks like this:
I feel as though this should work, however I am running into this error:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')['Value']' is of type 'Integer'. The result must be a valid array.
To be honest, I'm really not sure how to parse this, as I don't need the "output" of the loop. I just need the append to array function. Anyone able to help?