AutomationMart
Home/Browse/Convert HTML to PDF and return via webhook using CustomJS API
n8n

Convert HTML to PDF and return via webhook using CustomJS API

n8nn8n3 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

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 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

At a glance

Convert HTML to PDF and return via webhook using CustomJS API is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
3
Price
Free
Version
v1.0
Convert HTML to PDF and return via webhook using CustomJS API workflow diagram

About this workflow

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 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: 1. Webhook Trigger: - Accepts incoming HTTP requests with HTML content. - This data is passed to the next node for processing. 2. HTML to PDF Conversion: - Uses the CustomJS node to convert the incoming HTML into a PDF document. - You can customize the HTML content to match the design requirements. 3. Respond to Webhook: - Sends the generated PDF as a binary response to the original webhook request. --- Setup Guide: 1. Configure CustomJS API - Sign up at CustomJS. - Retrieve your API key from the profile page. - Add your API key as n8n credentials. 2. Design Workflow 1. Create a Webhook: - Set up a webhook to trigger the workflow when HTML content is received. 2. Prepare HTML Content: - The incoming request should include the HTML content you wish to convert into a PDF. 3. Configure HTML to PDF Node: - Use the HTML to PDF node to convert the provided HTML into a PDF. - The node uses the HTML input to generate a PDF using the CustomJS API. 4. Respond with the PDF: - The Respond to Webhook node will send the generated PDF back to the original requester as a binary response. --- Example HTML Input: Result PDF

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Evaluation metric example: String similarity

AI evaluation in n8n This is a template for n8n's evaluation feature. Evaluation is a technique for getting confidence that your AI workflow performs reliably, by running a test dataset containing different inputs through the workflow. By calculating a metric (score) for each input, you can see where the workflow is performing well and where it isn't. How it works This template shows how to calculate a workflow evaluation metric: text similarity, measured character-by-character. The workflow ta

Free

🛠️ SyncroMSP tool MCP server 💪 all 20 operations

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator? Join the community Complete MCP server exposing all SyncroMSP Tool operations to AI agents. Zero configuration needed - all 20 operations pre-built. ⚡ Quick Setup 1. Import this workflow into your n8n instance 2. Activate the workflow to start your MCP server 3. Copy the webhook URL from the MCP trigger node 4. Connect AI agents using the MCP URL 🔧 How it Works • MCP Trigger: S

Free

Send email if server has upgradable packages

This workflow automates the routine check for upgradable packages on your Ubuntu server, ensuring you stay updated with the latest software patches and security improvements. By running a daily script, it efficiently monitors any available package upgrades and promptly notifies you via email, saving you time and enhancing your server’s security. How It Works: - Daily Monitoring: The workflow is configured to execute a script daily that connects to your Ubuntu server and checks for any upgradable

Free

Deploy docker Grafana, API backend for WHMCS/WISECP

Setting up n8n workflow Overview The Docker Grafana WHMCS module uses a specially designed workflow for n8n to automate deployment processes. The workflow provides an API interface for the module, receives specific commands, and connects via SSH to a server with Docker installed to perform predefined actions. Prerequisites - You must have your own n8n server. - Alternatively, you can use the official n8n cloud installations available at: n8n Official Site Installation Steps Install the Required

Free

🔐🦙🤖 Private & local Ollama self-hosted AI assistant

Transform your local N8N instance into a powerful chat interface using any local & private Ollama model, with zero cloud dependencies ☁️. This workflow creates a structured chat experience that processes messages locally through a language model chain and returns formatted responses 💬. How it works 🔄 - 💭 Chat messages trigger the workflow - 🧠 Messages are processed through Llama 3.2 via Ollama (or any other Ollama compatible model) - 📊 Responses are formatted as structured JSON - ⚡ Error han

Free

Learn secure webhook APIs with authentication and Supabase integration

This template is a practical introduction to n8n Webhooks with built-in examples for all major HTTP methods and authentication types. It is designed as a learning resource to help you understand how webhooks work in n8n, how to connect them to a data store, and how to secure them properly. What’s included: Webhook nodes for GET, POST, PUT, PATCH, DELETE, and HEAD Demonstrations of Basic Auth, Header Auth, and JWT Auth Supabase integration for creating, retrieving, updatin

Free

AI auto-save Gmail receipts to Google Sheets + Google Drive

Who is this for? This workflow is ideal for: - For freelancers, business owners, and finance teams who receive receipts via Gmail - Automatically logs expenses for tax, - bookkeeping and year-end audits What problem is this workflow solving? When tax season hits, missing receipts create panic. This workflow keeps everything in one place. It uses AI to extract details from Gmail attachments, logs them in a Google Sheet, and stores the PDFs in Google Drive. No digging. No copying. Just everythin

Free

Create OpenAI-compatible API using GitHub models for free AI access

This n8n template shows you how to connect Github's Free Models to your existing n8n AI workflows. Whilst it is possible to use HTTP nodes to access Github Models, The aim of this template is to use it with existing n8n LLM nodes - saves the trouble of refactoring! Please note, Github states their model APIs are not intended for production usage! If you need higher rate limits, you'll need to use a paid service. How it works The approach builds a custom OpenAI compatible API around the Github M

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free