Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Convert HTML to PDF and Compress Files with CustomJS API

n8n template #3869
This n8n template demonstrates how to convert HTML into a PDF, compress the generated PDF, and return it as a binary response using the PDF Toolkit from www.customjs.space. Notice Community nodes can only be installed on self-hosted instances of n8n. @custom-js/n8n-nodes-pdf-toolkit What this workflow does Convert the requested HTML to PDF. Compress the PDF file. Use a Code node to handle URLs pointing to PDF files if they exceed 6MB. Compress the PDF pages. Requirements Self-hosted n8n instance CustomJS API key for compressing PDF files. HTML Data to convert PDF files Code node for handling URL that indicates PDF file. Workflow Steps: Manual Trigger: Runs with user interaction. HTML to PDF:

Hand off to your agent

Prompt

Help me set up the n8n workflow "Convert HTML to PDF and Compress Files with CustomJS API" (https://n8n.io/workflows/3869). It uses: Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K
  2. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  3. Fully Automated AI Video Generation & Multi-Platform Publishing191K
  4. Scrape business emails from Google Maps without the use of any third party APIs150K
  5. Build Your First AI Data Analyst Chatbot134K
  6. Chat with PDF docs using AI (quoting sources)95K
  7. AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
  8. Create a Branded AI-Powered Website Chatbot88K
Buy me a coffee