The Webhook feature in Triggerbee Automation allows you to send data to a receiving Web app of your choosing.
How to set up a Webhook Automation
Navigate to Automations and create a new automation.
βSelect the trigger that should initiate the webhook, for example, a goal or campaign interaction.
βAs the action of the automation, select "Execute webhook" from the Triggerbee library.
Enter the URL for your webhook. We recommend that you keep the "Use the new format.." toggle.
βGive your automation a name and save it. When the automation is triggered, Triggerbee will call the webhook using a HTTP POST command and send a JSON payload of data regarding the visitor and the session.
Your developer will need to analyze the JSON payload (tip: use a service like https://requestb.in ) and develop a script that can do something with it, for example, insert it into your system or funnel it to a middleware like Zapier.
Webhook Payload
The payload looks different depending on the data that can be found on the visitor and session. Sometimes, you have collected form, survey, or other custom data, and sometimes not.
β
Here are the standard fields that are always included in the payload:
{"visit":
{"SessionId":1234567,
"Uid":1234567890,
"Time":"2023-12-12T08:59:14",
"Identifier":"[email protected]",
"GeoLocation":"Stockholm, Sweden",
"Goals":["Example Goal"],
"Revenue":399.0,}
}
Here is an example of a payload that also includes custom data as well as data from form submissions (the "Fields"-collection):
{
"visit": {
"SessionId": 107582864,
"Uid": 2693256119,
"Time": "2026-01-21T10:25:26",
"Identifier": "[email protected]",
"NetName": null,
"GeoLocation": "Stockholm, Sweden",
"Tags": [
"Customer"
],
"Goals": [
"Completed purchase",
"Submitted the form \"Signup 2.0\""
],
"Revenue": 1500,
"Consent": {
"Title": "Signup 2.0",
"CurrentWebsiteUrl": "https://triggerbee.com/",
"AcceptedTitle": null,
"AcceptedUrl": null,
"PolicyUrl": "https://privacypolicy.trgr.be/gpp/147707/5/2022-11-23-sv.html",
"PolicyText": "I consent to the privacy Policy",
"IsCheckboxPresent": "false",
"PolicyVersionDate": "2022-11-23T16:55:39.111",
"PolicyRevisionNumber": "5"
},
"PersonalData": {
"Email": "[email protected]",
"Name": "Firstname Lastname",
"FirstName": "Firstname",
"LastName": "Lastname",
"Organization": null,
"Phone": "0707123456",
"Username": null,
"Title": null
},
"Fields": {
"Date1": "2024-02-23",
"responseListId": "7aaa39bf-93e3-4dcc-a68e-4455f326d92e",
"submitPath": "/product/lamp-black/"
},
"Utm": {
"Time": "2026-01-21T10:18:37+00:00",
"CampaignName": "myUTMCampaign",
"Source": "myUTMSource",
"Medium": "myUTMMedium"
}
"text": "Some One visited your website, viewed 1 pages and completed goals \"Completed purchase, Submitted the form \"Signup 2.0\"\".",
"blocks": null
}
This payload implies that the visit of John Smith had both default and custom actions, including:
Submitted a form "Popup Black Friday"
Entered his name and email address in the form
Gave his consent for email marketing and privacy policy
Entered custom fields in a form, including:
Checkbox field
Gender
Message
