cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Kudo Kingpin
Kudo Kingpin

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

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

Highlighted
Super User III
Super User III

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

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 blog

View solution in original post

10 REPLIES 10
Highlighted
Kudo Kingpin
Kudo Kingpin

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

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

Highlighted
Anonymous
Not applicable

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

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

Highlighted
Super User III
Super User III

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

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 blog

View solution in original post

Highlighted
New Member

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

Testing
Highlighted
New Member

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

 
Highlighted
Anonymous
Not applicable

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

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

Highlighted
New Member

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

Highlighted
New Member

[dkvsms]

855565
Highlighted
New Member

Re: Trying to get a plain text output for the body of Teams messages in my FloHeyw

MrPixel.jpg

Highlighted
New Member

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

Canon_40D.jpg

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,377)