Webhooks
Last updated
Was this helpful?
Last updated
Was this helpful?
The most robust way to receive data during a flow's progress and completion is to set up an endpoint for ingesting webhooks. Formsort sends data to this endpoint after a step is completed by the responder.
Youโve reached our technical documentation. You may wish to visit our .
The frequency of sending data to the webhook can be configured as:
On Finalize: only at the end of the flow.
On Savepoint: after each step marked as save point, and at the end of the flow.
Every step: at the end of each step (when the responder advances using the Next button), and at the end of the flow.
Abandoned: when the responder abandons the flow after a period of inactivity, and at the end of the flow. Formsort recommends using this setting to reduce the load on the webhook.
Formsort backend system will exclusively send webhook requests from the static IP 18.217.92.196
.
The webhook is a POST of JSON data in the following shape:
If you'd like the responder uuid to be included, you can give it an alias in the webhook configuration.
It's possible to change the shape of the data, for example to nest the answers under their own key, or put them into an array.
You can send a test webhook with dummy data for a variant with the Send test webhook button, or just inspect a sample webhook body with the View webhook payload button.
Formsort makes it easy to get a webhook integration set up. By adding the Webhook URL, Formsort will immediately start sending answer data to the webhook destination at the frequency you've selected.
First, head to the webhook integration menu in your flow
To enable multiple destinations, first complete setup for an initial destination (Destination 1). Then, click the "+ Add destination" button. Up to 3 instances can be added.
Once you've finished configuring all instances of your Webhook integration, be sure to Save with the button in the top right corner.
Change the webhook posting frequency to the desired frequency. Refer to for a more in-depth explanation. Once your posting frequency is selected, the menu will open and you can add your Webhook URL.
Add any other configuration options you require (covered in this chapter). If you'd like to add more than one webhook configuration, proceed to . Otherwise, Save the configuration with the Save button in the top right corner. Once saved, Formsort will begin sending the answers it collects from deployed flows to the webhook destination.
If you have deployed flows previous to integrating with your webhook, it is advisable to re- those flows.
There is an option to send answer payloads to multiple Webhook destinations. This is useful if you'd like to share your data across multiple endpoints, or have payloads that are sent at different go to different destinations.
If you have deployed flows previous to integrating with or updating your webhook, it is advisable to re- those flows.