In this tutorial, we will see how to split PDF into two files. First of all drag and drop PDF split activity in the scope.

Configure Scope

Adding and configuring Scope is very important for running services. scope provides a generic way to provide API key as shown in following figure.

Add PDFco Scope

Please note that all other activities such as PDF Merge, PDF Split, PDF Filler, PDF to XML must be inside Scope. It is because scope contains API key and as other activities use API key from Scope, it must be within scope. api key is necessary for authentication of request. You can get the api key upon signing up.

Split PDF with UiPath

As you see, like the main inputs are the source PDF file, we can provide either by the URL or the absolute path and the number of pages of which we want to split.

Other input parameters are like a destination file path and the prefix which we want to use for the split its output pages. There are other output variables, for example, the Result file URL. This you will get as an array of the string and containing all URLs of the split pages. This can be very useful in a situation like we want to have the online page for the split pages.

Let’s see this in action how we split PDF into separate pages. I have an input file that is of the four pages long, you can see like page number one is containing the image and the rest of them are the text only. Now get this document file and pasted it into a PDF file path. The pages we need to provide pages in a comma-separated way.

For example, if we want to split these into two parts, then in the first part we want page numbers 1 – 2 and in the second part, we want page numbers 3 and onwards.

UiPath Split PDF

We want this output in the folder that we have provided in the destination file path. We also have provided the output file prefix of the generated file. We are all done with the configuration and run it for execution.

Now that our execution is completed, check the output file. Here is part one. It contains two pages, pages one and two. The second part is contained with the two pages of page numbers three and four. This is how easy you can to use a split PDF activity. and UiPath Integration

To start, please use the button below:

Visit UiPath Marketplace


Download the latest UiPath plugin for

Need help or support? Please
contact us for free support


UiPath Plugin Videos

Related Samples: