submit-form
Submit an entry to a Lawmatics custom form to create a matter/contact and fire the form's automations, just like a website submission.
Instructions
Submit an entry to a custom form — creates a matter/contact and fires the form's automations, exactly like a website submission. Standard keys: first_name, last_name, email, phone. Custom fields use the key form 'custom_field_' (IDs from get-form or list-custom-fields). utm_source/utm_campaign/utm_medium/utm_term are also accepted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"form_uuid": "<form_uuid>",
"data": "<data>"
},
"name": "submit-form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Field values keyed by field ID, e.g. {"first_name": "Jane", "custom_field_2263": "yes"}. | |
| form_uuid | Yes | The form's UUID (from list-forms). |