A website enquiry shows up in the CRM twenty minutes late, or never. A customer has paid, but the order still says "awaiting payment". The sales team only notices a new bot message when someone happens to open the admin panel. Behind most of these stories sits the same mechanism: a webhook that is half-configured or missing. This article explains, without developer jargon, how your systems tell each other that something happened, where that chain tends to break, and what to ask your vendor so data stops disappearing. No coding knowledge needed. It is written for the manager who signs off the work or writes the brief.
Webhooks in one paragraph: "I'll call you" instead of "I'll keep checking"
There are two ways to find out that something happened in another system. The first is to keep asking: every five minutes your script calls the CRM and checks for new deals. That is called polling. The second is to agree that the other system will tell you: the moment a deal is created, the CRM sends a short message to an address you gave it in advance. That is a webhook.
Think of a courier delivery. You can walk down to the front door every ten minutes to see whether the driver has arrived, or you can give the driver your phone number. A webhook is the phone number you leave with another system. Data arrives straight away instead of waiting for the next check, and nobody wastes effort asking "anything new?" when the answer is usually no.
The catch follows from the same analogy: if you miss the call, the driver may try again, or may not. That is the most important part of this article, and we come back to it below.
The four parts of every webhook
| Part | What it is | Example: a website enquiry |
|---|---|---|
| Event | What happened, and what you subscribed to | "Contact form submitted" |
| Receiving address | The URL the message is sent to, provided by the receiving side | Your server, your CRM, or a workflow in n8n or Make |
| Payload | The data about the event, usually as JSON | Name, phone, message, page, ad tags, timestamp |
| Response | A short "got it" from the receiver | Status 200 means delivered; an error or silence means the sender assumes it failed |
A webhook only announces. What happens next (creating a lead, updating an order, pinging a salesperson) is decided by the receiver. So "set up a webhook" almost always means two jobs: switching on the sending in one system and writing a handler in the other.
Where webhooks already run in a typical company
| Event | Sender | What happens automatically | What stays with a person |
|---|---|---|---|
| Website form submitted | Website or site builder | Lead in the CRM, alert to the sales team | Calling and qualifying the lead |
| New message to a bot | Telegram or WhatsApp | Bot or AI agent receives the text and replies | Complex or heated conversations |
| Payment succeeded | Payment provider | Order marked paid, receipt, customer notified | Refunds and disputed charges |
| Deal moved to a new stage | CRM | Task for the warehouse, email to the client | Discounts and non-standard terms |
| Call ended | Cloud telephony | Recording sent for transcription, summary logged | Reviewing conclusions on key accounts |
When two systems have no ready-made integration, the webhook is usually caught by an automation platform. We compared the main options in n8n vs Make vs Zapier.
Five ways webhooks fail quietly, and the fix for each
1. The receiver was down
A server restart, a platform hitting its quota, an expired certificate. Many services retry a few times, but the number of attempts and the gaps between them differ from provider to provider, and some do not retry at all. Fix: keep a log of incoming events on the receiving side and reconcile regularly, for example comparing daily form submissions with daily CRM leads.
2. The same event arrived twice
The flip side of retries: the sender did not get a reply in time and sent again. A naive handler creates two identical leads or sends the customer two emails. Fix: every event carries a unique ID, and the handler checks whether it has already seen it. Our own system deduplicates incoming leads on external ID and phone number; see the ERP across four businesses case.
3. Events arrived out of order
"Order cancelled" can land before "order paid" if they are seconds apart. Fix: the handler compares event time and current status rather than blindly applying whatever arrived last.
4. Someone sent a forgery
A webhook address is just a URL. Anyone who learns it can post anything to it, including "payment succeeded". Fix: verify a signature or shared secret on every request. Telegram, for example, lets you set a secret token when registering a webhook and then sends it in a header with every update (Bot API docs). Payment providers have their own signing schemes. Requests that fail the check get dropped.
5. Silent breakage after a change
The site moves, a domain changes, someone renames a form field. The webhook still fires, but the receiver no longer understands it. Fix: alert someone when no events arrive within your normal window, and run a quick test after any change to the site or CRM.
Where AI fits, and where it does not
A webhook is a trigger. It says "something happened", and an AI agent can take it from there: read the enquiry, decide whether it is a buyer, a supplier or spam, fill in CRM fields and draft a reply. Without webhooks, the agent would have to poll every channel and would always be a few minutes behind.
There is a line, though. Anything that moves money or creates obligations should be decided by code acting on a verified signal, not by a model reading text. An order becomes "paid" because the payment provider's signed webhook said so, not because a customer told the agent "I've transferred it". We walk through that flow in taking Click and Payme payments in a bot. The rule: the agent reads and suggests; verified code changes critical fields.
Checklist: questions for your vendor before go-live
- Which events are sent, and where? Ask for a one-page map: system, event, receiver, outcome.
- Where is the log of incoming webhooks kept, and for how long?
- What happens if the receiver is down for an hour? Will the sender retry, and how would we know?
- How are duplicates handled? Which field identifies a repeat?
- How do we verify a request really came from the stated sender?
- Who gets alerted if events stop arriving?
- Where are the secret keys stored, and who rotates them when someone leaves?
- How do we test the connection after changes? Is there a test event?
If half the answers are "well, it works", the setup is running on luck. That is not a reason to rebuild everything, but it is a reason to add logging and reconciliation.
FAQ
What is the difference between a webhook and an API?
An API is a set of requests you can send to a system: "list my deals", "create a contact". A webhook runs the other way: the system tells you about an event. Real integrations usually combine both: the webhook says "a new deal exists", and the handler calls the API for any missing details.
Do we need our own server to receive webhooks?
Not necessarily. Automation platforms and many CRMs give you a receiving address. Your own server makes sense when the logic is complex, the volume is high, or data cannot pass through third-party services.
How can we tell if we are losing data?
Compare counts at both ends over a week: form submissions versus CRM leads, payments in the provider dashboard versus paid orders. Any gap is worth investigating.
More on connecting systems is in our Integrations section. If you would like us to review your setup and find where data leaks, see how we build AI agents on top of these connections or get in touch. Cost depends on the number of systems and events; the first conversation is to scope that.