What a webhook is
A webhook is an automatic message that one system sends to another the moment something happens. A customer pays, a form is filled in, a meeting is booked, a file is uploaded, and the system where it happened immediately tells another system about it.
The idea is easiest to understand through a comparison. Imagine waiting for a package. You can walk to the mailbox every hour to check, or you can ask the courier to ring the doorbell when it arrives. Checking over and over is how systems used to stay updated. A webhook is the doorbell.
Why webhooks exist
Systems need to know about each other's events. The warehouse needs to know when an order is paid. The CRM needs to know when someone fills in the contact form. The accounting system needs to know when a subscription renews.
The traditional way is for the receiving system to ask repeatedly through an API, the agreed way for programs to talk to each other: anything new? anything new? This is called polling. It wastes effort, because most of the time the answer is no, and it creates delays, because news is only discovered at the next check. Checking more often reduces the delay but increases the waste, and many services limit how often you may ask.
Webhooks flip the direction. The system where the event happens sends the news right away, once. Nothing is wasted, and the reaction can start within seconds.
How a webhook works, step by step
First, the receiving system provides an address, a web link that can accept messages, often called an endpoint. In the sending system, you register that address and choose which events should trigger a message, for example payment completed or form submitted.
When such an event happens, the sending system makes a web request to the address. The request contains the details of the event, usually in a structured text format called JSON: what happened, when, and the relevant data, such as order number, amount and customer.
The receiving system reads the message, checks that it is genuine and acts on it: creates an invoice, updates a record, starts an automation. It then replies with a short confirmation that the message arrived. If no confirmation comes back, most senders will try again a few times.
What can go wrong
Because a webhook address is just a web link, anyone who finds it could send fake messages to it. Good senders therefore sign each message with a secret code, and the receiver should check the signature before trusting the content. A fake payment completed message that is accepted without checking could release goods that were never paid for.
Messages can also be lost or arrive twice. If the receiving system is down when a webhook is sent, the message may be retried later, or not at all if the retries run out. And if a confirmation is delayed, the sender may send the same event again. A well-built receiver therefore handles duplicates without acting twice, for example by remembering which event numbers it has already processed.
Finally, webhooks fail quietly. If an address changes or a receiver breaks, nothing visibly stops. Orders simply stop flowing, so it is worth setting up alerts for failed deliveries.
Webhooks as the trigger for AI
Webhooks are often the starting point of AI automations. An event happens, a webhook arrives, and an AI step does something useful with it straight away.
A new support email arrives, and a webhook passes it to an AI model that classifies it and drafts a reply. A meeting recording finishes processing, and a webhook triggers a summary that is posted to the team. A form is submitted on the website, and an AI step researches the company behind it before the salesperson sees the lead.
Tools such as Zapier, Make and Power Automate make this possible without code. They give you a webhook address to paste into the sending system and let you build the following steps from menus. This combination of instant trigger and AI step is what makes many automations feel immediate rather than overnight.
What it means for a small business
For a small business, webhooks are what make tools react to each other in real time. Most online tools a small company uses, such as web shops, payment services, booking systems, form builders and CRM systems, can send webhooks. Many people use them without knowing, through integrations that are set up with a few clicks.
When planning an automation, a useful question is: what event should start this, and can the system where it happens send a webhook? If yes, the automation can react within seconds. If not, it will have to check on a schedule, which is slower but often fine.
Treat webhook addresses like passwords, turn on signature checks where the tool offers them, and make sure someone is notified if deliveries start failing.