Connect CustomJS to your phone agent. Generate PDFs, screenshots and images during calls.

CustomJS lets your agent run document and browser tasks while a caller is still on the line. Your agent can turn HTML into a PDF or PNG, capture a screenshot of a page, or merge several PDFs into one file. Connect your CustomJS account once from the AgentCalls dashboard, and your agent can send the result straight to the caller by text or email. Use it for quotes, invoices, booking confirmations and proof-of-page checks, without anyone leaving the call.

What your agent can do with Customjs

  • Convert HTML to a PDF, such as a quote or invoice, while the caller waits
  • Create a PNG image from HTML for a confirmation card or digital receipt
  • Capture a screenshot of a webpage to show a caller a price, menu or availability page
  • Merge several PDF documents into one file to send as a single attachment
  • Run a saved Puppeteer script for a headless browser task and return a PNG

Customjs exposes 5 actions. You choose which ones the agent may use and whether each runs during or after the call.

Example calls

Inbound quote request

  1. Caller

    Hi, I need a quote for kitchen cabinet installation. Can you send it to me in writing?

  2. Agent

    Of course. I'll put together a quote from the details you give me. What's the room size and the number of cabinets?

  3. Caller

    About 4 by 3 metres, and eight base cabinets.

  4. Agent

    Thanks, Sarah. I've generated your quote as a PDF and sent it to sarah.mitchell@example.com. You should see it within a minute.

Booking confirmation as an image

  1. Caller

    I booked a table for Friday at 7:30 but I'd like the details saved somewhere.

  2. Agent

    I can see your reservation for Friday, 7:30 pm, party of four, under Ahmed Khan.

  3. Caller

    Great, can you send me a confirmation I can keep on my phone?

  4. Agent

    Done. I created a PNG confirmation card with the date, time and table details and sent it to your phone by text.

Outbound price check

  1. Agent

    Hello, this is Maya calling from Northside Print. I'm following up on the brochure order you asked about.

  2. Caller

    Yes, what's the current price for 500 copies?

  3. Agent

    I just captured a screenshot of our live price page. It shows 500 copies at 340 dollars, including delivery. I'll email you that screenshot now so you have the figure in writing.

How to connect Customjs

  1. 1

    Create your agent

    Sign up to AgentCalls, pick an English or Arabic voice and write what the agent should know and do in plain language.

  2. 2

    Connect Customjs

    From Integrations in the dashboard, choose Customjs and enter the connection details from your Customjs account settings.

  3. 3

    Choose the actions

    In the agent editor, enable the Customjs actions the agent may use and set each to run during the call or afterwards. Then test it from your browser.

Questions, answered.

Does it work during the call or after it?

Both. Your agent can generate a PDF, PNG or screenshot during the call and send it to the caller right away, or run the task after the call as part of a follow-up.

What do I need to connect CustomJS?

You need an active CustomJS account. Sign in from the AgentCalls dashboard, open Integrations, choose CustomJS and enter your credentials from the CustomJS settings page.

Which plan includes CustomJS?

CustomJS is included from the Growth plan. Smaller plans can use it as a paid add-on.

Page drafted from the tool's public description and reviewed automatically for accuracy of claims

Put your agent to work with Customjs.

Connect in minutes, test from your browser, go live on a number in the US, UK or Gulf. Free to start, no card needed.