Convert SharePoint document to PDF using Power Automate

In this Power Automate or flow tutorial, we will discuss how to convert SharePoint document to pdf using Power Automate or Microsoft flow.

Here will create a Microsoft flow that will convert our SharePoint Online Document library file or any other file to PDF format automatically.

Convert SharePoint document to PDF using Flow

In Microsoft flow, there are more than 300 data sources or connectors available to connect with various services other than SharePoint services. Through these connectors, we can use connectors to communicate easily with various sources.

You can also check out the previous flow examples:

So here we will manage the document management flow using Encodian API.

API Key

To utilize the ‘Encodian Document Manager for Flow’ connector you will require an ‘API Key‘, if you have an existing Encodian subscription but do not know your API Key please email [email protected].

If you do not yet have an Encodian subscription please create a trial subscription by completing the trial request form on our website found here.

Steps for convert SharePoint document to PDF using Power Automate

Step 1: Log in to Power Automate and go to the flow section and create a new flow. So here provide the flow name and select When a file is created.

convert sharepoint document to pdf
Create a flow

Step 2: This is my whole flow which will convert our file to PDF file automatically. So I am going to describe each step in detail.

convert sharepoint document to pdf
convert sharepoint document to pdf

Step 3: In this step, you have to provide the Site address and Library Name where you want to upload the document.

How to convert sharepoint document to pdf

Step 4: Next add a condition where we will check the uploaded file is PDF or not. If it is a PDF file the give the success message otherwise we will come to the YES step.

convert sharepoint document to pdf using flow
convert sharepoint document to pdf

Step 5: Add a Step called Get File Content. Here you have to provide the site address and Folder identifier.

convert sharepoint document to pdf
convert sharepoint document to pdf

Step 6: Now add a step called Convert to PDF. Now you have to provide the Encodian Connection Name and API Key. In Connection Name, you can provide anything but in API Key, you have to provide the same key which you will get when doing registration in Encodian website.

convert sharepoint document to pdf power automate

Step 6: Once you click on Create, You have to provide the File name, File content and PDF File Name.

convert sharepoint document to pdf using power automate

Step 7: Next add one more step called Create file and add the below required fields.

convert sharepoint document to pdf using flow

Step 8: If no then terminate the flow with success message.

steps to convert sharepoint document to pdf

Step 9: Next go to your library and upload any document or anything. So wait for some time and see , it will create a PDF file in same file name.

convert sharepoint document to pdf

Step 10: Here you can see, I have uploaded a resume in doc format and it automatically converted to pdf format.

convert sharepoint document to pdf using power automate

You may like following Power Automate tutorials:

In this tutorial, we learned how to convert SharePoint document to pdf using Power Automate or Microsoft Flow.

>