For a few years, I've used Power Automate to take responses from Microsoft Forms and put that data in a variety of different spreadsheets across a few different Teams, depending on the answers given.
When I set up a new flow recently, I got the error The execution of template action 'All_Numbers' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.
I found one post that suggested moving the get response details outside of the apply to each function, but I'm still getting the same issue (screenshot of after trying that).
The flow:
The error:
I know this happened once before for me, and that somehow rebuilding the flow from the ground up resolved it--but I'd like to know why and how to fix it, so I can avoid it in the future.
I don't have a programming background, and I keep getting a little lost in the searches I've done so far! Please be patient with me.
Thank you!