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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create PDF based on te...
Power Automate
Unanswered

Create PDF based on template

(0) ShareShare
ReportReport
Posted on 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:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard