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

Post message as the Flow Bot not working as expected

I am using the 'Post message as the Flow Bot' action to post Microsoft Teams 'message body content' to a Teams channel. It works, but the resultant post contains extraneous HTML.

 

If I use 'Post a message' action instead of the flow bot, it works perfectly, but this posts the message as me (which I don't want).

 

Can anyone help?

2 REPLIES 2
Super User
Super User

Re: Post message as the Flow Bot not working as expected

Is the message body coming from an eMail?  I wonder if that's where the HTML is coming from.

 

Try inserting an interim step, "Convert HTML to Text" and see if that cleans it up.20190503e.PNG

Keep us posted.

-Ed-

Highlighted
DoowopDobbo
Level: Powered On

Re: Post message as the Flow Bot not working as expected

Hi Ed,

 

Thanks for the quick reply. 

 

 

The message body is coming from an email in HTML as you guessed. I can't convert to plain text as I need to keep the HTML for the formatting. The problem is that the Flow Bot is not interpreting the HTML correctly. When I post using the Flow Bot, I get the result below:-

 

Screenshot 2019-05-03 at 19.05.28.png

 

However, when I use flow to post the message as myself, it works perfectly. See below:-

 

Screenshot 2019-05-03 at 19.05.08.png

 

Thanks again for any advice you can give.

 

Regards,

 

Julian

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

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 Solution Authors
Top Kudoed Authors
Users online (4,710)