AcademyWorkflowsOperations

HTML to PDF via Webhook with CustomJS

Operations and finance teams that create PDF documents from HTML templates on demand use it.

  • Recommendedour rating
  • 2,454views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

convert-html-to-pdf-and-return-via-webhook-using-customjs-api.json

Loading the file...

What it does

This n8n workflow receives HTML through a webhook, converts it into a styled PDF with the CustomJS PDF toolkit, and returns the PDF as the webhook response. It requires a self-hosted n8n instance and a CustomJS API key. The HTML content can be changed to match your document design.

Use cases

  1. 01Return a PDF from HTML sent by another system
  2. 02Generate styled documents through a webhook
  3. 03Create PDF copies of web-based reports

Questions about
HTML to PDF via Webhook with CustomJS.

What is HTML to PDF via Webhook with CustomJS used for?

Operations and finance teams that create PDF documents from HTML templates on demand use it. This n8n workflow receives HTML through a webhook, converts it into a styled PDF with the CustomJS PDF toolkit, and returns the PDF as the webhook response. It requires a self-hosted n8n instance and a CustomJS API key. The HTML content can be changed to match your document design.

How do I import HTML to PDF via Webhook with CustomJS into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is HTML to PDF via Webhook with CustomJS safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.