Files & Documents

Convert HTML to Compressed PDF Files Automatically

9 nodes 278 121 Automatic trigger
Download

Workflow Description

A workflow that transforms HTML content into high-quality PDF files and automatically compresses them to reduce file size. Manually triggered with support for custom code processing before conversion.

How it works

  1. 1.Manually trigger the workflow from the dashboard
  2. 2.Process HTML content using custom code or direct input
  3. 3.Convert HTML to PDF with high quality settings
  4. 4.Compress the PDF file to minimize file size
  5. 5.Save the compressed file to designated storage

Use cases

  • Generate invoices and reports in PDF from web forms
  • Automate document conversion and compression for client archives

Requirements

  • Well-formatted HTML content
  • Access to PDF compression service

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

HTML Compress P D F

Details

Trigger Automatic trigger
Nodes 9
Apps 2
Views 278
Downloads 121

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

HTML to PDF

HTML Page

#1

Compress PDF file

Compress P D F

#2

When clicking ‘Test workflow’

Manual Trigger

#3

Compress PDF file1

Compress P D F

#4

Set PDF URL

Code

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Sticky Note2

Sticky Note

#8

Sticky Note3

Sticky Note

#9