We prepared this step-by-step tutorial with screenshots on how to set image size when adding to PDF using PDF Filler action on PDF.co for Zapier. This is to set your desired image size when you add an image to a PDF file to fit it perfectly.

Quick navigation:

  1. Start by clicking on Make a Zap! at the upper-left corner of your Zapier dashboard
  2. Under “Trigger” you can see App Event, search and select Google Drive from the list of apps
  3. Under Trigger Event select New File in Folder.
  4. Select or connect your Google Drive account to Zapier
  5. Select My Google Drive as the drive to use
  6. Select the Folder on your Google Drive where input documents will be added
  7. Click Test Trigger. After running a successful test, click continue
  8. Under “Action” you can see App Event, search and select PDF.co from the list of apps
  9. Under Action Event select PDF Filler
  10. Select or connect your PDF.co account to Zapier
  11. Under Set up action set the Source PDF as Web Content Link
  12. Under Images Set the value with the following format (x;y;pages;urltoimage;linkToOpen;width;height)
  13. Set the Output PDF Name, then hit continue
  14. On the Test action step click TEST & REVIEW to check if there are any errors.
  15. Once the test returns as successful you can then TURN YOUR ZAP ON.

Step by step guide:

We will use this sample Invoice and add this sample image below the invoice table.
Screenshot of the Sample PDF file without the image
Screenshot of Sample PDF
Sample image to be added to the Sample PDF
Sample Image

STEP 1 – Start by clicking on Make a Zap! at the upper-left corner of your Zapier dashboard.

STEP 2 – Under “Trigger” you can see App Event, search and select Google Drive from the list of apps.

Choosing the Trigger App Event. In my case I'm using Google drive for my trigger app.

NOTE: If you are not a Google Drive user, you can use a different cloud storage service such as Dropbox, OneDrive, etc., and look for a similar Trigger Event.

STEP 3 – Under Trigger Event select New File in Folder. This way every time there’s a new file in your folder, it will trigger this zap.

Choosing the Trigger Event New File in Folder

STEP 4 – Select or connect your Google Drive account to Zapier.

Choosing a Google drive account to be used.

STEP 5 – Select My Google Drive as the drive to use.

Choosing My Google Drive as the drive to be used

STEP 6 – Select the Folder on your Google Drive where input documents will be added.

Choosing the folder where your input files come from.

STEP 7 – Click Test Trigger. After running a successful test, click continue.

Testing the trigger if it's setup correctly

STEP 8 – Since we’re done with our trigger event, let’s move on to the action event. Under “Action” you can see App Event, search and select PDF.co from the list of apps.

Choosing PDF.co as the Action App Event

STEP 9 – Under Action Event select PDF Filler. PDF Filler can help you add something with your PDF, e.g. text, images, fill PDF forms, etc.

Choosing PDF Filler as the Action Event

STEP 10 – Select or connect your PDF.co account to Zapier. You can get your API key by clicking here.

Connecting PDF.co account to Zapier

STEP 11 – Under Set up action set the Source PDF as Web Content Link.

Choosing Web Content Link as the Source PDF

STEP 12 – Under Images Set the value with the following format (x;y;pages;urltoimage;linkToOpen;width;height).To get X and Y coordinates for objects in PDF please click here to open PDF.co Simple PDF Viewer.

Setting the value for the image that will be inserted to your PDF File

STEP 13 – Set the Output PDF Name, then hit continue.

Setting the Output PDF Name

STEP 14 – On the Test action step click TEST & REVIEW to check if there are any errors.

Testing the action to see if it is setup correctly

STEP 15 – Once the test returns as successful you can then TURN YOUR ZAP ON. Give your Zap a name by editing the Name your zap text located at the upper-left corner of your screen.

STEP 16 – This is now the invoice with the image set at 300 x 300 pixels. The size is customizable and you can set your own image size.

Screenshot of the Output PDF with the sample image on it
Screenshot of Output PDF

Related Samples: