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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,648)