I am trying to send a curl request to the workflow url and it is getting invoked.
Action 'Send_each_adaptive_card' failed
The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.
I am sending a valid JSON message as the data as follows.
# Send the alert using curl
curl -v -H "Content-Type: application/json" -d "${JSON_PAYLOAD}" "${WEBHOOK_URL}"