Skip to main content
Community site session details

Community site session details

Session Id : EHXQkVSEqcRTp6JzmNn2gw
Power Automate - Building Flows
Unanswered

Natively convert Power Apps HTMLtext data to PDF?

Like (0) ShareShare
ReportReport
Posted on 6 Oct 2023 10:43:28 by 1,597 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

 

  • Humaira Profile Picture
    2 on 14 Nov 2023 at 11:35:56
    Re: Natively convert Power Apps HTMLtext data to PDF?

    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

     

  • SoporteD365 Profile Picture
    4 on 10 Oct 2023 at 22:40:02
    Re: Natively convert Power Apps HTMLtext data to PDF?

    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

     

     

  • Matthy79 Profile Picture
    4,178 Super User 2024 Season 1 on 10 Oct 2023 at 18:50:53
    Re: Natively convert Power Apps HTMLtext data to PDF?

    @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.

  • Matthy79 Profile Picture
    4,178 Super User 2024 Season 1 on 06 Oct 2023 at 11:09:43
    Re: Natively convert Power Apps HTMLtext data to PDF?

    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.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete