Process Large HTML to PDF or URL to PDF Conversions in Zapier

  1. Setup Action, select PDF.co as the App Event
  2. Select Custom API Call as the Action Event

For HTML to PDF

  1. Setup PDF.co Action
  2. Test PDF.co Action
  3. Output PDF

For URL to PDF

  1. Setup PDF.co Action
  2. Test PDF.co Action
  3. Output PDF

In this step-by-step tutorial, you will learn how to process large files using async in Zapier.

I’ve prepared a sample file that we can use for this tutorial.

For HTML to PDF

Screenshot of HTML Sample
Screenshot of HTML Sample

For URL to PDF

Screenshot of Wikipedia Website
Screenshot of Wikipedia Website

Let’s start by Creating a Zap!

Step 1 – Setup Action, select PDF.co as the App Event

  • Search and select PDF.co from the list of trigger apps

Search and select PDF.co from the list of apps

Step 2 – Select Custom API Call as the Action Event

  • Select Custom API Call from the list of action events

Select custom API call as the action event

For HTML to PDF

Step 3 – Setup PDF.co Action

  • For the PDF.co API Endpoint, select v1/pdf/convert/from/html
  • For Input JSON, add the parameters and value 
  • For Run as Async Job, set it to true
  • For Async Job Check Interval, set it to higher if the file is large

Setup PDF.co action

Set async to true and set the interval

Step 4 – Test PDF.co Action

  • Once you’re done setting up the action, you may now test it

Test action

Step 5 – Output PDF

  • Here’s the output PDF
Screenshot of Output PDF
Screenshot of Output PDF

For URL to PDF

Step 3 – Setup PDF.co Action

  • For the PDF.co API Endpoint, select v1/pdf/convert/from/url
  • For Input JSON, add the parameters and value 
  • For Run as Async Job, set it to true
  • For Async Job Check Interval, set it to higher if the file is large

Setup the PDF.co Action for URL to PDF

Set async to true and set the job check interval

Step 4 – Test PDF.co Action

  • Once you’re done setting up the action, you may now test it

Test PDF.co URL to PDF action

Step 5 – Output PDF

  • Here’s the output PDF
Screenshot of Output PDF
Screenshot of Output PDF

You’ve learned how to process large HTML to PDF or URL to PDF conversions in Zapier.

Related Samples: