The Webhook Node

The Webhook node allows you send Profile Data to another system.


In this Article


About the Webhook Node

The Webhook node allows you to make calls to an external API and make use of the data that you're currently tracking with your other existing integrations and products.


Setting up the node

Note that you may require additional help from a developer, or a person with development skills and knowledge about APIs. We suggest that you reach out to a member of your development department to make sure that all the settings are correct.

Drag the Webhook Node into the canvas and click it to open it up and see all available options.

http Method

Choose a http method on the http dropdown.

While the action of the HTTP method depends on the API you're using, here's a rundown of what each method generally does in most cases.

GET: Retrieve data from the path/endpoint.

POST: Create new data into the path/endpoint.

PUT: Update existing data in the path/endpoint.

DELETE: Delete data in the path/endpoint.

PATCH: Partially update data in the path/endpoint.

Please note, currently, the webhook node will send your request as a GET parameter instead of a request body payload.

We suggest that you test your Webhook node with sites like https://webhook.site or https://requestbin.com with non-sensitive test data to make sure it's working as expected.

Enter the URL. This is the URL to the endpoint where the Webhook will call. The Webhook node supports static parameters.

Add Profile Data

Next, define the data you want to send.

Add Profile Data as URL Parameter

You can add Profile Data through URL Parameters. Choose which parameters to send and choose the data from the drop down menu.

Choose the Attribute (Default or Custom) or Event data you wish to send to your API.

If your Listen node is not listening for an Event, the Event data option will not be available in the Webhook node.

Add Header Data

If you want to add headers set it up here by specifying the name and value for each header you want to send. Repeat to add yet another header.

Response handling

From the Response drop-down menu, choose between a string value or a status code for the response type.

Expected response

In Expected response, add an expected response as a string value or status code.

Web9_02.jpg

Error handling

In Error Handling, define the behaviour of the Webhook node whenever the API response doesn't match your criteria or there is an expected error (for example, the URL is incorrect or the server doesn't respond.

  • Next node yes: Profiles continue to the next node via the Yes path way.

  • Next node no: Profiles continue to the next node via the No path way.

  • Exit flow: Profiles exit the flow.

Ekstra Options

.....Copy from Benjamin


Next Step

Did this answer your question?