Webhooks
HTML Forms Premium adds an action to let you connect your form data to an external service using a webhook. This feature helps unlock the base plugin in an incredible number of ways. You can send data from your visitors to third-party applications or your own internal software tools.
How to Create a Webhook Action
First, you’ll have to install HTML Forms Premium. Once that is complete, you’ll find a new button on the Actions tab of your form called Trigger Webhook. Pressing that button will reveal the window to build the webhook connection to your form.

As you can see in the screenshot, there are three fields in the webhook action.
Webhook URL
This is the destination URL that your form data will be sent to.
Content Type
Define what type of content will be sent to the webhook URL. Your choices are JSON or encoded form data.
Additional Headers
If your Webhook URL requires additional headers, like authorization, you can include that information here.
Retry Attempts
Define how many times your webhook will attempt to contact your URL if a failure occurs.
Debug Mode
Setting this value to “Yes” will output debug information to your server’s error log whenever a webhook attempt fails.
Sending Data to the Webhook
All data included in the form is sent to the webhook whenever there is a successful submission. It is sent in the format you chose in the Content Type field to the address in your Webhook URL field, with any headers you included in Additional Headers. It is the responsibility of the service running at the Webhook URL to handle things from there.
Related Posts from Our Knowledge Base
HTML Forms will store all of your form submissions directly inside the WordPress admin. You can access this from the Submissions tab when viewing a form. List View The Submissions tab shows all the submissions your form has received in chronological order. Each field in your form will have its own column, in addition to […]
HTML Forms comes with built-in form validation, but you can add your own as well with WordPress filters.