Webhooks
The Webhook feature in Triggerbee Automation allows you to send data to a receiving Web app of your choosing.
How to
- Navigate to Automations and create a new automation.
- Select the trigger that should initiate the webhook. For example, a goal or a visit on a certain URL.
- As the action of the automation (the right column), select "Execute Webhook" from the Triggerbee library. Enter the URL for your webhook.
- 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.
-
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": "john@johnsmith-example.com", "Name": "John Smith" }, "Fields": { "CheckboxList1": "First item", "Gender": "Male", "Message": "I really like your products" } } }