Since we know there are 5 individual pages, we will set the “Start from” as 1, the “End to” as 5, and the “Increment by” as 1. Step 2: Implement a loop to repeat for other pagesįirstly, drag the “Loop” action into the workspace. Lastly, select “Overwrite” from the “If file exists” dropdown menu.Īfter running the flow and navigating to our folder, we can see that we have successfully extracted the first page into a separate pdf file called page1.pdf Remember to always add the file extension. For extracted PDF file path, extract the page into a separate PDF file and in this case we have renamed it as “.pdf”. Under the “PDF file” parameter, specify the PDF file you wish to extract the pages from, and set the “Page selection” as the page you want to extract. To explain splitting PDF files, we will be using a single PDF titled “Sample PDF File”, containing five individual pages.įirstly, we will be using the “Extract PDF files pages to new PDF file” action. How to split PDF files in Microsoft Power Automate for Desktop Navigating back to your folder, will show that a merged file containing all five individual PDFs has been successfully created! Next, just to be safe, select the “Overwrite” option for “If file exists”. The input parameter in this case would be the “Files” variableįor the “Merged PDF path”, navigate to your desired folder – in our case here, it is the “Merge PDF” folder, and rename the file as “Merged PDF.pdf”. Next, we will drag and drop the “Merge PDF Files” action, which can be found under PDF actions, into the main workspace. This action will retrieve all the files in this folder and store it inside a variable called Files which is essentially a list of file objects. Under the “Folder” parameter, choose the right folder from the dropdown menu – in our case, it is the “merge PDF” folder. How to merge PDF files in Microsoft Power Automate for Desktopįor the merging files portion of the article, we will be using a folder which contains five individual PDF files as an example.įirstly, we need to use the action “Get files in folders”. How to split PDF files in Microsoft Power Automate for Desktop (unknown number of pages).How to split PDF files in Microsoft Power Automate for Desktop.How to merge PDF files in Microsoft Power Automate for Desktop.
0 Comments
Leave a Reply. |