Removing HTML in Flow when pushing Teams Messages into Yammer

%3CLINGO-SUB%20id%3D%22lingo-sub-808149%22%20slang%3D%22en-US%22%3ERemoving%20HTML%20in%20Flow%20when%20pushing%20Teams%20Messages%20into%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808149%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20Flow%20pushes%20Microsoft%20Teams%20messages%20to%20Yammer%20based%20on%20a%20certain%20Hashtag.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHow%20can%20I%20remove%20HTML%20which%20was%20created%20when%20adding%20Hyperlinks%3F%20I%20don%60t%20see%20how%20I%20can%20add%20a%20HTML2String%20Parsing%20Stage.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127255i337669AC67B8BCA9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Flow-Yammer.jpg%22%20title%3D%22Flow-Yammer.jpg%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127254iCFED3FD7FB39496A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Flow-Teams.jpg%22%20title%3D%22Flow-Teams.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-808149%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-808186%22%20slang%3D%22en-US%22%3ERe%3A%20Removing%20HTML%20in%20Flow%20when%20pushing%20Teams%20Messages%20into%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-808186%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4415%22%20target%3D%22_blank%22%3E%40serge%20Luca%3C%2FA%3E%26nbsp%3Bany%20ideas%2C%20Doc%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-812296%22%20slang%3D%22en-US%22%3ERe%3A%20Removing%20HTML%20in%20Flow%20when%20pushing%20Teams%20Messages%20into%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-812296%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20Html%20to%20text%20action%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-813644%22%20slang%3D%22en-US%22%3ERe%3A%20Removing%20HTML%20in%20Flow%20when%20pushing%20Teams%20Messages%20into%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-813644%22%20slang%3D%22en-US%22%3E%3CP%3Eyes%2C%20Serge%2C%20but%20it%20doesnt%20make%20any%20difference.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20my%20HTML2Text%20Code%2C%20I%20just%20want%20want%20to%20use%20the%20Microsoft%20Teams%20Body%20Content%20Field%20and%20strip%20the%20HTML%20off.%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22inputs%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22host%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22connection%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22%40parameters('%24connections')%5B'shared_conversionservice'%5D%5B'connectionId'%5D%22%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%20%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%20%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22method%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22post%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22body%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3C%2FSPAN%3E%3CP%3E%3A%20%40%7BtriggerBody()%3F%5B'body'%5D%3F%5B'content'%5D%7D%3C%2FP%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22path%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22%2Fhtml2text%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22authentication%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22%40parameters('%24authentication')%22%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%20%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%22metadata%22%3A%20%7B%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22flowSystemMetadata%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%22swaggerOperationId%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22HtmlToText%22%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%20%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%20%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-815143%22%20slang%3D%22en-US%22%3ERe%3A%20Removing%20HTML%20in%20Flow%20when%20pushing%20Teams%20Messages%20into%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-815143%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F245624%22%20target%3D%22_blank%22%3E%40Ragnar_Heil%3C%2FA%3E%26nbsp%3B%20I've%20created%20the%20following%20flow%20and%20it%20works%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F127813iC49D4E11CEDD86E0%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
MVP

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. 

 

Flow-Yammer.jpgFlow-Teams.jpg

4 Replies
Highlighted
Highlighted
Have you tried Html to text action?
Highlighted

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"
}
}
}
Highlighted

@Ragnar_Heil  I've created the following flow and it works:

clipboard_image_0.png