Add a Display select file dialog action with the title “Select PDF To Split.” We want the user to select a PDF file to be split. Create a new flow in Power Automate Desktop and call it Split PDF Document. We will now take a single PDF file and split it into multiple PDFs – one for each page. Now that we’ve successfully merged a PDF, let’s learn to do the opposite. Split A PDF File After Every Page Using A Desktop Flow
This section will show two methods to split a PDF file: how to split a PDF after every page and how to split a PDF after every “n” pages. The resulting Merged.pdf file will be found in the Output folder. Choose all of the PDFs to be merged and click Open. When we do this a select files dialog appears. Give the flow we built a try by pressing the play button. Run The Desktop Flow To Merge Only Selected PDF Files The desktop flow to merge only selected PDF files in Power Automate Desktop looks like this. Then merge the PDF files in the same manner as the previous method. To correct this behaviour we add a Reverse list action to transform the %SelectedFiles% list. Start a new desktop flow.Īdd a Display select file dialog with the title “Select PDFs to Merge” and enable Allow multiple selection.Ī strange quirk of the select files dialog is that it will output the list of files we selected in the opposite order that we chose them. We can also build the desktop flow to merge only the selected PDF files by a user instead of an entire folder. This makes sense because there were originally 5 PDFs each having 3 pages.Īlternate Method: Merge Selected PDF Files With Power Automate Desktop Once the desktop flow is finished the merged PDF file will be found in the Output folder. When the dialog box appears select the folder where the PDFs to merge are stored. Run Desktop Flow To Merge PDF Files In A Folder The completed desktop flow to merge PDF files should look like this. Then add a Merge PDF files action to join the %Files% found in the folder.
Sort the files by Full name to ensure the PDFs are merged in the same order they appear in the folder. Next, add a Get files in folder action and point it at the %SelectedFolder% from the previous action. Add a Display select folder dialog action with the title “Select Folder With PDFs To Merge.” We want the user to manually select the folder where there are PDFs waiting to be merged. Open Power Automate Desktop and create a new flow called Merge PDF Document. Merge All PDF Files In A Folder Using A Desktop Flow In this example, there are 5 PDF files each having 3 pages of text. The output folder is where the merged PDF will be stored. This section will show two methods to merge a PDF file: merging all of the PDF files in a folder and how to merge only the selected files in a folder.īegin by placing all of the PDF files we want to merge into the same folder. Run The Desktop Flow To Split A PDF At Every N Pages.Modify The Desktop Flow To Split A PDF At Every N Pages.Alternate Method: Split A PDF Every "N" Pages With A Desktop Flow.
Now that I have Power Automate Desktop installed on my PC I no longer need to do this. When I’ve want merge or split a PDF file I admit I’ve often relied upon an free online services which are less than trustworthy or paid hundreds of dollars for a full Adobe Acrobat license.