How to Add Images to PDF with UiPath

In this article, we will learn how to add images to PDF files and we’re going to use a sample PDF file.
Here are the main steps of this tutorial:

  1. Set up Scope
  2. Add Images to PDF with UiPath
  3. and UiPath Integration
  4. UiPath Plugin Video Guides

Set up Scope

Adding and setting up Scope is crucial for running services. scope shows a general way to provide API key as it can be seen in the figure below.

Add PDFco Scope

Here’s a quick note that all activities, in particular, PDF Filler, PDF Merge & Split, PDF to XML e t.c. must be used within Scope. API key stays inside the Scope, so the activities performed with this API key must be inside the scope too. API key is a must for authentication of request. It is easy to get the API key upon signing up.

Add Images to PDF with UiPath

Input PDF is basically the IRS 1040 form to fill out the individual income tax returns. Copy the file and provide the input URL in the PDF file URL box. As we can see here the format of expected image objects.

We will provide the x and y coordinates first then provide a number of pages where the image will be applied and the URL to the image. If we want to provide any link for example by clicking the image some links would be open. Then we can provide here and the written height of the image.

UiPath Add Images to PDF

I already have input here. I am taking the x and y coordinates of the image. Then I’m providing the zero to any number of pages. Basically, it will apply to the all number of pages. This is the zero-based index. We are providing the input URL of the image. We are not providing the other URL like all clicks of the image. Some URLs should be open.

Copy the link and we will try to see how it is looking. I am copying and pasting it in the image objects option and also provide the output. Again I am copying the output path and clearing the previous file. Now copied output path and provide the destination folder, name as result_image.pdf.

UiPath How to Add Images to PDF

I think we are good with the configurations and run it. Now the execution is completed. If we open the output folder we can see the file has been generated. The image BYTESCOUT logo has been applied to all of the pages just like we have specified.

UiPath Add Images to PDF File

Now, you’ve completed our tutorial on how to insert images into PDF files. You can use and UiPath automation for other PDF activities and daily tasks. 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 Video Guides