What is a webhook? A plain-English explanation
Think of the difference between phoning the courier every hour to ask where your parcel is and receiving a message when it arrives. Asking over and over is periodic checking; the message is the webhook. Technically, it is a web address to which a service sends the details of an event as soon as it happens.
Webhooks are the glue in many automations, including ones that use AI: the online shop signals that an order has arrived, the webhook starts a workflow that checks the address, prepares the confirmation and updates the stock. They do need protecting, though: anyone who knows the address could send fake notifications, so you use signatures and secret keys.
An example in a small business
A wine shop sells online and in the shop. Every time an order comes in on the website, a webhook notifies the stock system, which takes the bottle off the inventory. Before, Davide updated it at the end of the day, and sometimes the last bottle was sold twice. Now the stock count is right in real time.
The most common mistakes
- Not checking that the notification really comes from the right service, which leaves the door open to fake data.
- Not handling duplicate notifications: the same event can arrive more than once.
- Not noticing when webhooks stop arriving, because nobody is checking.
Why it matters to you
When you evaluate software, ask whether it offers webhooks. If it does, you will be able to connect it to your other tools without copy-pasting and without waiting.
All the AI terms explained simply are in the glossary.
Frequently asked questions
What is the difference between a webhook and an API?
With an API, you ask for the data whenever you want it. With a webhook, the service sends it to you when something happens.
Do you need a programmer to use webhooks?
Not always. No-code automation platforms let you receive a webhook and use it as the starting point of a workflow.
Read next
What no-code (and low-code) means for businesses
No-code and low-code are ways of building software and automations with visual interfaces, dragging blocks and connecting them instead of writing code. With no-code you don't program at all; with low-code you add a little code only where you need it.
GlossaryWhat is function calling? AI that uses your software
Function calling, or tool use, is the ability of an AI model to decide when to use an external tool, such as searching your management system or sending a message, and to prepare the right data to do it.
GlossaryWhat an AI agent is, and how it differs from a chatbot
A chatbot answers. An agent acts: it decides the steps, uses software and sees a task through.
Want to understand what your business really needs, without the jargon? Let's talk.
Text and graphics created with the support of AI. Method and content are AIR's.