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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTML to Text conversio...
Power Automate
Suggested Answer

HTML to Text conversion Connector

(0) ShareShare
ReportReport
Posted on by
Hello,
 
I have Project Scope column in sharepoint list which is Rich Text Column Type. 
 
I am using HTML to Text conversion Connector in power automate and passing the output to populate a word connector. Issue is when the word document is created the pointer present in the Project Scope are becoming as a paragraph.
 
Data in SharePoint column
 
 
Output of Populate a word template after using HTML to Text Conversion Action
 
 
Please guide what should be the other approach.
 
Thanks,
Husain
populate word connector output1.png
Categories:
I have the same question (0)
  • Suggested answer
    Tomac Profile Picture
    4,053 Moderator on at
     
    To do this, you'll need to add a couple extra steps to your process.
     
    1. Initialize a string variable, named strNewline, and in that variable's Value simply press the Enter key to set it to a line break
    2. In your Word Template, open the Content Control you're working with and ensure "Allow Carriage Returns" is checked
    3. Paste the following expression into your Populate A Word Template action for the specific content control you're trying to fill:
      1. replace(body('Convert_HTML_to_text'),'*',concat(variables('strNewline'),'• '))
    4. Run your flow and verify the output
     
    While this won't format it as a list in Word, it will look like one, which I believe is the goal here.
     
    If this comment resolves the issue you're having, please remember to mark it as the answer.
  • David_MA Profile Picture
    14,393 Super User 2026 Season 1 on at
    Since the Word template action only allows plain text fields, I don't think you'll be able to achieve what you want easily. While you could use an expression such as the one below to replace the asterisks with a line break and then the asterisk, when it gets populated in the Word template the line breaks get removed.
     
    replace(variables('HTML to Text'), '*', concat(decodeUriComponent('%0D%0A'), '* '))
     
     
    You can see it work in the populate a Word template action:
     
    But when you open the Word document, the paragraph returns are removed again:
    Depending on your needs, you could format the entire document as HTML and then use the Convert HTML to Word action to create you Microsoft Word file.
     
    I have not used this because it has licensing costs, but there are third-party actions that can populate rich text into Word such as How to insert HTML and rich text into a Word Document with Power Automate — Plumsail Documents Documentation.
  • David_MA Profile Picture
    14,393 Super User 2026 Season 1 on at
    Thank you, Tomac for pointing out enabling the carriage returns in the field in the template. I did that, and with the method I suggested below, the text comes through like this:
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard