Customjs logo

Integrate Customjs with your AI CRM

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.

Explore Triggers and Actions

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.

ActionTry it

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.

ActionTry it

Convert HTML to PNG

Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup.

ActionTry it

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.

ActionTry it

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.

ActionTry it

How the Customjs integration works

The Customjs integration connects your Dench AI CRM directly to Customjs, so agents can read and act on your Customjs data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

5 actions are available for agents to invoke on your behalf. Every call runs through Customjs's own authorization, scoped to the account you connect.

Set up Customjs in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Customjs and click Connect — you'll authorize access through Customjs's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Customjs in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Customjs integration work with Dench?

The Dench Customjs integration connects your AI CRM to Customjs, so AI agents can work with your Customjs data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Customjs via Dench?

The Customjs integration currently exposes 5 actions, including Authenticate CustomJS API Key, Convert HTML to PDF, Convert HTML to PNG, Merge multiple PDFs into one, and Run Puppeteer Script. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Customjs to Dench?

No. You connect Customjs from your Dench workspace using Customjs's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Customjs integration secure?

Connections are authorized through Customjs's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Customjs connection from your workspace settings at any time.