Send data to webhook action let’s you perform a HTTP request when all triggers of an automation gets completed.
When you add a new action, you can find the send data to webhook action under the AutomatorWP integration.
Next, click on the “webhook” button and the action configuration will be displayed like this:
On this action, you can configure the following fields:
URL: The URL to perform the request to.
On the URL field you can place any URL from your project, a catch hook URL from web services like Zapier or Integromat or included the webhook URL from a Receive data from webhook trigger (from your site, or from other site you have Webhooks add-on installed).
Request method: The request HTTP method (POST, GET or PUT). If not sure, leave it as POST.
Request format: The request format (FORM or JSON). If not sure, leave it as FORM.
Fields: On fields, you can setup the fields parameters that will be sent on the request. You can set static values or dynamic thanks to the tags.
Headers: On headers, you can setup the request headers that will be sent on the request. You can set static values or dynamic thanks to the tags.
Note: The Content-Type header is automatically set to application/json when the Request Format is set to JSON and the Request Method is set to POST or PUT.
Sending a test
At bottom of the send data to webhook form, you have the Send test button. You can use this button to send a test request to test the results of the action configuration.
You can check the automations samples page where you can see some samples of the possibilities of this add-on.