Converting Teams Webhook with payload type MessageCard to be used in Power Automate "Post to channel when a webhook request is received" workflow
Converting Teams Webhook with payload type MessageCard to be used in Power Automate "Post to channel when a webhook request is received" workflow
Converting Teams Webhook with payload type MessageCard to be used in Power Automate "Post to channel when a webhook request is received" workflow
Re: Converting Teams Webhook with payload type MessageCard to be used in Power Automate "Post to channel when a webhook request is received" workflow
I also posted this in the Microsoft support channel, and I received an answer there:
[https://answers.microsoft.com/en-us/msoffice/forum/all/converting-teams-webhooks-to-power-automate/23704b44-aa49-4b5d-84a3-2c760d195f3e](https://answers.microsoft.com/en-us/msoffice/forum/all/converting-teams-webhooks-to-power-automate/23704b44-aa49-4b5d-84a3-2c760d195f3e)
The answer:
"
What you can do is add a compose step immediately after the webhook received trigger, and perform the transformation into what you want there, e.g.
[https://i.sstatic.net/ywukRj0w.png](https://i.sstatic.net/ywukRj0w.png)
I got that working from the guidance here - [https://github.com/prometheus/alertmanager/issues/3920#issuecomment-2219950227](https://github.com/prometheus/alertmanager/issues/3920#issuecomment-2219950227)
"
I did not confirm this works, as I have already adapted my payload instead of editing the Workflow, but it seems to be a sound approach.
[https://answers.microsoft.com/en-us/msoffice/forum/all/converting-teams-webhooks-to-power-automate/23704b44-aa49-4b5d-84a3-2c760d195f3e](https://answers.microsoft.com/en-us/msoffice/forum/all/converting-teams-webhooks-to-power-automate/23704b44-aa49-4b5d-84a3-2c760d195f3e)
The answer:
"
What you can do is add a compose step immediately after the webhook received trigger, and perform the transformation into what you want there, e.g.
[https://i.sstatic.net/ywukRj0w.png](https://i.sstatic.net/ywukRj0w.png)
I got that working from the guidance here - [https://github.com/prometheus/alertmanager/issues/3920#issuecomment-2219950227](https://github.com/prometheus/alertmanager/issues/3920#issuecomment-2219950227)
"
I did not confirm this works, as I have already adapted my payload instead of editing the Workflow, but it seems to be a sound approach.