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

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

Let’s start by Creating a Zap!

HTML to PDF

Screenshot of HTML Sample
Screenshot of HTML Sample

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

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

URL to PDF

Screenshot of Wikipedia Website
Screenshot of Wikipedia Website for Sample URL

To start, complete the first two steps as when converting HTML to PDF.

Setup Action, select PDF.co as the App Event.

Then Select Custom API Call as the Action Event.

Step 1: 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 2: 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 3: Output PDF

  • Here’s the output PDF
Screenshot of Output PDF

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