Installation

You must first install CustomJS npm package, which contains all CustomJS modules for n8n. The package is available on npmjs at @custom-js/n8n-nodes-pdf-toolkit. This is a community package natively supported by n8n.

Installation on n8n Cloud

If you're using n8n Cloud, the easiest way to install CustomJS nodes is directly from within a workflow:

  1. Open any workflow in your n8n Cloud instance.
  2. In the right sidebar with the list of available nodes, search for "CustomJS".
  3. Click on any CustomJS node (e.g., HTML to PDF, Invoice Generator) to add it to your workflow.
  4. n8n will automatically prompt you to install the community package if it's not already installed.
  5. Confirm the installation and the node will be ready to use.

Alternatively, you can install via Settings > Community Nodes as described below.

Installation via Settings (Cloud & Self-Hosted)

You can also install the community package directly from the n8n editor settings:

  1. Open your n8n instance (Cloud or self-hosted) in the browser.
  2. Go to Settings > Community Nodes.
  3. Click on Install a Community Node.
  4. Enter the package name: @custom-js/n8n-nodes-pdf-toolkit, confirm you understand the installation risk, and click Install.
    Package Installation
    Package Installation
  5. Confirm and restart n8n if prompted. After installation, all CustomJS nodes will be available in the node selector.
    CustomJS Nodes
    CustomJS Nodes