Customjs
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.
This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.
Connect
Customjs authenticates with an API key. Generate the credential in your Customjs account, then paste it into FlyMyAI the first time an agent uses a Customjs action.
Get your Customjs credential →
Fields to fill in FlyMyAI
| Field | Details |
|---|---|
CustomJS API Key | The API key used for authenticating requests to the CustomJS API. (required) |
Actions
Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.
| Action | What it does | Required inputs |
|---|---|---|
CUSTOMJS_AUTHENTICATE_API_KEY | Tool to authenticate a CustomJS API key. Use when verifying a user's API key before making further requests. | api_key |
CUSTOMJS_CONVERT_HTML_TO_PDF | Tool to convert HTML to a PDF document. Use when you need to generate a PDF from raw HTML. Returns raw PDF bytes suitable for download or storage. | input, code |
CUSTOMJS_CONVERT_HTML_TO_PNG | Tool to convert HTML string to PNG image. Use when you need a PNG from HTML after preparing your markup. | html |
CUSTOMJS_CREATE_SCREENSHOT | Tool to capture a screenshot of a webpage. Use when you need a visual snapshot of a URL. | url |
CUSTOMJS_MERGE_PDFS | Tool to merge multiple PDF files into a single PDF. Use when you have multiple PDF URLs and want one combined PDF. | input, code, returnBinary |
CUSTOMJS_RUN_PUPPETEER_SCRIPT | Tool to run a Puppeteer script and capture a screenshot. Use when automating headless browser tasks and needing a PNG output. Use after confirming the script logic. | input, code |