Form completion webhook
The Form Completion Webhook can be used to notify external services whenever a form is completed by a user.
Within InTouch there are two different types of forms:
- Forms (our latest form builder)
- Legacy Forms
To configure the Form Completion Webhook, follow the instructions below depending on the type of form it's being configured for:
Forms
- Navigate to Settings > API
- Under Webhooks, select Form Completion
- Add Webhook
- Provide your webhook URL
- Choose which forms it should be applied to
- Save
Each time the selected forms are completed, this URL will be notified.
Legacy Forms
- Navigate to Settings > Form Widgets
- Select Edit on the required form widget
- Navigate to the forms Settings
- Tick 'Invoke the following webhook'
- Provide your webhook URL
- Save
Each time this form is completed, this URL will be notified.
Example JSON webhook payload
{
"event": "Form_Completion",
"triggered.by.name": "Sam Jones",
"triggered.by.email": "samjones@intouch.cloud",
"timestamp": "2020-01-03T17:01:23Z",
"data": {
//...form fields
}
}