Templates / Convert HTML to PDF using ConvertAPI

Convert HTML to PDF using ConvertAPI

Ready for 3.0

by ConvertAPI ✓ · 14,421 views · created 2024-07-05 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 5 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls v2.convertapi.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Create HTML (Edit Fields (Set)): sets 1 field: data
  2. Convert HTML to File (Code): runs custom JavaScript code
  3. Convert File to PDF (HTTP Request): calls v2.convertapi.com (POST)
  4. Write Result File to Disk (Read/Write Files from Disk): writes a file to disk

HTTP calls to: v2.convertapi.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Who is this for? For developers and organizations that need to convert HTML files to PDF. What problem is this workflow solving? The file format conversion problem. What this workflow does 1. Converts HTML to file. 2. Converts the HTML file to PDF. 3. Stores…

Excerpt from ConvertAPI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.