Server Post integration allows responses from your form to be sent as a webhook to a third-party server.
In order to use this integration, you must have a Formsite account at the Pro 1 or higher service level. Use the instructions below to integrate your form with a third-party server.
Once the Server Post integration has been configured, your form is ready to send results as a webhook to your destination server. When a visitor fills out your form, their responses will be sent to the specified URL when the visitor submits the last page and the result enters the "Completed" status.
When editing a result from the "Results->Results Table" page, or when using the Save & Return feature, the updated results will trigger the webhook and automatically be sent to your server.
Results for form items will closely resemble the naming conventions specified by Formsite's API at the "Form Settings->Integrations->API" page. You can modify the names of the item parameters by using Results Labels. The basic format for different item types when using the Name-Value Pairs format is:
If the Server Post fails, the result will enter the "Failed" status, and the visitor will be shown an error page. You can see results' statuses on the "Results->Results Table" page.
To see how your server is responding, turn on the "Use server response as Success Page" setting. Make sure your server is not responding to the webhook with an error message.
Server Post integration uses the HTTP POST method and results will be sent in the request's Content section, encoded based upon the selected Message Format.
The Additional Parameter(s) option is only available for the Name-Value Pairs format.
If a result is not sent due to a Results Filter, the default Success Page will be shown regardless of the "Use Server Response as Success Page" setting's value.