In this guide, you’ll learn how to convert images to PDF using Power Automate and our PDF Converter for Power Automate. Muhimbi supports converting JPG, PNG, TIFF, and GIF files to PDF. You can see the file formats we support here.
Steps to convert your images to PDF using Power Automate:
- Create a flow in Power Automate
- Define your action
- Create a file
- Publish your workflow
This example uses Power Automate to convert an image file to PDF in SharePoint. However, you can save your converted PDF file to another destination, like Dropbox, Google Drive, OneDrive, or any platform supported by Power Automate. You can also extend our example by adding additional automation, such as sending the converted PDF as an email.
1: Creating a New Flow in Power Automate
Create a new flow and use the When a file is created (properties only) SharePoint Online trigger. Fill out the URL for the site address and select the relevant SharePoint library from the dropdown menu.
2: Getting the File Content
Add the Get file content action and specify the site address. Select the File Identifier field, and then in the dynamic content search bar, type Identifier.
3: Converting the Image to PDF
Insert Muhimbi’s Convert document action and fill it out as shown in the screenshot below. Substitute the Source file name and Source file content fields with suitable values. For Source file name, choose File name with extension, and for Source file content choose File Content, which will show as PDF after saving and running the flow.
4: Creating a File
Insert a Create file action to write the converted file back to SharePoint Online or your desired destination. Select a folder where you’ll store the converted file, and in the File Name field, choose Base file name. In the File Content field, choose Processed file content from the list of dynamic content on the right.
5: Publishing the Workflow
Publish the workflow and create or update a list item in the specified list. After a few seconds, the flow will trigger and a PDF file will be generated.
For more information, refer to the following resources.