Welcome to this tutorial on how to convert an HTML file into a PDF file!
If you're someone who works with digital documents, you've probably come across situations where you need to convert a webpage or an HTML file into a PDF format. Perhaps you need to send it to someone who doesn't have access to the internet, or maybe you need to preserve the layout and formatting of the webpage for offline use. Whatever your reason may be, converting an HTML file into a PDF file is a quick and easy process that you can do with just a few simple steps. In this tutorial, we'll show you how to do just that, using various methods and tools available for the task. So, let's get started!
In power automate we can create PDF files from HTML without using premium Connector by following these steps:
Step 1: -
(I) Click on the new flow
(II) Chose Instant Cloud flow
(III) Give flow name
(IV) Tick Manually trigger flow
Step 2: -
(I) Search one Compose
(II) Chose Compose (Data operation)
(III) Give HTML Code in Compose Input
Step 3: -
(I) Add an action of Create file
(II) Chose Create file (one Drive for Business)
Step 4: -
(I) Set folder path
(II) Set file name
(III) Give file Content (File Content -> output of HTML Compose Just above connector Is the output of file Content)
Step 5: -
(I) Add a ‘Convert file using path’ action Connector
Step 6: -
(I) Give File Path
(II) Set PDF as a Target type
Step 7: -
(I) Again add Create file Connector (one Drive for Business)
Step 8: -
(I) Give folder Path
(II) Give file name with pdf extension
(III) Add file Content (file Content Is the Body of Create file Using Path Preview)
Step 9: -
(I) Add Create Share Link Connector
Step 10: -
(I) Give the file ID of Created file (PDF file ID)
(II) Set link type as view/Edit
(III) Set link Scope as Anonymous
*** In Step 10 we get the link of generated PDF file In one Drive
We hope this tutorial has been helpful to you and has provided you with the knowledge and tools you need to convert your HTML files into PDFs easily and efficiently.
So, next time you need to convert an HTML file into a PDF file, don't worry - you know exactly what to do!
For further queries or demos, please comment below or contact us.
For any consultant/support work on O365/ development, contact us or visit our website www.sigilotech.com