Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Render HTML code in Power Automate and paste to Word Template

(0) ShareShare
ReportReport
Posted on by 10

Hello, I'm current working on a Flow that pulls data from Dataverse which is passed to PA, which is then pasted into a word template. Now, I haven't done the dataverse part yet as I'm still trying to figure the HTML part. 

For example I have a column that has the following data:

<table border="0" width="230"><tbody><tr><td width="230">Data 1</td>
</tr><tr><td>Data 2</td>
</tr><tr><td>Data 3</td>
</tr></tbody></table>


Sometimes, the HTML has 2 columns but all of it are tables. I'm having some trouble trying to render it, since it's HTML code, not an array (so that I can use the Create HTML table action). I also tried HTML to text but then I wouldn't figure out how many columns/rows there are and where each row item ends. Is there any way to do this? I don't actually need borders or any design I just need it to look readable.

 

Data 1

Data 2 

Data 3

 

or

 

Data 1    Data 2 partner

Data 2    Data 2 partner

Data 2    Data 2 partner

 

My plan is once I get that done, I can convert it into an image? and paste it to the word template? Is using 

 

{
"$content-type": "image/png",
"$content": "thishtml"
}

 

on a Compose action going to work? Thank you!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard