Easily send data from Drip to any URL endpoint with Drip’s Send an HTTP post action.
Let’s say you want to send a post request to a custom script located on one of your servers anytime a subscriber reaches a certain point in one of your workflows. Or, you might be using another software that provides you with a URL endpoint to receive requests from outside sources. In the past, this type of functionality would require you to set up a webhook and filter the requests yourself. Drip now does all the heavy lifting for you.
The automation action allows you to send either JSON or form encoded requests to any arbitrary URL endpoint setup to receive the request.
Here is an example of the payload that gets sent automatically with the HTTP post request:
Set up the action
In Workflows, you can send the request anywhere you can add an action step. In Rules, you can add the request to the action step (step 2) of the rule. In Bulk Operations, you can use the action in the action step (step 2) of the operation.
Here’s an example of the action set up:
Here’s the rundown:
- What action should we perform?
– Send an HTTP post
- Endpoint URL
– Enter your endpoint URL.
- Content Type
– Select either JSON or Form encode (it will default to JSON if unchanged).
- Custom Data (optional)
– Hard code additional data to be sent along with the request, like an access token, for example. When the HTTP post action is set to send JSON as its content type, your custom data is sent in the JSON payload and stored in the “custom” object, not as URL parameters.
Here’s an example of how the HTTP post action might get used in your workflow: