Overview

customJS enables the execution of custom JavaScript code within Make.com. In this way, it enhances and expands Make scenarios by incorporating advanced logic through NPM modules and integrating with external services, providing flexibility beyond Make’s standard visual blocks.

How it works

customJS integrates into Make as a module, allowing to run JavaScript code within scenarios. You input your script directly into the customJS module, which processes data from previous steps, executes the code, and outputs results for use in subsequent steps. It supports NPM modules (e.g., cheerio, axios, uuidv4) and SDK integrations (e.g., Firebase Admin SDK, OpenAI API) to extend functionality.

There are two primary ways to execute your code:

Execute inline JavaScript Code

Run any custom JavaScript code directly inside your Make.com scenario without external dependencies.

Execute a stored function

Execute pre-written and centrally managed functions from your CustomJS workspace and use them in Make.com.


Cost-effectiveness

CustomJS is a cost-effective solution compared to other workflows. With Make.com's new credit-based system, scenarios with loops, long execution durations, or heavy processing can quickly become expensive. CustomJS allows you to run complex JavaScript logic outside of Make's per-iteration billing, potentially saving up to 80% in costs. You're billed based on requests rather than iterations, with a free tier of 20 requests/day and paid plans starting at $10/month for higher volumes. Learn more about cost savings with Make.com credits.

Supported Make.com modules

customJS can be used in any Make.com module that supports JavaScript code execution. Here are some examples:

Web Scraping & Screenshots

Web Scraper for HTML Extraction

A web scraper module to crawl websites and interact with page elements (clicks, typing, etc.). The module returns raw HTML of the visited page.

Take Website Screenshots

Capture any website as screenshot (PNG) with full browser rendering. Ideal for archiving, reporting, or visual monitoring. Supports dynamic websites, scrolling pages, and automated Make.com workflows.

PDF & Image Tooling

Generate a PDF

Dynamically create professional PDF documents from any HTML string.

Generate a PNG

Convert an HTML string into a high-quality PNG image.

Extract Pages From PDF

Split a PDF document into multiple single-page PDFs or extract a specific range of pages.

Merge PDFs

Combine multiple separate PDF files into a single, ordered document.

Compress PDF

Reduce the file size of your PDFs to optimize for storage or email delivery.

PDF To PNG

Convert entire PDF documents or specific pages into PNG images.

PDF To Text

Extract all text content from a PDF file for easy processing.

Other Utilities

SSL Checker (SSL Certificate)

Automatically monitor SSL certificates and get their expiration dates to prevent downtime.

Execute inline Python Code

Run custom Python scripts for data analysis, API interactions, or any other logic directly within a Make.com module.