Back to Nodes

Pdfless

Last updated Jun 4, 2026

n8n community node for Pdfless PDF generation

233 Weekly Downloads
233 Monthly Downloads

Included Nodes

Pdfless

Description

!Pdfless Logo

n8n-nodes-pdfless

This is an n8n community node for Pdfless – a scalable and easy way to generate PDFs from HTML and CSS.

Create your templates and generate high-quality PDFs directly from your n8n workflows.

Prerequisites

Pdfless account is required, sign up for free for free to create up to 50 pdfs/month.

Installation

Follow the n8n community node installation guide.

In your n8n instance:
1. Go to Settings > Community Nodes
2. Enter @pdfless/n8n-nodes-pdfless
3. Click Install

Operations

Generate PDF

Generate a PDF file based on a template identifier.

| Parameter | Type | Required | Description |
|———–|——|———-|————-|
| template_id | string (GUID) | Yes | Unique identifier of the template used to generate the PDF |
| reference_id | string | No | Identifier that correlates with data from your own system |
| payload | JSON | No | Data in JSON format used to populate the template |

#### Example

{
  "template_id": "d9b1e2f3-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
  "reference_id": "invoice-2024-0042",
  "payload": {
    "customer_name": "Acme Corp",
    "invoice_number": "INV-0042",
    "due_date": "2024-06-30",
    "items": [
      { "description": "Consulting", "quantity": 5, "unit_price": 150 },
      { "description": "Support", "quantity": 10, "unit_price": 75 }
    ],
    "total": 1500
  }
}

Generate PDF with encryption

Generate a PDF file based on a template identifier, with optional encryption to protect and restrict access to the document.

#### Encryption options

| Parameter | Type | Description |
|———–|——|————-|
| encryptionuserpassword | string | If defined, the document will be encrypted and this password will be required to open it |
| encryptionownerpassword | string | Owner (permission) password that restricts access to certain document functionalities |
| encryptionallowprinting | boolean | Allows the document to be printed |
| encryptionallowmodifying | boolean | Allows the document to be modified |
| encryptionallowmodify_annotations | boolean | Allows annotations to be added or edited |
| encryptionallowcontent_copying | boolean | Allows content to be copied from the document |
| encryptionallowscreenreaders | boolean | Allows screen readers to access the document content |
| encryptionallowform_filling | boolean | Allows form fields to be filled in |
| encryptionallowdocument_assembly | boolean | Allows cross-document operations (page insertion, rotation, etc.) |

All encryption parameters are optional. When encryptionuserpassword or encryptionownerpassword is set, the PDF will be encrypted and permissions can be fine-tuned using the boolean flags above.

#### Example

{
  "template_id": "d9b1e2f3-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
  "reference_id": "invoice-2024-0042",
  "payload": {
    "customer_name": "Acme Corp",
    "invoice_number": "INV-0042",
    "due_date": "2024-06-30",
    "total": 1500
  },
  "encryptionuserpassword": "",
  "encryptionownerpassword": "",
  "encryptionallowprinting": true,
  "encryptionallowmodifying": false,
  "encryptionallowmodify_annotations": false,
  "encryptionallowcontent_copying": false,
  "encryptionallowscreenreaders": true,
  "encryptionallowform_filling": false,
  "encryptionallowdocument_assembly": false
}

Credentials

You need a Pdfless API key. Get one at app.pdfless.com.

Resources

License

MIT