What is a webhook
A webhook is an automatic notification that one application sends to another when something happens: an order comes in, someone fills out a form, or a customer replies to an email. It carries details of what happened to a web address provided by the receiving application. That application can then start the next task without anyone checking for updates. The meaning is the same whether it's written as webhook, web hook, or web-hook.
Albert López·Founder of DelegIA·Updated
What a webhook does for your business
A familiar webhook example is what happens when someone submits your website's contact form. Without a webhook, an inquiry lands in an inbox and waits for someone to read it and enter it into the CRM by hand. With a webhook, the website notifies the CRM as soon as the prospect clicks "Submit." The CRM then creates the record and assigns a task to the right sales rep, so no one has to check for new inquiries or copy the details over.
Without a webhookWebsite inquiry
- Where it arrives
- Shared inbox
- Who transfers it
- Whoever reads the email
- In the CRM
- Once someone copies it over
With a webhookWebsite inquiry
- Where it arrives
- In the CRM, right away
- Who transfers it
- No one: the notification carries the data
- In the CRM
- Record created and task assigned
Other real-life webhook examples include a confirmed payment that accounting needs to record, an online store order that needs inventory reserved, or a signed contract that starts customer onboarding. Each event in one application triggers work in another through a webhook. That's why the term comes up so often in automation proposals.
For examples of webhooks in email marketing, see the sales prospecting system on our YouTube channel. When a prospect replies to an email, a webhook sends a notification that stops the scheduled follow-up emails. An AI agent then reads and classifies the reply. The CRM record automatically moves from "Contacted" to "Replied," and the agent drafts a response for the sales rep to review and decide whether to send [1].
How a webhook works
How do I connect a webhook to other apps? There are three steps, and the first only needs to be done once.
How to create a webhook
The webhook URL, also called an endpoint, is the address where the receiving application gets details of what happened. That application provides the address, whether it's n8n, Make, your CRM, or a custom application. Enter it in the sending application and choose the event you want to know about, such as "new order."
An event triggers the notification
When the event happens, the application sends a request to that address with the details: what happened, when, and which order, customer, or invoice it concerns. The data usually comes as JSON, a text format that applications can read.
The receiving application acknowledges it and gets to work
The receiving application quickly confirms that the notification arrived, then creates the record, reserves inventory, or starts the agent that reads the email. If it doesn't respond, many providers try sending the notification again. Stripe, for example, retries for up to three days in live mode [2].
New order notificationFrom the online store to the business management system
POST https://n8n.example.com/webhook/new-order{"event": "order.created", "order": "2214", "customer": "Example Auto Repair LLC", "total": 1840.50, "currency": "USD"}That's why a webhook is sometimes called a reverse API [7]. Instead of your application asking for an update, the other application calls when it has something to report.
Webhook vs API: what's the difference?
An API is the interface your application uses to request data from another whenever it needs it. In a webhook vs API comparison, what changes is who starts the conversation: with a webhook, the other application sends a notification when something happens. The two often work together: the webhook says "order 2214 has arrived," and your application requests any further information it needs through the API.
| Method | Who starts | When you find out | Best suited for |
|---|---|---|---|
| API | Your application asks | When it asks | Requesting specific data or making changes in another application |
| Webhook | The other application notifies you | When the event happens | Starting work as soon as something happens |
| Polling every few minutes | Your application asks repeatedly | After a delay set by the interval | Applications that don't offer webhooks |
Without a webhook, an application typically checks for new orders at regular intervals, perhaps every five minutes. Most checks find nothing new. When an order does arrive, the application won't find out until its next check. With a webhook, the notification arrives when the event happens, so the application doesn't need to keep asking. At DelegIA, we use whichever approach each application supports. Many older business management systems don't offer webhooks, so we query their APIs every few minutes or read their exports.
In a WebSocket vs webhook comparison, a WebSocket keeps a connection open so the two applications can exchange messages continuously, as in a live chat. A webhook sends a separate notification each time something happens [3].
Webhooks in n8n, Make, Discord, and email
In automation tools, an incoming webhook often starts a workflow. In n8n, the Webhook node provides the address and waits for notifications. Its test URL listens for two minutes and shows the incoming data while you build the workflow. The production URL becomes active when you publish it [4]. If you leave the test URL in the sending application, the connection stops working when that two-minute window ends.
Make's custom webhooks and Webhooks by Zapier work the same way: each gives you an address that starts a workflow when data arrives [8] [9].
What is a webhook in Discord? Here, Discord receives the notification at an address linked to a channel, where it appears as a message. A Slack incoming webhook URL also lets an automation post notifications as messages in a channel. You might use it to notify the Sales channel when a large order comes in. Treat the address like a password, since any application or person with access to it can post to the channel [5] [10].
Email webhooks handle both outgoing and incoming messages. Email delivery services can notify your application when a message is delivered, an open is recorded, or a message bounces. They can also turn an incoming email into a notification containing the sender, subject, body, and attachments. SendGrid handles these functions through Event Webhook and Inbound Parse, respectively [6]. How do I connect email to a webhook? In the systems we build, messages sent to a designated email address reach n8n as data, which an agent then reads and classifies.
What to check before connecting a webhook
Before you rely on a webhook for a business process, check who can send it data, how it handles retries and failures, and what it's allowed to do.
Check who sent the notification
Anyone who knows the publicly reachable webhook address can attempt to send data to it. Providers such as Stripe sign each notification using a secret so the receiving application can verify who sent it before taking action [2].
Make sure a retry doesn't do the work twice
A retry can deliver the same notification twice. The receiving application needs to recognize notifications it has already handled so it doesn't create two records or two invoices. At DelegIA, before connecting a business management system, we check that it lets us store our own reference in each document.
Make sure notifications aren't lost
If the receiving application is down and the provider stops retrying, the notification can be missed. Keep a log of what arrives and review failed notifications daily, especially for orders and payments.
Check what the workflow is allowed to do
What happens after the webhook starts a workflow depends on the permissions you've given it. In our systems, an agent triggered by a notification prepares drafts. A person reviews and sends anything intended for the customer, at least until we've checked that the agent gets it right.
If work at your company is held up while someone checks for emails or form submissions, see our AI solutions for business to learn how we automate those tasks and request a free initial call.
Sources
- Albert López, Automate your cold outreach with Claude and n8n, YouTube, minutes 7 to 10. Original video in Spanish. Transcript checked November 26, 2026.www.youtube.com
- Stripe, Receive Stripe events in your webhook endpoint. Automatic retries in live mode, signature verification, and duplicate events. Accessed November 26, 2026.docs.stripe.com
- Akamai, What is an API vs. webhook vs. WebSocket?. Accessed November 26, 2026.www.akamai.com
- n8n, Webhook node and workflow development. Test and production URLs, 120-second test listener. Accessed November 26, 2026.docs.n8n.io
- Discord, Webhook Resource. Incoming webhooks and channel messages. Accessed November 26, 2026.docs.discord.com
- Twilio SendGrid, Configure the inbound parse webhook and Event Webhook Reference. Incoming email and events for sent messages. Accessed November 26, 2026.www.twilio.com
- Red Hat, What is a webhook?. Definition, polling, and the name reverse API. Accessed November 26, 2026.www.redhat.com
- Make, Webhooks. Custom webhooks and immediate scenario execution by default. Accessed November 26, 2026.help.make.com
- Zapier, Trigger Zap workflows from webhooks. Webhooks by Zapier and Catch Hook. Accessed November 26, 2026.help.zapier.com
- Slack, Sending messages using incoming webhooks. Channel URL and keeping it secret. Accessed November 26, 2026.docs.slack.dev

Albert López
Founder of DelegIA
He helps small and midsize businesses in Spain decide where artificial intelligence makes sense, then implements the systems they agree on and supports the teams using them. His glossary entries draw on what he learns working with each company.
Last reviewed:
From the glossary
View the full glossary- APIAn interface that lets one application request data or send instructions to another without anyone copying them by hand.
- MCPAn open standard for connecting a model or agent to a company's systems and data.
- CRMSoftware that stores a business's customer information and tracks what needs to happen next for each customer.
- ERPThe business management system that brings together purchasing, inventory, sales, invoicing, and accounting.
From the blog
View all articles
What is n8n, and what can it automate in an agency?How n8n connects the steps in a process so teams don't have to copy information between them by hand.
How to create a WhatsApp chatbot step by stepFour ways to set up a WhatsApp chatbot, plus a step-by-step tutorial with n8n.
How to build an AI agent for your businessThe five things an agent needs to work in your business, plus a complete tutorial with n8n and Claude.