While working on a Power Automate document management flow, I got a requirement to convert Word to PDF using Power Automate. The requirement is that when a user uploads a Word file to a SharePoint document library, that specific Word file should be converted into a PDF and stored in a SharePoint document library.
In this tutorial, I will discuss how to convert Word files to PDF using Power Automate. [without using a premium connector]
Also, I will show another requirement in Power Automate: When I receive Word documents from one of my clients as email attachments, I need to convert them to PDF before saving them to a SharePoint document library.
Convert Word Files to PDF Using Power Automate
We have two SharePoint document libraries: One library is a Word Document library, where we upload a Word document, and another is a PDF Document library, where we convert that Word document to PDF and store it.
SharePoint WordDocument Library:

SharePoint PDFDocument Library:

Steps to Convert Word to PDF in Power Automate
Here, we will see the steps to convert Word to PDF without using a premium connector in Power Automate.
1. Open the Power Automate home page, click + Create, select the Automated Cloud Flow, enter the flow name, and choose the trigger’s flow When a File is created(properties only).

2. Now, provide the Site Address and Library Name where you will create a Word file in SharePoint Online.

3. Next, we need to get the file content of the Word file, so I will add the Get File content action. Then, provide the Site Address and File Identifier from the dynamic content.

4. Now, I want to add a condition that checks whether a file created in the SharePoint library is a Word document or not. So, I will add a Control Condition Action.
Then, Set the properties such as File name with extension ends with .docx, as in the screenshot below.

5. Now, we will use OneDrive to convert the Word file to PDF. First, we will create a file in OneDrive, So select the Create File action inside the True section. Then, provide the Folder Path, File Name (File name with extension), and File Content from the dynamic content.

6. Now, we will convert the above Word file to PDF, so select the Convert File (OneDrive for Business) action. Then, provide the File as Id from the dynamic content and in Target type select PDF from the dropdown.

7. Next, we will create a PDF file in the SharePoint library from that Convert file content, so add the Create file action from the SharePoint connector. Then, provide the Site Address, Folder Path, File Name, and File Content from the dynamic content.

8. Now, we will delete the temporary file that we created in the OneDrive business, so I added a Delete File action and provided the File Id from the dynamic content.

Once the Flow is ready, we will move forward to run the Flow.
Convert Word to PDF Flow Run in Power Automate
Now click on Save and run the Flow. Then, go to the SharePoint Document library and create a Word file.

Once you create a Word file, you can see that the flow ran successfully.

Now, you can see a PDF file gets created in the SharePoint PDF library.

This is how we can convert Word to PDF with no premium connector using Power Automate.
Convert Word Files to PDF using Power Automate [Word file is an Email Attachments]
I hope you know the requirements, as I explained in the introduction. Before I start, I will create a SharePoint document library that stores our PDF files.

Now follow the below steps:
Open the Power Automate home page, click + Create, select the Automated Cloud Flow, enter the flow name, and choose the trigger’s flow When a new email arrives (V3)(Outlook connector).

Then, Set the filter conditions (e.g., emails from a specific sender or with specific keywords). here I am, taking emails from a specific sender. To do this, select the From Advanced parameters drop-down. In the Form, give a specific sender’s email address.

Next, I need to get the Word document from the attachments. So, Add the Get Attachment (V2) action(Outlook connector). Then, add the Message Id and Attachment Id from the trigger dynamic content.
Then, you see one for each action and add it to all attachments in the email.

Now, I want to add a condition that checks whether a file created in the SharePoint library is a Word document or not. So, I will add a Control Condition Action.
Then, Set the properties such as Name ends with .docx, as in the screenshot below.

Now, we will use OneDrive to convert the Word file to PDF. First, we will create a file in OneDrive, So select the Create File action inside the True section. Then, provide the Folder Path, File Name (Name), and File Content(Content Bytes) from the dynamic content.

Then follow the same steps as above (6, 7, 8). The flow should look like this:

After that, save and Run the flow, and then you will see when the new email arrives from the sender.

once you get the email from the specific sender, you can see that the flow ran successfully.

Then, you can see one PDF file created in the SharePoint document library.
![Convert Word Files to PDF using Power AutomateWord file is an Email Attachments Convert Word Files to PDF using Power Automate[Word file is an Email Attachments]](https://www.enjoysharepoint.com/wp-content/uploads/2024/07/Convert-Word-Files-to-PDF-using-Power-AutomateWord-file-is-an-Email-Attachments.jpg)
In this Power Automate tutorial, we learn how to convert Word to PDF using Power Automate.
Related Power Automate tutorials:
- How to Convert PDF to Base64 Using Power Automate
- How to Convert HTML to PDF in Power Automate
- How to Convert UTC to Local Time Zone in Power Automate
- How to Convert CSV to Excel in Power Automate
- Convert SharePoint list items to PDF using Flow or Power Automate

After working for more than 18 years in Microsoft technologies like SharePoint, Microsoft 365, and Power Platform (Power Apps, Power Automate, and Power BI), I thought will share my SharePoint expertise knowledge with the world. Our audiences are from the United States, Canada, the United Kingdom, Australia, New Zealand, etc. For my expertise knowledge and SharePoint tutorials, Microsoft has been awarded a Microsoft SharePoint MVP (12 times). I have also worked in companies like HP, TCS, KPIT, etc.
Hi Bijay,
Great article and easy to follow. Is it possible to delete the original Word Document that has been converted at the end of the flow?
John.
Hi Bijay,
Ignore my comment as I figured it ou.
Cheers
John.
Hi Bijay,
Great Content! Is it possible to convert Images to PDF without using any Premium or 3rd Party connectors.
Is it possible to create the PDF in the original sharepoint folder?
Awesome post – exactly what I was looking for. Thanks for taking the time to write this up
Thanks for this helpful tutorial!
I can not seem to get the ‘file content’ to lock in. Power Automate continues to change it to ‘body’ and the flow fails after creating the docx in OneDrive. Any suggestions?
The solution file is invalid. The compressed file must contain the following files at its root: solution.xml, customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft Dynamics 365 are not supported.
how can you use this flow to create attendance certificate for events