web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Text conversion HTML =...
Power Automate
Unanswered

Text conversion HTML => Text not working

(0) ShareShare
ReportReport
Posted on by 10

I have a Flow that converts a flagged e-mail to a list item. A step between the trigger and the action is to convert HTML from the e-mail body into text. It's not working. I just edited the Flow to use the updated text conversion step, which is still in preview, but the result is the same. The body of the e-mail comes across in HTML code, i.e., it's in text, but with countless HTML tags. Is this just the way it is, or is there an approach I should use to troubleshoot the problem, or should I just get Microsoft support involved?

Categories:
I have the same question (0)
  • mobashee Profile Picture
    on at

    Dear Partner,

    I understand you are trying to convert HTML text to simple text

     

    Example: <Div> Sample Text </div>

     

    Expected Result:

    Sample Text

     

    This can be achieved with the action "Html to Text" & it worked as expected.

     

    Did I answer your question? Please consider to mark my post as a solution to help others.

     

    Regards,

    Mohamed Sanuj Basheer

  • Joseph_N Profile Picture
    10 on at

    I'm aware of that action--it's the one I'm using, and it does not work for me. I've recreated the flow, and it still does not work.

    This is the flowThis is the flow

     

    this is the resultthis is the result

     

  • jotimmoo Profile Picture
    2 on at

    Did anyone ever find a solution to this issue? I have the exact same problem.

    When a message is flagged, convert html to text, insert row into Excel online. All works but the body field is carried over with full html tagging and format.

     

    Thanks in advance.

  • MS-13051438-0 Profile Picture
    30 on at

    Is the solution to this found? I don't understand why there are no replies. It must be case that not everyone is facing this issue all the time. It must be occassional.

  • mariannabro Profile Picture
    4 on at

    Hello! 

    I don't if you did it, but try to  add the "plain text content" output into the "Create item" step where you need the text, intead of the dynamic variable from the flow's trigger. For the sake of clarity:

     

    mariannabro_0-1697723388440.png

    In this example I converted the description from HTLM to text and then I inserted the output in the Create item step as diplayed in the screenshot. 

     

    Hope this can help.

    Best Regards,

     

    Marianna 

     

     

  • VictorIvanidze Profile Picture
    13,073 on at
    Here is a possible solution. No HTML to text conversion at all, I get the plain text email body using a GRAPH request:
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard