Overview

CustomJS integrates with n8n to provide a suite of tools for generating, merging, compressing, and extracting data from PDF files. Beyond PDFs, the integration also includes nodes for scraping dynamic websites, monitoring SSL certificates, and capturing website screenshots.

The main benefits of using this integration include:

  • Automate document processing without manual intervention.
  • Generate high-quality, styled documents like invoices or reports using HTML and CSS.
  • Extract data from dynamic websites that require JavaScript to render.
  • Proactively monitor website security by automating SSL certificate checks.

How it works

The general process is:

  1. Add a CustomJS node (e.g., HTML to PDF, Scraper) to your n8n workflow.
  2. Configure the desired action and its specific parameters.
  3. Integrate it with other n8n nodes to create a complete automation, such as receiving data from a webhook, processing it with CustomJS, and sending the output via email or saving it to cloud storage.

Available nodes

The CustomJS integration provides several nodes to use in your n8n workflows.

PDF Toolkit

The PDF Toolkit nodes offer versatile tools for various PDF-related tasks.

Website Screenshot

The Website Screenshot node helps you interact with and gather data from live websites.

Web Scraping

The Web Scraping node helps you interact with and gather data from live websites.

Getting Started

The setup process consists of three steps.

  1. Install the CustomJS community node. See Installation for learning how to install it.
  2. Register and obtain your API key. See API Key for more information.
  3. Add the API key to n8n. See API Key for more information.

Alternatively, you can run n8n using Docker. See Docker Setup for more information.