What is a webhook? A plain-English explanation
A webhook is a message one app sends to a web address when something happens. Here's what that means when an AI tool asks for a webhook URL.
A webhook is one app tapping another on the shoulder. Something happens in the first app, such as a new order or a booking, and it sends a short message to a web address you gave it. That's the whole idea.
The jargon, unpacked
Wikipedia describes webhooks as "user-defined HTTP callbacks".1 Take that apart. HTTP is the way web browsers and web servers pass messages around. A callback is a "call me back when this happens" arrangement. "User-defined" means you decide where the message goes.
Webhooks are usually triggered by some event, and when the event occurs, the source site makes an HTTP request to the URL configured for the webhook.1 A URL is just a web address. So an "HTTP request to the URL" is the first app visiting an address you picked, carrying a bundle of information.
Zapier puts it more simply. Webhooks are automated messages sent between apps.2
Why an AI tool asks for one
Say you're building a flow where an AI tool drafts a reply whenever a new enquiry comes in. The AI tool can't watch your enquiry form on its own. It needs the form app to tell it when something arrives.
So the AI or automation tool gives you a webhook URL. You give that address to the form app. When a new enquiry lands, the form app sends its message to the address, and the workflow starts.
The tool is the receiver. The other app is the sender. People often mix these up, and it explains why the URL is made in one place and pasted in another.
Where the URL comes from
Each automation tool makes the URL for you. They all work a little differently.
- Zapier. Its Catch Hook trigger works by giving you a unique URL that your trigger app can make POST requests to.2 A POST request is a message that carries data to the address.
- Make. Custom webhooks allow you to create a URL to which you can send any data.3
- n8n. You use its Webhook node to create webhooks. It's a trigger node, which means it can start an n8n workflow.4
The words differ, but the job is the same. The tool hands you an address and waits.
The setup order
Zapier's help page walks through the usual order. You add the webhook trigger, copy the URL, then open the app you want to connect and find its webhook settings. There you paste the webhook URL you copied from Zapier.2
Other tools follow a similar pattern, but button names change. Check the maker's own help page for your tool and the sending app.
When nothing arrives
A webhook only fires when something new happens. To test one, you have to make that something happen in the sending app first. Zapier suggests, if no data arrives, checking the webhook settings in the trigger app to ensure that Zapier's webhook URL was added correctly.2
A pasted address with one character missing is the classic slip. Copy it again rather than retyping it.
Treat the URL with care
The address is the only thing that tells the receiver where to listen. Anyone who learns it could try sending messages to it. Don't post it in public places or share it in screenshots. Webhook URLs, secrets and signatures covers this, and what a signing secret adds.
If you're still fuzzy on how this differs from an API, read What is an API, and how is it different from a webhook?. To see what the message itself contains, go to What a webhook message looks like.
Further reading and sources
- Webhook, Wikipedia
- Trigger Zap workflows from webhooks, Zapier Help Center
- Webhooks, Make Help Center
- Webhook node, n8n Docs