What is a Webhook?
Webhooks are automated messages sent from Happierleads when we Identify a new Lead. They have a message—or payload—and are sent to a unique URL.
Webhooks are almost always faster than polling and require less work on your end. They're much like SMS notifications.
This way you can build an API that Accepts POST requests and insert this URL into our system.
Update - we have moved Webhooks onto automations
First, go to your Happierleads account and select the automation icon on the left-hand side -
Once you are on the dashboard of Automations, click Add new Automation -
A pop-up window will appear where you'll create a path for your automation.
Once you've selected an option on the 'When' path, the 'Then' path will appear where you'll select Trigger Webhooks (Last option).
From there, the path choice will be up to you. You will need to complete the path as you'll enter the webhook url on the final step. Here's an example -
Testing the webhooks will be coming soon
If you've got any questions or concerns, please contact our web chat for support.
- We use POST method only
- Webhooks do not work in Localhost because your API must be in a production server (LIVE)
- If this lead returns again you will only get Identified the first time to ensure there are no duplicates on the results.
We are not returning all the data every time. Some of the data will be null as is impossible to have all the data especially for small startups (e.g. revenue, employee size) The data you will always going to receive is the domain, createdAt, session, and contacts when this is possible.
Sample Webhook Request
3 Major objects
sessions: All the information about the session
company: All the info about the company (firmographics, technographics e.t.c)
contacts: All the employee contacts
TIP: We send you all the contacts not the exact visitor contacts you will have to filter and choose which ones you want to use.