cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
flipside8200
New Member

Stuck Creating Email Message Into A Teams Message With A Channel Mention

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.JSON Error.png

 

I'm not super familiar with JSON and how you have to format things. Any help would be appreciated. Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
v-yujincui-msft
Community Support
Community Support

Hi @flipside8200 ,

 

Maybe you could try to add a Html to text Action.

I have made a test for your reference.

vyujincuimsft_0-1653298225058.png

vyujincuimsft_1-1653298267199.png

vyujincuimsft_2-1653298367648.png

 

Result Screenshot:

vyujincuimsft_3-1653298404004.png

 

 

Best Regards,
Charlie Choi

View solution in original post

1 REPLY 1
v-yujincui-msft
Community Support
Community Support

Hi @flipside8200 ,

 

Maybe you could try to add a Html to text Action.

I have made a test for your reference.

vyujincuimsft_0-1653298225058.png

vyujincuimsft_1-1653298267199.png

vyujincuimsft_2-1653298367648.png

 

Result Screenshot:

vyujincuimsft_3-1653298404004.png

 

 

Best Regards,
Charlie Choi

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,370)