In this Power Automate or flow tutorial, we will discuss how to convert SharePoint document to pdf using Power Automate or Microsoft flow.
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:
- Convert SharePoint list item to PDF using Flow or Power Automate
- Convert Email to PDF using Microsoft flow or Power Automate
So here we will manage the document management flow using Encodian API.
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 firstname.lastname@example.org.
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.
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.
Step 3: In this step, you have to provide the Site address and Library Name where you want to upload the document.
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.
Step 5: Add a Step called Get File Content. Here you have to provide the site address and Folder identifier.
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.
Step 6: Once you click on Create, You have to provide the File name, File content and PDF File Name.
Step 7: Next add one more step called Create file and add the below required fields.
Step 8: If no then terminate the flow with success message.
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.
Step 10: Here you can see, I have uploaded a resume in doc format and it automatically converted to pdf format.
You may like following Power Automate tutorials:
- Save Twitter Tweets in SharePoint Online list using Microsoft Flow
- Get a push notification when a new file is added to OneDrive for Business
- Get daily weather reports delivered to your email and phone using Power Automate
- Send myself a reminder in 10 minutes in Power Automate
- Microsoft flow parsing select and expand failed get manager v2
- Log Gmail emails to a Google Sheet using Power Automate
In this tutorial, we learned how to convert SharePoint document to pdf using Power Automate or Microsoft Flow.
Rajkiran is currently working as a SharePoint Consultant in India . Rajkiran having 7+ years of experience in Microsoft Technologies such as SharePoint 2019/2016/2013/2010, MOSS 2007,WSS 3.0, Migration, Asp.Net, C#.Net, Sql Server, Ajax, jQuery etc.He is C#Corner MVP (2 Times).
Download SharePoint Online Tutorial PDF FREE!
Get update on Webinars, video tutorials, training courses etc.