In this guide, you’ll learn how to print files to PDF using Power Automate and Muhimbi PDF Converter. For this example, you can set up a flow to automatically print a wide variety of file types to PDF (see the file formats we support).
It’s also important to note that this example uses Power Automate to print a file to PDF in SharePoint. You can easily save your PDF file to another destination, like Dropbox, Google Drive, OneDrive, or any platform supported by Power Automate.
From a high-level perspective, the workflow will look like what's shown below.
1: Creating a New Flow
Create a new flow and use the When a file is created trigger for SharePoint Online. Fill out the URL for the site address and select the relevant SharePoint list from the dropdown menu.
2: Converting to PDF
Insert Muhimbi’s Convert document action and fill it out as shown in the screenshot displayed below. You’ll need to substitute the Source file name and Source file content fields with suitable values.
3: Creating a File
Insert a Create file action to write the converted file back to SharePoint Online or your desired destination.
4: Publishing the Workflow
Publish the workflow and create or update an MS SharePoint file in the specified library. After a few seconds, the flow will trigger and a printed PDF file will be generated.