Skip to main content
Community site session details

Community site session details

Session Id : F6oLHqMoEwoeYmCtkrb8KC
Power Automate - General Discussion
Unanswered

Create PDF based on template

Like (0) ShareShare
ReportReport
Posted on 9 Nov 2023 05:45:44 by

If possible, I want to perform this without use of 3rd party services.

 

I currently have an Excel template.  It does not contain any tables, contains images, and users just edit free-form, and export the end result to PDF.

 

I want to automate data entry using PowerApps, and have Power Automate print out the PDF automatically instead, bypassing any interaction with Excel.

 

Current (untested) plan is to :

 

- convert Excel to HTML

- break up the HTML into sections

- In Power Automate, assign each section to string variables, append each section with user input, and consolidate everything in a single string variable that will form the HTML for entire document

- Create a HTML file using OneDrive action, using the previously consolidated HTML code

- Convert the result to PDF

 

Currently having trouble converting initial Excel file into HTML.  Saving as HTML using Excel breaks everything up into multiples files.  Using online converters, the HTML seems populated with strange characters (encoding?) instead.  Not well versed in HTML, was just thinking I could 'insert' each user input item in between sections (eg. insert user name into <body>), but cannot locate any of the expected text/items (eg. Name) and see the strange characters instead.

 

Is what I describe above possible/feasible?  Any other way to go about it?  Any way for me to convert the Excel file into 'normal' HTML, to serve as the template?

Categories:

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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