Webhooks

Use automations to quickly set up webhooks

1
Navigate to Automations and start creating a new automation.
2
Select the trigger that should initiate the webhook. For example, a goal or a visit on a certain URL.
3
As the action of the automation (the right column), select "Execute Webhook" from the Triggerbee library. Enter the URL for your webhook.
4
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 into your system or funnel to a middleware like Zapier.



Example payload:
{
    "Uid": 1234567,
    "SessionId": 1234567890,
    "text": 
    "John Smith visited our website and completed 
    goals \"Submitted the form \"Popup Black friday\", 
    Gave consent\". 2 clicks.",
    "visit": {
        "Time": "2021-11-24T10:16:44",
        "NetName": "Telia Network Services",
        "GeoLocation": "Orebro, Sweden",
        "Goals": [
            "Submitted the form \"Popup Black friday\"",
            "Gave consent"
        ],
        "Revenue": 10.0,
        "Consent": {
            "Title": "Popup Black friday",
            "CurrentWebsiteUrl": "https://triggerbee.com/",
            "PrivacyPolicyUrl":
        "https://privacypolicy.trgr.be/gpp/518751/18/2021-05-31-en.html",
            "PrivacyPolicyText": 
        "By submitting to this form you agree to \n\nour privacy policy",
            "IsCheckboxPresent": "true",
            "VersionDate": "2021-05-31T10:00:00",
            "RevisionNumber": "18"
        },
        "PersonalData": {
            "Email": "[email protected]",
            "Name": "John Smith"
        },
        "Fields": {
            "CheckboxList1": "First item",
            "Gender": "Male",
            "Message": "I really like your products"
        }
    }
}

Still need help? Contact Us Contact Us