When I try to use an action that connects with Teams, I get the following error:
The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerBody()' is of type 'Object'. The result must be a valid array.
So, Teams can interact with the required action, but it hasn't been able to read it with the expected format.
What is the correct expression I should use in Teams?
I’m attaching images of the action and the Teams error.
enter image description here enter image description here