We have a Discourse forum, and we have had a Microsoft Teams Connector receive webhooks from Discourse, so it will post in a Teams channel when there's a new post on our forum. Teams indicated these Connectors were being deprecated, and that we should switch to a Power Automate Workflow.
I set up that workflow, copied the new URL for the webhook, and updated our forum to post to that new url. The forum did send the messages to the webhook, but the incoming posts failed during processing. Specifically, the "flow run" failed with this error:
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.
Any advice?

Report
All responses (
Answers (