Customjs
developer tools 5 tools availableCustomJS is a code-first automation platform that enables seamless integration of custom JavaScript logic into various systems and technologies, allowing users to extend applications by writing functions for tasks like sending emails, generating PDFs, or updating CRM data fields.
About this integration
Connect Customjs to Definable to triage issues, review pull requests, monitor builds. Personas call Customjs's 5 tools directly from chat or scheduled flows. Wire it into a triage, review, or release-management persona — every action runs scoped, reviewable, and logged.
Connect Customjs to Definable and it becomes a set of typed tools your agents plan with — triggered by events, run on schedules, or invoked mid-conversation. Every write is checked by the verifier before it lands.
Customjs · in workflows
What teams actually run.
Three patterns teams run with Customjs on day one. Each one is a plain-English prompt — no canvas, no glue code — and you can remix them into anything.
Auto-review PRs
Failing-build alerts
5 tools available
The Customjs toolbox.
Every Customjs capability your agents can call, each with a typed schema the planner reads. The router picks the right tool per step; the verifier checks the result.
Authenticate CustomJS API Key Authenticate and validate a CustomJS API key. Returns workspace details, request limits, and decoded JWT token information including user email. Use this to verify an API key is valid before making other CustomJS API calls.
Convert HTML to PDF Convert HTML content to a PDF document. Use this tool to generate PDF files from raw HTML markup. Supports: - Complete HTML documents or fragments - Inline CSS styling (colors, fonts, tables, borders, backgrounds) - Unicode characters and special symbols - Multi-page documents Returns raw PDF bytes suitable for file storage or download.
Convert HTML to PNG Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup.
Merge multiple PDFs into one Merge multiple PDF files from URLs into a single PDF document. Use this tool when you need to combine two or more PDF documents into one. The PDFs are merged in the order provided. All input URLs must be publicly accessible. Returns a downloadable merged PDF file.
Run Puppeteer Script Execute a Puppeteer script in a headless browser and capture a screenshot. Use this tool for browser automation tasks such as navigating to URLs, interacting with page elements, extracting data, or capturing visual snapshots of web pages. The script runs in a sandboxed Puppeteer environment with access to a 'page' object.
See it run
One prompt, start to finish.
A real prompt, the Customjs tools it calls, and what comes back. This is the whole interface — describe the outcome, agents handle the rest.
Run a real Customjs task end-to-end — plan it, execute across the API, and hand back a verified result.
customjs.authenticate_customjs_api_key Authenticate and validate a CustomJS API key. Returns workspace details, request limits, a customjs.convert_html_to_pdf Convert HTML content to a PDF document. Use this tool to generate PDF files from raw HTML customjs.convert_html_to_png Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparin · verified Done. Customjs responded across 3 calls, the verifier signed off, and the result is logged with every payload.
FAQ · Customjs
Questions, answered.
What teams ask before connecting Customjs.
01 What can I automate with Customjs on Definable?
Anything Customjs exposes through its API. Common developer tools workflows on Definable include triage issues, review pull requests, monitor builds. Personas can call any of the 5 Customjs tools directly, then chain the result into another integration without you writing code.
02 How does Customjs authentication work?
Customjs uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
03 Is the Customjs integration included in my Definable plan?
Yes — every Definable plan, including Starter, includes access to all 5 Customjs tools. You only need a separate Customjs subscription if Customjs itself charges per seat or per API call.
04 Is using Customjs through Definable secure?
Every call from a persona to Customjs is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
05 How do I get started with Customjs on Definable?
Sign up for Definable, open the integrations page, find Customjs, and connect via OAuth or API key. You can immediately attach Customjs to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
06 What Customjs actions does Definable expose?
Definable exposes all 5 Customjs actions as callable tools — including `Authenticate CustomJS API Key`, `Convert HTML to PDF`, `Convert HTML to PNG`, plus 2 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Put Customjs to work tonight.
Connect in two clicks, describe an outcome, and your first workflow is live in minutes. Free plan included — no card required.