Triage incoming issues
- Webhook fires on every new issue
- Persona summarises and labels it
- Assigns the right engineer
5 tools available
CustomJS 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.
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.
Every Customjs action below is a callable tool any Definable persona can invoke.
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 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.
Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup.
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.
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.
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.
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.
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.
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.
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.
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.
Wire it up in minutes. No coding required.