How to merge pdf files in Power Automate?

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.

Power automate merge pdf files

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.

Merge PDF files using Power Automate
Merge PDF files using Power Automate

Now provide the flow name and select Manually trigger a flow. Then click on Create.

Merge PDF files using Microsoft Power Automate

You can see a Manual trigger a flow action is added to the flow in Power Automate.

Microsoft Power automate merge pdf files

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
Using Microsoft Power automate merge pdf files

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
Using Power automate merge pdf files

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
merge pdf files in Power Automate

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.
Using flow merge pdf files

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.

See also  How to export SharePoint List items to excel using Power Automate and send email [Step-by-step tutorial]

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.

How to merge pdf files using power automate

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:

>