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

Community site session details

Session Id : B7TJ4Q7VZNEE0jRGFUZ+QV
Power Automate - General Discussion
Unanswered

Render HTML code in Power Automate and paste to Word Template

Like (0) ShareShare
ReportReport
Posted on 16 May 2022 11:40:14 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!

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard