Templates / Convert HTML to PDF and return via webhook using CustomJS API

Convert HTML to PDF and return via webhook using CustomJS API

Unknown

by CustomJS ✓ · 4,088 views · created 2025-03-26 · Document Extraction

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 3 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Pdf Toolkit (community).

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. HTML to PDF (Html2Pdf): uses Html2Pdf
  2. Respond to Webhook: sends the response back to the webhook caller

Services it uses

Pdf Toolkit (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @custom-js/n8n-nodes-pdf-toolkit is verified or supports 3.0 (used in HTML to PDF).

Nodes used (3)

From the author

! n8n Workflow: HTML to PDF Generator This n8n workflow converts HTML content into a styled PDF and returns it as a response via a webhook. The workflow receives HTML input, processes it using CustomJS's PDF toolkit, and sends back the resulting PDF to the…

Excerpt from CustomJS'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.