Customjs
Overview
SLUG: CUSTOMJS
Description
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.
Authentication Details
API Key
Connecting to Customjs
Create an auth config
Use the dashboard to create an auth config for the Customjs toolkit. This allows you to connect multiple Customjs accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Customjs Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Customjs toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
CUSTOMJS_AUTHENTICATE_API_KEY
Tool Name: Authenticate CustomJS API Key
Description
Action Parameters
Action Response
CUSTOMJS_CONVERT_HTML_TO_PDF
Tool Name: Convert HTML to PDF
Description
Action Parameters
Action Response
CUSTOMJS_CONVERT_HTML_TO_PNG
Tool Name: Convert HTML to PNG
Description
Action Parameters
Action Response
CUSTOMJS_CREATE_SCREENSHOT
Tool Name: Capture webpage screenshot
Description
Action Parameters
Action Response
CUSTOMJS_MERGE_PDFS
Tool Name: Merge multiple PDFs into one
Description
Action Parameters
Action Response
CUSTOMJS_RUN_PUPPETEER_SCRIPT
Tool Name: Run Puppeteer Script
Description
Action Parameters
Action Response