In this Power Automate tutorial, we will see how to merge pdf files in Power Automate.
Here we have two pdf like the one below in a folder in the SharePoint document library, and we will create a flow in Power Automate, that will merge these two pdf files into one and save the new pdf file in the SharePoint document library folder.
Now, let’s see how to create a flow in Power Automate, that will merge pdf files using 3rd party action. So, the 3rd party action we use in our flow is ‘Merge documents to pdf’ -Encodian.
How to merge pdf files using Power Automate
Here we will see how to merge pdf files using Power Automate.
Follow the below steps to merge pdf files using Power Automate Instant Cloud flow.
Step 1: Log in to Power Automate, click +Create, and select the Instant Cloud flow.
Now provide the flow name and select Manually trigger a flow. Then click on Create.
You can see a Manual trigger a flow action is added to the flow in Power Automate.
Step 2: Next click on +New step -> select Get file content using Path action. Then provide the below information:
- Site address: Select or Provide the site address.
- File path: Provide the file path of your first Pdf
Step 3: Next click on +New step -> select Get file content using Path action. Then provide the below information:
- Site address: Select or Provide the site address.
- File path: Provide the file path of your second Pdf
Step 4: Now we will merge the two pdf, so click on the +New step and select the ‘Merge documents to pdf‘ action using Power Automate. Then provide the below information:
- PDF filename: Provide the PDF file name
- Filename: Provide the file name like below. As my file name is info1.pdf
- File content: Provide the file content from dynamic content
- Filename: Provide the file name like below. As my file name is info2.pdf
- File content: Provide the file content from dynamic content
Step 5: Finally, we will create a pdf file in the SharePoint folder, so click on the +New step -> select Create file action. Then provide the below information:
- Site address: Select or provide the SharePoint site address.
- Folder Path: Select the folder path
- File name: provide the file name of the dynamic content
- File content: Provide the file content of the dynamic content.
Step 6: To run the flow click on Test icon, click on the Test icon-> select Manually -> click on Test -> configure the action with connectors, then click on Run flow -> Then click on Done.
Now you can see the flow ran successfully. Also, you can check in SharePoint library both the pdf is merged into a single pdf file.
This is how to merge pdf files using Power Automate flow. Also, you can merge more than 2 pdf files using this method.
Conclusion
In this Power Automate tutorial, we saw how to merge two pdf files using Power Automate using ‘Merge documents to pdf’ -Encodian.
You may like the following Power Automate tutorials:
- Create an HTML Table in Power Automate
- Add Rows to Excel in Power Automate
- Expense Reimbursement and Approval using Power Automate
- Create Calendar Events from a SharePoint list using Power Automate
- Power Automate delete emails older than
I am Bijay a Microsoft MVP (10 times – My MVP Profile) in SharePoint and have more than 17 years of expertise in SharePoint Online Office 365, SharePoint subscription edition, and SharePoint 2019/2016/2013. Currently working in my own venture TSInfo Technologies a SharePoint development, consulting, and training company. I also run the popular SharePoint website EnjoySharePoint.com