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 / Natively convert Power...
Power Automate
Unanswered

Natively convert Power Apps HTMLtext data to PDF?

(0) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hello,

 

In my flow, I am taking various outputs from a PowerApp and creating a HTML document that is then converted to a PDF file using the Encodian HTML to PDF action.

 

Is there any native functionality I could utilise so I don't need to use 3rd party premium connections?

sudosaurus_0-1696588399399.png

sudosaurus_1-1696588446930.png

sudosaurus_2-1696588501897.png

sudosaurus_3-1696588570867.png

sudosaurus_4-1696588662179.png

sudosaurus_5-1696588704058.png

This is what is included in the HTML Data field:

concat('<!DOCTYPE html>
<html>
<body>
<table style="width: 100%;">
<tr>
<td>
', triggerBody()['text'], '
</td>
</tr>

<tr>
<td>
<img src="', outputs('Compose_-_Photo_to_base64'), '" />
</td>
</tr>

<tr>
<td>
', triggerBody()['text_3'], '
</td>
</tr>

<tr>
<td>
', outputs('Compose'), '
</td>
</tr>

<tr>
<td>
', triggerBody()['text_4'], '
</td>
</tr>

</table>



</body>
</html>')

sudosaurus_6-1696588782472.png

 

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hello @sudosaurus 


    You could use “Populate a word template” for your scenario. You would have to create a word file where you define the variables and than use the flow to fill them.

  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    @AlexEncodian: I think the question was about „3rd party premium connections“.

     

    @sudosaurus: Was it the answer you are looking for? Have you tried „Convert file“ (OneDrive for Business). I think you can use html files and it is not even premium.

  • SoporteD365 Profile Picture
    4 on at

    Yes, it is possible like @Matthy79 through Onedrive, it is tedious but it is possible at least with a small logo like my following example
    SoporteD365_0-1696977174029.png

    HTML

    SoporteD365_1-1696977240674.png

    SoporteD365_3-1696977497853.png

     

    Even like .jpg

    SoporteD365_4-1696977592009.png

     

     

  • Humaira Profile Picture
    2 on at

    Hi,

    Yes, it is possible to convert HTML text data to PDF without any third-party or premium connector. First, you need to create an HTML file and convert the file using the connector "Convert file preview" for reference.

    Humaira_0-1699961715252.png

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard