cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Trying to get a plain text output for the body of Teams messages in my Flow

Trying to output my Teams messages to an endpoint. I choose the Message Body which says it's text only, but ends up coming along with the markup anyway. It says it was text, so I didn't think I would have to parse it.  Works otherwise.

FlowSnip.png

Here's my response output:

{
"response": {
"outputSpeech": {
"text": "Here's what's going on in Teams: {\"Message\":\"<div><div>Testing a Flow</div>\\n</div>\"}
"type": "PlainText"
}
},
"version": "1.0",
"Content-Type": "application/json"
}

 
2 ACCEPTED SOLUTIONS

Accepted Solutions
dbro
Kudo Kingpin
Kudo Kingpin

Hey @Anonymous ,

 

Have you tried to use the html to text action in Flow?  You may have already tried, but i know i have used it in the past in similiar scenarios and it saved my bacon.  If this does end up working, please be sure to mark as the answer.

 

 

View solution in original post

abm
Super User III
Super User III

Hi @Anonymous 

 

Please see below. I was about to post this screenshot earlier and then I saw @dbro  post earlier.

 

teams.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

10 REPLIES 10
dbro
Kudo Kingpin
Kudo Kingpin

Hey @Anonymous ,

 

Have you tried to use the html to text action in Flow?  You may have already tried, but i know i have used it in the past in similiar scenarios and it saved my bacon.  If this does end up working, please be sure to mark as the answer.

 

 

View solution in original post

Anonymous
Not applicable

I haven't yet. I'm looking at it now but I don't know how to capture the output from itFlowSnip2.png 

abm
Super User III
Super User III

Hi @Anonymous 

 

Please see below. I was about to post this screenshot earlier and then I saw @dbro  post earlier.

 

teams.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

ShreyShah002
New Member

Testing

 
Anonymous
Not applicable

This did end up working, but I could not get the compose output available outside of this action so I had to create a variable to put it in. Thanks @dbro and @abm !FlowSnip3.png

855565
ShreyShah002
New Member

MrPixel.jpg

ShreyShah002
New Member

Canon_40D.jpg

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,530)