- Home
- Resources
- Integrations
- Custom JS
Custom JS Make integrationAutomate Custom JS with Make.
Need a PDF, a screenshot or a bit of code in the middle of an automation? The Custom JS Make integration gives you 20 action modules for JavaScript, Python, PDFs, web pages and SSL checks. This page shows how to connect your account and build a first working scenario.
Verified Trustpilot reviews · AI, automation & growth agency
What can the Custom JS Make integration do for you?
The Custom JS Make integration plugs a toolbox into your Make scenarios, the automations you build as a chain of modules. Each module is one brick: here, running JavaScript or Python, turning HTML into PDF, PNG or Word files, reworking PDFs, scraping or capturing web pages, and checking SSL certificates.
Documents that write themselves. An order lands in your shop, Invoice PDF Generator produces the invoice, and Merge PDFs attaches your terms of sale behind it. The customer gets one clean file.
Web pages turned into data. Web Scraper for HTML Extraction with Browser Automation reads a supplier page that has no export, and Take Website Screenshots via Browser Automation keeps a visual record of what it showed.
Code where no module fits. Execute inline JavaScript Code or Execute inline Python Code reshapes a value in a few lines, then hands it to the next app. For a longer path, the Make training walks through mapping step by step.
Two limits to know before you start. Custom JS has no trigger, so another app or a schedule has to start the scenario. And the Make doc lists these 20 modules by name only, with no description and no figures, so the notes below read each name and tell you what to check with Run once. The same kind of tool often exists as an n8n node too; the n8n vs Make comparison helps you pick where to build, and Make pricing explains how operations are counted.
How do you connect Custom JS to Make?
- 01
Copy your API key
Log in to your Custom JS account. On the right side of the screen, click Show under Your Api Key, then copy the value and keep it somewhere safe. Make only needs this key, nothing else.
- 02
Open the connection window
In Make, add any Custom JS module to your scenario and click Create a connection. The Connection name field is optional; a clear name helps when you later run several accounts side by side.
- 03
Paste the key and save
Paste the key into the API Key field and click Save. If Custom JS asks you to authenticate, confirm access. The connection, your account linked to Make, now serves every Custom JS module you add.
Your first scenario with Custom JS
GoalWhen a deal is marked won in your CRM, Make builds a PDF quote with Custom JS and compresses it so a lighter file is ready to store or send.
- 01
Create the scenario
On the Scenarios page, create a new scenario and click the +. Custom JS has no trigger, so this first module comes from the app where the deal lives, your CRM for instance.
- 02
Add PDF Generator (from HTML)
Click the + on the right of the first module, search Custom JS and pick PDF Generator (from HTML). Choose your connection, then map the client name and amount from the CRM into your HTML.
- 03
Chain Compress Pdf
Click the + again and add Compress Pdf with the same connection. Map the file created by the previous module into it, so the lighter version is the one that travels on.
- 04
Test with Run once
Click Run once. Make runs the scenario a single time and shows the bundles each module received, a bundle being one item passed along. Open them to confirm the PDF exists before and after compression.
- 05
Schedule and switch on
Set the schedule on the first module, every 15 minutes by default, and switch the scenario on. Each module run on one bundle counts as one operation on your Make plan.
What each Custom JS module does in Make
Custom JS gives you 20 modules in 5 groups. For each one: what it does for you, when to reach for it, and what to watch out for.
Modules index
JavaScript
2 modulesExecute inline JavaScript Code
ActionIn the docs onlyWrite a few lines of JavaScript right inside the module and get their result back as data the next module can map. Custom JS describes its platform as running JavaScript with NPM modules, which covers the date math or text cleanup that is awkward with plain Make tools.
Execute a stored JS function
ActionIn the docs onlyCall a function kept in your Custom JS account instead of pasting the same code into every scenario. Going by the module name, the code lives on the Custom JS side and Make only calls it, so one edit there can serve several scenarios.
Scraping / Screenshots
2 modulesWeb Scraper for HTML Extraction with Browser Automation
ActionIn the docs onlyPull the HTML of a web page into your scenario, loaded through a browser session as the module name spells out, rather than a bare download. You can then pass that markup to a parser, a spreadsheet or an AI module.
Take Website Screenshots via Browser Automation
ActionIn the docs onlyCapture an image of a web page as a browser displays it, ready to attach to an email or file in a shared drive. Point it at a page address coming from the previous module and the picture moves on to the next one.
PDF / Image
9 modulesPDF Generator (from HTML)
ActionIn the docs onlyTurn an HTML template into a PDF that the next module can email, upload or archive. Build the layout once, map data from earlier modules into it, and every run produces a fresh document with the right names and amounts.
Get PDF Form Fields
ActionIn the docs onlyFind out which fillable fields a PDF form contains before you try to fill it. The answer tells you which names to use in PDF Form Fill (Fill PDF Fields), which saves a lot of trial and error.
PDF Form Fill (Fill PDF Fields)
ActionIn the docs onlyFill the boxes of an existing PDF form with data from your scenario and get the completed file back. It works hand in hand with Get PDF Form Fields, which shows the field names first so your mapping lines up.
Merge PDFs
ActionIn the docs onlyCombine several PDFs into one file, so the recipient opens a single document instead of a pile of attachments. Feed it the files gathered by earlier modules, then send the merged result wherever it belongs.
Generate PNG (from HTML)
ActionIn the docs onlyRender a piece of HTML as a PNG picture. Handy when a channel takes images but not documents: you design the card once in HTML, map in a name or a figure from earlier modules, and Make hands the finished image to the next module.
Compress Pdf
ActionIn the docs onlyShrink a PDF so it slips under attachment or storage limits. Place it right after the module that creates or downloads the file, then pass the lighter version along to email, drive or accounting tool.
Pdf To Text
ActionIn the docs onlyLift the text out of a PDF so later modules can search it, summarize it or copy pieces into a spreadsheet. Once the words are plain text, any filter or text function in Make can work on them.
PDF To PNG
ActionIn the docs onlyTransform PDF pages into PNG images for previews, thumbnails or channels that only display pictures. The images then flow to the next module like any other file, ready to upload or post.
Extract Pages From PDF
ActionIn the docs onlyCut a long PDF down to the pages you actually need and leave the rest behind. The smaller file is easier to send, sign or archive in the right folder, and nobody scrolls through pages meant for someone else.
Other
6 modulesRun Puppeteer
ActionIn the docs onlyScript a browser from your scenario with Puppeteer, a library that controls a browser through code, for web tasks the scraper and screenshot modules do not cover: logging in, clicking through pages, filling a search box.
SSL Checker (SSL Certificate)
ActionIn the docs onlyCheck a website's SSL certificate from a scenario and turn the result into data a filter can test. Pair it with an email or chat module, and an expiring certificate reaches you before it reaches your visitors.
Execute inline Python Code
ActionIn the docs onlyPaste Python instead of JavaScript when that is the language your team already reads. The result lands in the bundle the same way, ready to map into the next module without any export step.
HTML to DOCX (Word)
ActionIn the docs onlyProduce an editable Word document from HTML. That matters when someone still has to rework the text: unlike a PDF, the .docx file opens in any word processor and can be revised before it goes out.
Markdown to HTML Converter
ActionIn the docs onlyConvert Markdown into HTML so the text displays properly in an email, a web page or the PDF and PNG modules of this app. Plenty of AI tools and note apps write Markdown, and this module bridges their output to places that expect HTML.
Invoice PDF Generator
ActionIn the docs onlyIssue an invoice as a PDF from order data your scenario already holds. Going by its name, it targets invoices specifically, which may spare you from designing a full HTML template for PDF Generator (from HTML).
Deprecated
1 moduleCreate Screenshot [Deprecated]
ActionIn the docs onlyKeep an older scenario taking screenshots while you plan its replacement: this module is still listed, but its name marks it as deprecated. Existing scenarios may keep using it for now; a new build should not depend on it.
Need help automating Custom JS with Make?
A person reads every message.