Automation Blueprint · ArticlesGet my blueprint

What is a webhook, and how does it trigger an automation in n8n, Make or Zapier?

By Asendify (Automation Blueprint) · Published 16 November 2026 · Automation Blueprint

A webhook is a message one app sends to a web address (URL) the moment something happens, such as a payment or a form submission, so another app can act on it straight away. In automation tools like n8n, Make and Zapier, a webhook is the trigger: the event arrives, and your workflow runs, without the tool having to keep checking for changes.

Key takeaways

  • A webhook is "push": the source app sends data when an event happens. Polling is "pull": your tool asks every few minutes whether anything changed.
  • Most webhooks are an HTTP POST with JSON data in the body.
  • In n8n, the Webhook node has a test URL for building and a production URL that only works once the workflow is published.
  • Senders can deliver the same event more than once. Stripe says it retries undelivered events for up to three days, so plan for duplicates.
  • Protect webhook URLs with authentication or signature checks, because anyone who finds the URL can send data to it.

What is a webhook, in plain words?

Think of a doorbell. Instead of walking to the door every five minutes to see if anyone is there (polling), you wait for the bell (webhook). When a customer pays, books or fills in a form, the source app "rings the bell" by sending a small message to a URL you gave it. Your automation is listening at that URL and starts the moment the message arrives.

Technically, the message is usually an HTTP request. MDN describes POST as the method that sends data to a server, with the type given in the Content-Type header. It also notes POST is not idempotent: sending the same request twice can have two effects, like creating the same order twice. That detail matters for webhooks, as you will see below.

Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

Webhook vs polling

Webhook (push)Polling (pull)
Who starts itThe source app, when an event happensYour automation tool, on a schedule
SpeedNear instantAs often as the schedule checks
LoadOne request per eventRepeated checks even when nothing changed
Set-upYou give the source app a URLYou connect an account and pick a check interval
Common riskDuplicate or missed deliveries if the URL is downDelays, and using up task or API limits

Use a webhook when speed matters (payments, leads, bookings) and the source app supports it. Use polling when the app has no webhooks or a short delay is fine.

How a webhook triggers an automation, step by step

  1. Create the trigger. In n8n, add a Webhook node. In Make, add a custom webhook module. In Zapier, use the Webhooks trigger. Each gives you a unique URL.
  2. Paste the URL into the source app's webhook settings and choose which events to send, such as "payment succeeded".
  3. Send a test event so the tool can see the shape of the data.
  4. Map the fields (name, email, amount) into the next steps.
  5. Switch to the live URL. In n8n, the Webhook node documentation explains that the test URL only listens while you click "Listen for test event", and the production URL is registered when you publish the workflow. Live runs then appear in the Executions tab, not the editor.
  6. Decide how to reply. n8n can respond immediately, when the last node finishes, or via a Respond to Webhook node.

The details that break webhooks in real life

ProblemWhat happensFix
Using the test URL in productionEvents stop arriving once you close the editorPaste the production URL and publish
Duplicate deliveriesThe same order or email is processed twiceStore each event ID and skip ones you have seen
Slow workflowThe sender times out and retriesRespond immediately, then do the slow work
Open URLAnyone can post fake dataUse header auth, basic auth, JWT or signature checks
Large payloadsRequests rejectedn8n's default limit is 16MB; send a file link instead

Duplicates are the one most people miss. Stripe's guide to processing undelivered events says it automatically retries undelivered events for up to three days, and that endpoints might occasionally receive the same event more than once. Its advice: log the event IDs you have processed and skip any you have already handled, verify the signature and return a 200 response.

On security, n8n's Webhook node supports basic auth, header auth and JWT auth, and an IP allowlist option that rejects other addresses with a 403 error.

Worked example

Example: Maya runs a small yoga studio. When someone pays for a class pack, she wants three things to happen: add them to her booking spreadsheet, send a welcome email, and post a note in her team chat.

StepToolDetail
1. Triggern8n Webhook node (POST)Payment app sends "payment succeeded" with name, email, amount and event ID
2. Duplicate checkLookup in spreadsheetIf the event ID already exists, stop
3. RespondRespond immediatelySender gets a 200 within a second, so no retries
4. Add rowGoogle SheetsName, email, pack, date, event ID
5. EmailEmail nodeWelcome message with timetable link
6. NotifyChat node"New 10-class pack: Sam, £90"
7. On errorError workflowEmails Maya if any step fails

In her first month she gets 60 payments. The payment app retries two of them after a brief outage, but the event-ID check stops those two from creating duplicate rows and duplicate emails. Without step 2, two customers would have had two welcome emails and her spreadsheet would show £180 of sales that never happened.

Is there a blueprint service that plans webhook triggers and error handling before you build?

Yes. Asendify's Automation Blueprint turns a plain description of a process into a written plan for Zapier, Make or n8n, with the diagram, build steps, error handling and a testing checklist, for owners who want the plan right before anyone builds. Fair alternatives are the free templates in each tool's library, or sketching the steps yourself using the table above.

Before you go live: a short checklist

  1. Production URL pasted into the source app, workflow published.
  2. A real test event sent and checked end to end.
  3. Duplicate check on a unique event ID.
  4. Quick response to the sender, slow work after.
  5. Authentication or signature verification switched on.
  6. An error workflow or alert so failures are not silent.

Related reading: what workflow automation is, Zapier vs Make vs n8n and an automation plan with error handling before building.

FAQ

What is a webhook in simple terms?

It is a message an app sends to a URL the moment something happens, so another app can react straight away instead of checking for changes.

What is the difference between a webhook and an API?

An API is how you ask an app for data or tell it to do something. A webhook is the app telling you, unprompted, that an event happened.

Why did my n8n webhook stop working after I closed the editor?

You were probably using the test URL. Paste the production URL into the source app and publish the workflow.

Can a webhook fire twice for the same event?

Yes. Senders retry when they do not get a quick success response, so store each event ID and skip repeats.

Are webhooks secure?

Only if you protect them. Use authentication or signature checks, because anyone with the URL can send it data.

More playbooks on other topics: https://www.asendify.co/books/

Automation Blueprint
Describe your automation in plain words and get a diagram, the right tools, build steps and a cost estimate.
Get my blueprint

More Automation Blueprint articles