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.