Gravity Forms Web Hook Add-On archived
Sends Gravity Forms submission data to a remote URI endpoint after form submission without Zapier
by Jonathan Bell · github.com/jonathanbell/gravity-forms-webhook · website
★ 8stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jonathanbell/gravity-forms-webhook/archive/refs/heads/master.zipFrom the readme
Gravity Forms Post-receive Web Hook Add-on
Sends Gravity Forms form submission data to a remote URI endpoint after form submission without Zapier.
If you don't want to use Zapier to pass your form values along to another server, keep reading.
Method
On the submission of a Gravity Form, check the form's ID. If a set of form IDs stored in the WP database contains the Gravity Forms form ID, use a pre-determined URL (keyed to the form ID) to send the form submission data to the URL via POST (HTTP).
Installation
1. Clone this plugin to your wp-content/plugins directory.
1. Enable the plugin.
1. Under "Forms" in the Wordpress admin area, click "Web Hook".
1. On the plugin's settings page, enter the Gravity Forms form ID and URL endpoint (where Gravity Forms will send the submission data after your form submits and passes validation).
The data is sent via the POST (HTTP) protocol and the built in WPHttp() Wordpress POST method. A "normal" PHP listener/endpoint will see the data as a standard $POST array. Currently, the plugin has only been tested with a PHP listener/endpoint.
The data arrives as key/value pairs in the format: myfieldlabel = myfieldvalue Spaces are replaced by