Tech foundations

What is a webhook?

In short

A webhook is an automatic message one system sends to another the moment something happens, such as a new order or a filled-in form. It lets systems react right away instead of checking for news over and over.

With an API, your system has to ask: anything new? With a webhook, the other system tells you when something happens. You give it an address, and it posts the details there each time the event occurs.

Mini course

3 short lessons, about 2 minutes in total

  1. Don't call us, we'll call you
  2. What a webhook contains
  3. Webhooks as the trigger for AI

Lesson 1

Don't call us, we'll call you

Imagine checking your mailbox every five minutes in case a letter arrived. That is how systems work without webhooks: they keep asking each other for news. A webhook flips it around. You leave an address, and the other system sends a message there the moment something happens.

It saves work, and the reaction is almost instant.

Lesson 2

What a webhook contains

A webhook is a small web request with data attached, often in a format called JSON: what happened, when, and the details, such as order number and amount. A good webhook is also signed with a shared secret, so the receiver can verify it is real.

Event happens
Webhook
When something happens in one system, a webhook sends a message to another system right away, so the next step can start

Tap a box to open that concept

The receiver should answer quickly and do the heavy work afterwards, otherwise the sender may think it failed and send again.

Lesson 3

Webhooks as the trigger for AI

Webhooks are often the first step in an AI workflow. A new support email triggers a webhook, an AI model sorts and drafts a reply, and a person approves it. A new lead triggers a webhook, and AI enriches it with company facts before it lands in the CRM.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsWebhookRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Webhook sits in a company's AI setup

When you map a process for automation, look for the events that could send a webhook. They are your starting points.

An everyday example

When a customer pays in the web shop, the payment service sends a webhook to the warehouse system, which starts packing the order.

How companies use it

Companies use webhooks to connect tools without manual work: new leads go to the CRM, payments trigger invoices, and form answers start AI workflows.

Frequently asked questions

What is the difference between an API and a webhook?

With an API you ask for data when you want it. A webhook pushes data to you when an event happens.

Are webhooks secure?

Webhooks are secure when signed with a secret, so the receiver can check that the message really came from the right sender.

Do I need to code to use webhooks?

Using webhooks does not always need code. Tools like Zapier and Make let you receive and send webhooks with clicks.

In depth: Webhook

The full picture, about 4 minutes of reading

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.

Curious what this could mean for your company? Book a call.

Book a call