What is a webhook?
With a webhook, you tie a data transfer to a specific event, such as a change in a deal's status. The call itself is typically an HTTP request. The sender often uses the POST method and puts information about the event in the request as JSON, a format for structured data.
You can recognise a webhook by who initiates the call. The sender takes the initiative, because it registers the event. This is called a push model. With polling, on the other hand, the receiver takes the initiative by asking the sender at fixed intervals. In other words, a webhook doesn't wait for the receiver's next request.
How do you use a webhook?
You start with an endpoint, that is, an address in the receiving system that can accept the call. You register the address with the sender and choose the events that should trigger a call. A new contact and a change in a deal's status are two different events, even though they can occur in the same system.
The sender sends a request with information about the event when it registers it. The receiving system processes the information and confirms receipt. So the event determines when the sender sends the call, and the receiving system determines what happens to the data afterwards.
Why should you use webhooks?
You can use webhooks to connect marketing platforms with CRM systems, sales platforms and analytics tools without moving data manually. The difference from a scheduled import is that the receiving system can start working with the information when the event happens, rather than waiting for the next import.
This can be relevant if you want to keep contact and customer data up to date across systems, or start a sales, service or marketing activity after a specific event. If a deal changes status, for example, the sender can pass the relevant information on to an invoicing system. The webhook handles the transfer, and the invoicing system handles the next step.
Which types of webhooks can you use?
You see the direction from the system's perspective
A webhook is outgoing for the system that sends the call and incoming for the system that receives it. So the same call can be both outgoing and incoming, depending on which system you see it from. The receiving system can use the incoming call as the starting signal for an automated flow.
You distinguish between POST and GET
POST is the typical method when the sender sends event data to an endpoint. You may also come across GET in a webhook action in an automated flow. Here, the system uses GET to fetch information from an external tool rather than send event data to it. The method tells you what the request does, and the event explains why the flow starts.
How do you use webhooks in practice?
You can use a webhook to turn a form submission into the start of a sales process. This requires you to choose the right event in the marketing platform and to clarify what your CRM system should do with the information.
A flow from form to sales follow-up can look like this:
A potential customer submits a form, and the marketing platform registers the submission. The platform sends the contact details to the CRM system, which creates or updates the contact. The CRM system can then give the contact a score or assign it to the person who will follow up.
The webhook doesn't decide which score the contact gets or who follows up. It delivers the information the CRM system uses to make those choices.
What should you watch out for?
You assess a webhook on technical operational metrics, and not on click-through rate or conversion rate. The number of calls tells you how often an event triggers a webhook. The delivery rate shows what share of the calls the receiving system accepts correctly, and the error rate shows how often a call returns an error or can't be processed.
You should also distinguish between response time and latency. Response time tells you how quickly the receiving system responds to the call. Latency covers the entire period from the event to the data being received and processed. Also check data quality by seeing whether the receiver gets the necessary fields in the expected format. A fast response doesn't in itself tell you whether the CRM system got the information it needed for the next step.