Retrieve form submissions from JotForm
When the user wants their voice agent to look up JotForm submissions during a call. Common triggers:
Check connection via check_connection("jotform").
If not connected: Use secret("jotform") in tool scripts. The system
will automatically emit the correct action card based on the platform
configuration. Do NOT emit action cards manually.
Discover forms (JotForm supports auto-discovery):
api_call("jotform", "GET", "/user/forms") → list all forms with IDs and titlesUse the real form ID in the tool config.
{
"name": "jotform.get_submissions",
"description": "Retrieve recent submissions from a JotForm form",
"params": [
{"name": "form_id", "description": "JotForm form ID", "type": "string", "required": true},
{"name": "limit", "description": "Number of submissions to return (default 5)", "type": "string", "required": false}
],
"script": "let key = secret('jotform');\nlet n = limit || '5';\nlet resp = http_get_h('https://api.jotform.com/form/' + form_id + '/submissions?limit=' + n + '&orderby=created_at&direction=DESC', {'apikey': key});\nif (resp.status >= 200 && resp.status < 300) { return resp.body; }\nthrow new Error(`JotForm ${resp.status}: ${resp.body}`);",
"side_effect": false
}
secret("jotform") for credentialsapikey as the header name (not Authorization)api_call to discover form IDs instead of asking the userthrow using resp.status/resp.bodyEdit PDFs with natural-language instructions using the nano-pdf CLI.