> ## Documentation Index
> Fetch the complete documentation index at: https://cntillion.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Jotform

> Let your agent look up, add and update Jotform submissions during calls and chats, such as registrations, bookings and callback requests.

Use your Jotform forms as your agent's records. The Jotform integration adds
five workspace tools: they list your forms, read a form's questions and
submissions, create submissions and update them. Your agent can then look up a
family's registration, log a callback request, or change a booking's status
while it talks to someone.

The tools send your Jotform API key from a [workspace secret](https://cntillion.com/docs/workspaces/secrets.md),
so nobody reads it back and a new key reaches every tool at once.

![Jotform integration dialog on the Configure tab, with the API key set to the secret JOTFORM\_API\_KEY, Data region United States (api.jotform.com), and an Add tools button](https://mintcdn.com/centillion/dlkH4zCWhrb5ysXa/images/customer-data/jotform-01-setup.webp?fit=max\&auto=format\&n=dlkH4zCWhrb5ysXa\&q=85\&s=2e4de5709d203f0e2b20e2f19b2499f9)

Jotform's Configure tab: the secret holding your API key and your account's data region.

## Set it up

**1. Create an API key in Jotform**

In Jotform, open **My Account → API** and choose **Create New Key**. Set
its permissions to **Full Access** so the agent can add and update
submissions; **Read Access** is enough if it only looks records up. Copy
the key.

**2. Store it as a secret**

In Centillion, open **Integrations → Add integration → Jotform**. Open the
**API key** list, choose **Create new secret**, keep the name
`JOTFORM_API_KEY` and paste the key.

**3. Add the tools**

Choose your account's **Data region** (United States, Europe or HIPAA) and
choose **Add tools**. Five Jotform tools appear on the **Tools** page, and
Jotform appears on the **Integrations** page. Opening it there runs the
setup again, which adds only the tools that are missing and leaves the
others as they are.

**4. Give them to an agent**

Open the agent's **Tools** page and attach the Jotform tools, then say in
its instructions which forms it works with and what it may change.

## The tools

| Tool | What it does |
| - | - |
| **Jotform: List forms** | Each form's id, title, status and number of submissions. The agent calls it first when it doesn't know a form's id. |
| **Jotform: Get form questions** | A form's questions: each one's id, name, label, type, whether it's required, and a dropdown's options. |
| **Jotform: Get submissions** | A form's submissions, newest first, 20 at a time, with each one's id, when it was made and its answers. A filter narrows them. |
| **Jotform: Create submission** | Adds a submission, such as a registration or a callback request, and returns its id. |
| **Jotform: Update submission** | Changes answers on a submission, such as a booking's status. |

Submissions read back only the fields an agent needs: their ids, dates, and
each answer with its question's name. Jotform's full response for 20
submissions is often larger than the 20 KB an agent reads in one tool call; the
tools keep the rest out.

### Filters

**Jotform: Get submissions** takes Jotform's JSON filters, for example:

| Filter | Finds |
| - | - |
| `{"fullText": "vargas"}` | Submissions with an answer containing the text |
| `{"q9:eq": "Confirmed"}` | An exact answer to question 9 |
| `{"q2:matches": "Vargas"}` | Part of question 2's answer, such as a last name |
| `{"created_at:gt": "2026-11-01 00:00:00"}` | Submissions made after a date |

### Answers

Creating or updating a submission takes its answers by question id, as
**Jotform: Get form questions** lists them. A question with parts takes one key
per part: `3_first` and `3_last` for a full name, `4_full` for a phone number,
`7_year`, `7_month` and `7_day` for a date. A dropdown takes one of its options
exactly as listed.

## Tell the agent how to use them

The tools describe themselves, but the agent works better when its instructions
name your forms and your rules, for example:

```text theme={null}
Our records live in Jotform:
- "Player Registration" holds one submission per player.
- "Session Booking" holds one submission per session, with its status.
- "Inquiries" holds questions and callback requests.

Confirm which player or booking the caller means before changing anything.
Check the form's required questions are answered, read the details back
before creating a submission, and give its id after.
Never read out another family's contact details.
```

## Follow up on new submissions

The tools act when the agent calls them, so a new submission doesn't start a
call by itself. To call people back after they submit, send each submission to
Centillion from a Jotform webhook to your own endpoint, or from a Zap:

1. Turn on **Keep open for new contacts** for a campaign under **Schedule and
   sending rules**.
2. Create the contact with `PUT /agents/{agentId}/contacts`, with the phone
   number in E.164 format and your form's consent wording as its `consent`.
3. Enroll it with `POST /campaigns/{campaignId}/enrollments`. Answers the call
   needs, such as the session date, go in `variables`: they are written onto
   the contact as attributes, so the agent can use them on the call.

The campaign calls on its next run, outside quiet hours in the contact's time
zone. [Contacts and campaign enrollment](https://cntillion.com/docs/api-reference/contacts-and-enrollments.md)
has the request bodies and the attribute naming rules, and
[Webhooks](https://cntillion.com/docs/developer-guides/webhooks.md) covers the events a call sends back.

## Troubleshooting

* **The tool says the key is invalid or not authorized.** Check that the
  secret holds the whole key, that the key still exists in Jotform, and that
  its permissions allow writes if the agent creates or updates submissions.
  Update the secret under **Workspace settings → General → Secrets**; every tool uses
  the new value from its next call.
* **Nothing is found for an account outside the United States.** Run the
  setup again with the right region after removing the Jotform tools, or
  change each tool's address to `eu-api.jotform.com` or
  `hipaa-api.jotform.com`.
* **"Tool output exceeds 20 KB after its response fields."** Ask for fewer
  submissions with a filter or a smaller limit.
* **A new submission doesn't start a call.** The tools act only when the
  agent calls them; see [Follow up on new submissions](#follow-up-on-new-submissions).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.