How to Merge PDF with UiPath
In this article, we will be reviewing the PDF merger activity. I have already added the PDF.co scope and add the PDF merger activity. This activity is mainly expecting the addition of a string. String array can be either of the physical path PDF or the URL of the physical file or PDF files and if we review the other properties it is expecting the destination file path. This file path will have the resulting PDF file so whatever the result after the merging PDFs it will be stored at this location. In the output variables, there is one variable named output file URL. This URL will be the URL of the merge PDF.
Now let’s see this in action. We have two inputs here. Open that sample one and sample two. As we see, sample one is containing some text named kids’ news and sample two is simply the table of some products. Take their full location and we’ll be providing the string array here. I have provided the physical path of sample one and also provide for sample two.
The inputs are provided and we will provide the destination URL. I am copying and pasting the output path and providing the folder. The output will be named as result.pdf. Now execute this and when execution is completed we will review the output folder.
It is containing one file name as result.pdf and it is containing the two pages the first page is from the kids’ news and the second page is the product. So basically it is merging both of the PDFs. This is how easy we can use the PDF merger activity from PDF.co extension.
PDF.co and UiPath Integration
To start, please use the button below:
Need help or support? Please
contact us for free support