In this tutorial, we will show you how to convert HTML to PDF with PDF.co using Integromat.

  1. Create a New Scenario
  2. PDF.co App and Convert HTML to PDF
  3. PDF.co Connection
  4. Test Result
  5. Output

Step 1: Create a New Scenario

First, let’s start by Creating a New Scenario.

Step 2: PDF.co App and Convert HTML to PDF

Next, select the PDF.co module and choose the Convert HTML to PDF for the conversion into PDF.

PDF.co App and Convert HTML to PDF

Step 3: PDF.co Connection

Now, let’s set up the PDF.co configuration.

  • For the Convert Type field, select the HTML to PDF.
  • For the Input HTML Code field, type the raw HTML code to convert into PDF.

PDF.co Configuration

  • In the Orientation field, set the orientation of the pages.
  • In the Paper Size field, select the size of the paper sheet you want to use.
  • In the Margins field, set the value of the margin from the top, right, bottom, and left.

PDF.co Configuration

After setting up the configuration. let’s run the program.

Step 4: Test Result

Great! We successfully converted the HTML to PDF. You can copy and paste the URL to view the output.

Test Result

Step 5: Output

Here’s the converted HTML to PDF output.

Converted HTML to PDF
Converted HTML to PDF

In this tutorial, you learned how to convert HTML to PDF with PDF.co using Integromat. You learned how to use the raw HTML code. You also learned how to use the HTML to PDF Web API.