Webhook

Splitbee allows you to call webhooks if specific actions occur. This can be used if Email & Telegram automations are not enough. Use them for Slack notifications or triggering some internal functionality.

How to create a Webhook action

  • To get started, create new automation and select an event trigger.
Event Trigger "Project Limit Reached"
Example Trigger
  • Add a new Webhook Action
  • Enter the Endpoint of your server. We will send a POST request with the payload described below.
Example Webhook Action
Example Webhook Action

Webhook Payload

{
"payload": "",
"user": {
"id": "ff4afofe54nbdg4i8l4jacblmk6moj",
"userId": "[email protected]",
"country": "US",
"deviceType": "desktop",
"browser": "Chrome",
"data": {},
"createdAt": "2020-08-16T18:44:43.878Z",
"lastSeen": "2020-08-16T19:31:35.806Z"
},
"trigger": {
"type": "event", // event or pageView
"event": "Select Range", // the selected event from trigger
"data": {} // custom event data
}
}