Webhooks
Webhooks let you send form submission data to an external URL in real time. When a respondent submits a form, Kamptrix makes an HTTP POST request to your configured endpoint with the submission payload.
Setting Up a Webhook
- Open a form in the Form Builder.
- Go to Settings → Webhooks.
- Click Add Webhook.
- Enter the endpoint URL where you want to receive data.
- Save the webhook.
You can add multiple webhooks per form if you need to send data to more than one service.
Payload Format
The webhook sends a JSON payload containing:
- Form metadata — Form ID, name, and workspace info.
- Submission data — Key-value pairs for every field in the form.
- Timestamp — When the submission occurred.
Testing Webhooks
Use the Test button next to any configured webhook to send a sample payload to your endpoint. This lets you verify that your receiving service handles the data correctly before going live.
tip
Services like webhook.site are handy for inspecting payloads during development.
Common Use Cases
- CRM sync — Push lead data into your CRM when a contact form is submitted.
- Notifications — Trigger Slack or email alerts through a middleware like Zapier.
- Data pipelines — Feed submissions into a database or analytics tool.
- Order processing — Kick off fulfillment workflows from an order form.
Troubleshooting
If a webhook is not firing as expected:
- Confirm the endpoint URL is correct and publicly accessible.
- Check that your receiving server returns a
2xxstatus code. - Review server logs on the receiving end for errors in payload parsing.