cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DCflow
Level: Powered On

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
dbro
Level 8

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

Hey @DCflow ,

 

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

Super User
Super User

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

Hi @DCflow 

 

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!



View solution in original post

8 REPLIES 8
Highlighted
dbro
Level 8

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

Hey @DCflow ,

 

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

DCflow
Level: Powered On

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 

Super User
Super User

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

Hi @DCflow 

 

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!



View solution in original post

ShreyShah002
Level: Power Up

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

Testing
megan_b
Level: Power Up

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

 
DCflow
Level: Powered On

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

megan_b
Level: Power Up

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

ShreyShah002
Level: Power Up

[dkvsms]

855565

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 232 members 5,448 guests
Please welcome our newest community members: