Hello, I am wondering if someone can assist me. My team has attempted to sit up a flow, but the flow run keeps failing. Below is the error message that pops up.

These are the specific error details:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{triggerOutputs()?['body/resourceData']}@{triggerOutputs()?['body']}@{triggerOutputs()?['body/resourceData/responseId']}' is of type 'String'. The result must be a valid array.
I did not set this up and am not sure how to fix it. Any advice?
Thanks.
Sharria