I am working on a flow with power automate the triggers when a new email is delivered into a specific Outlook (Office 365) folder. I then want to post pieces of this email (FROM, Subject, Body) into a Teams message and mention the Channel name in the message so it alerts the people in that channel. I found some good documentation for getting a message posted to Teams with the Channel mention using an HTTP Send Request using a POST JSON object with all the details. Where I'm stuck is getting the dynamic email content into the HTTP Send Request using the JSON object. When I just type in some text in the body section it works just fine, but when I add in the dynamic email fields, I get an error message - "Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format."
I'm not super familiar with JSON and how you have to format things. Any help would be appreciated. Thanks.
Solved! Go to Solution.
Hi @flipside8200 ,
Maybe you could try to add a Html to text Action.
I have made a test for your reference.
Result Screenshot:
Best Regards,
Charlie Choi
Hi @flipside8200 ,
Maybe you could try to add a Html to text Action.
I have made a test for your reference.
Result Screenshot:
Best Regards,
Charlie Choi