# Generate PDF from HTML and compress files by URL — manual trigger
This automation template converts HTML content into PDF and compresses existing PDF files from a URL or binary input. Designed for users who regularly handle document generation and need compact, high-quality outputs without manual effort.
## Who it´s for
- Document workflow specialists automating PDF creation
- Developers integrating PDF generation into systems
- Administrators reducing PDF file sizes in bulk
## What the automation does
- Converts HTML content to PDF using an external API
- Accepts PDF files via URL for compression
- Processes binary PDF data directly
- Triggered manually via test button
- Outputs a compressed, optimized PDF file
## What´s included
- Ready-to-use n8n workflow
- Manual trigger and data processing logic
- Integrations with CustomJS PDF API and PDF Toolkit
- Basic text instructions for setup and adaptation
## Requirements for setup
- n8n instance (self-hosted or cloud)
- Access to CustomJS PDF API (external PDF processing service)
- API key or authorization for PDF Toolkit usage
## Benefits and outcomes
- Faster document preparation in PDF format
- Reduced storage footprint through file compression
- Automation of repetitive tasks after initial setup
- Reusable across different HTML templates
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet