Follow the next steps to update O365 teams webhook connector to user workflows (power automate - flows).
This flow in power automate is going to be triggered by the webhook and post the message in the channel. The "attachments" field in the webhook is an array, so we need to parse the JSON data to get the content of the message. This will get the first attachment content.
- Create
instant cloud flow
- Provide a name
- Select trigger: When a
Teams webhook request is received
and presscreate
. - Press the
+ New step
button and selectAdd an action
. - Search for
Post card in a chat or channel
action.