Skip to main content

How to Convert HTML to PDF

How to use the Convert HTML to PDF on Airtable automation.

The 'Convert HTML Code to PDF' automation allows you to render the HTML code contained within an Airtable field and transform its content into a PDF file.

Set up the automation

  1. Create the Convert HTML Code to PDF automation, then select your Airtable base and table.

  2. Prepare a text field containing your HTML, or a formula field whose result is HTML. Add a separate attachment field for the PDFs.

  3. Set Input Field to your HTML field and Output Field to the attachment field.

  4. Choose Orientation: Portrait or Landscape.

  5. Limit the run to a view containing one or two sample records, then run the automation. Open the PDF and check the layout, images and page breaks before running the remaining records.

Use HTML that already contains the content you want to print. JavaScript is not run when the PDF is generated, so content that depends on a script will not be added.

Before processing more records, review the existing-data handling setting, especially if your output field already contains files.

Did this answer your question?