Forum Discussion
Ragnar_Heil
Aug 16, 2019MVP
Removing HTML in Flow when pushing Teams Messages into Yammer
My Flow pushes Microsoft Teams messages to Yammer based on a certain Hashtag.
How can I remove HTML which was created when adding Hyperlinks? I don`t see how I can add a HTML2String Parsing Stage....
Ragnar_Heil
MVP
sergeluca any ideas, Doc?
serge Luca
Aug 20, 2019MVP
Have you tried Html to text action?
- Ragnar_HeilAug 20, 2019MVP
yes, Serge, but it doesnt make any difference.
Here is my HTML2Text Code, I just want want to use the Microsoft Teams Body Content Field and strip the HTML off.
{"inputs": {"host": {"connection": {"name": "@parameters('$connections')['shared_conversionservice']['connectionId']"}},"method": "post","body": ": @{triggerBody()?['body']?['content']}
","path": "/html2text","authentication": "@parameters('$authentication')"},"metadata": {"flowSystemMetadata": {"swaggerOperationId": "HtmlToText"}}}- serge LucaAug 21, 2019MVP
Ragnar_Heil I've created the following flow and it works: