Convert HTML to PDF and return via webhook using CustomJS API
! 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 us...
Template notes
! 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 original webhook requester.
[@custom-js/n8n-nodes-pdf-toolkit](@custom-js/n8n-nodes-pdf-toolkit)
Features:
- Webhook Trigger: Accepts incoming requests with HTML content. - HTML to PDF Conversion: Uses CustomJS to transform HTML into a PDF. - Response: Sends the generated PDF back to the webhook response.
Requirements:
- Self-hosted n8n instance - A CustomJS API key for HTML to PDF conversion - HTML content to be converted into a PDF
Workflow Steps: