Picture a doorbell wired to your phone. Whenever a customer pays an invoice, their payment app presses the button on your automation tool’s front door and says what just happened. Your tool answers and gets on with it. That is a webhook, and the rest of the jargon is detail.
Most explanations start with HTTP and endpoints, which you can skip. What you need to know is what arrives, where it goes, and what to do when it does not show up. This piece covers those three, for founders who run automations but do not write code.
Being told versus going to look
An app can learn what another app has done in two ways. The first is checking. Every few minutes your automation tool asks, “Anything new?”, and the other app replies with a list, usually an empty one. That is polling, the mailbox model: you walk to the box on a schedule whether or not anything came.
The second is the webhook. The other app tells your tool the moment something happens. No schedule, no asking.
Neither wins every time. Polling is simple and forgiving, because a missed check is caught by the next one. Webhooks are fast and thrifty but depend on the message landing at the right moment. Lean toward webhooks when the app offers them and the event is time-sensitive. Lean toward polling when the event can wait an hour or the app has no webhook option.
What is actually in the message
A webhook is a small package of data sent over the internet to a web address you control. That address, the webhook URL, is a long link ending in a random-looking code. Anyone who knows it can send things to it, so treat it like a password.
The package, often called the payload, holds labelled fields. Suppose a payment app sends one when an invoice is paid. These field names are hypothetical:
- event type: “invoice paid”
- customer email: the address of the person who paid
- amount and currency: what was paid
- invoice number and a timestamp
Your automation tool shows you the fields and lets you use each in later steps: add a row to a sheet, send a thank-you, move a deal in your CRM. The only skill is mapping. Each field has a name, and you drag the name to where its value should go.
Setting one up
The steps look nearly the same on every automation platform, so learning once pays off.
- Start a new workflow and pick a trigger called something like “Webhook” or “Catch hook”. The tool generates a URL.
- Copy that URL.
- In the sending app, find the settings page for webhooks, developers or integrations. Paste the URL and choose which events should fire it.
- Trigger a real or test event in the sending app. Many have a “send test” button.
- Back in the automation tool, look for the sample it received. Those fields are now available to later steps.
- Build the rest of the workflow, then switch it on.
Step four trips people up. The tool has to see at least one sample before it can show you the fields. Send the test event before designing anything else, or you are building blind.
Where webhooks earn their keep
Payments. When money arrives or a charge fails, you want to know in seconds, not at the next five-minute check. Failed-payment messages work best when they go out fast.
Forms and bookings. A submission can create a CRM contact, notify a person and send an acknowledgement before the visitor has closed the tab.
Support tickets. An urgent one can ping a channel immediately.
Your own systems. Some tools can send a webhook from a button, a spreadsheet script or a store event. That gives you a bridge between software with no official integration and your automation platform.
Incoming versus outgoing
People mix up the two directions. An incoming webhook means your automation tool listens, as in the setup above. An outgoing one, often shown as an HTTP request step, means your workflow rings someone else’s bell, say to post into a chat tool or hand data to a service with no ready-made connector.
Chat apps often provide an incoming webhook URL, so a workflow can post to a channel without logging in as a person. Same idea, roles reversed. When a tool says “paste your webhook URL here”, ask which direction it means. The answer decides whether you copy the URL out of that tool or into it.
What goes wrong
Webhooks fail quietly. That is the bad news, and the reason this section exists.
The message never arrives
Your tool may be switched off, the URL may have been regenerated, or the sender may have given up after a few tries. Some senders retry for a while and stop. Some keep a log of failed deliveries you can replay. Find out which you have before relying on it.
The message arrives twice
Some senders deliver “at least once”, which means duplicates are possible. If your workflow sends an email or creates a record, a duplicate can mean two emails or two records. The fix goes at the start of the workflow: look up the invoice or order number, and stop if it already exists.
The message arrives out of order
An “order updated” event can land before “order created”. Do not assume sequence. Build steps that cope with a record that does not exist yet, for instance by waiting briefly and looking again.
The fields change
The sender updates its product and renames a field. Your workflow still runs, but a column fills with blanks. A weekly look at run history, filtered for empty values, catches this early.
Mistakes at build time
The common one is building the whole workflow before catching a sample. Next comes pasting the URL into a live sender before the workflow is switched on, which sends events into the void. Third, trusting the first test: test events often carry cleaner data than real ones, with every field filled and no odd characters, so run a few real events and read what actually comes in. And finally, handing one URL to six apps and then being unable to tell which one misbehaves. Name each hook after its sender.
Keeping the URL safe
The URL is the only lock on the door. If it leaks, strangers can feed your workflow made-up data. For a low-stakes notification that is an annoyance. For anything that moves money, edits customer records or sends mail, it is a real problem.
Three habits help. Keep the URL out of screenshots, forum posts and shared documents. Give each sender its own URL, so one leak can be replaced without breaking the rest. And where the sending app offers a secret or signature option, turn it on, since it lets your tool check that a message really came from the sender. Not every no-code platform verifies signatures for you, so check its current documentation or ask a developer to add a verification step.
Also keep a short log of your webhooks in a spreadsheet: sender, event, the workflow it feeds, owner, and the date you last saw it work. Six months on, when something breaks, that sheet saves an hour of guessing.
Polling and webhooks side by side
| Polling | Webhook | |
|---|---|---|
| Speed | Delayed by the check interval | Near instant |
| Missed events | Usually caught on the next check | Can be lost unless the sender retries |
| Task or operation counts | Often counts every check, including empty ones | Often counts only real events |
| Setup | Sign in to the app, pick a trigger | Copy a URL into the app’s settings |
| Best for | Slow-moving data, apps without webhooks | Payments, forms, alerts |
Billing models differ, so check how your platform counts runs before assuming webhooks are cheaper.
For events you cannot afford to lose, there is a middle path: use the webhook for speed, then add a slow polling workflow that runs once a day and hunts for anything the webhook missed. A few extra runs buy most of your peace of mind.
A worked example with made-up numbers
A hypothetical design studio sells fixed-price packages and invoices through an online payment tool. Each morning someone opens the dashboard, spots paid invoices and emails each client a kickoff form. On a busy week that eats forty minutes, and clients wait until the next day for a reply.
With a webhook, the payment tool sends an “invoice paid” message to the studio’s workflow. The workflow first checks a tracking sheet for that invoice number and stops if it is already there. Next it adds a row. Then it emails the kickoff form. Last, it drops a one-line note in the team chat. The daily check disappears and the client hears back within about a minute.
That first step, the duplicate check, is the one beginners skip. It is also the one that matters. Without it, a single retry from the payment tool means two kickoff emails and a puzzled client.
Start with one event
Pick a single event you handle by hand today, such as a paid invoice or a new form entry. Create a webhook trigger in your automation tool, paste the URL into that app, send a test, and make the workflow do one small thing, like adding a row to a sheet. Once that works, you understand webhooks well enough to use them for everything else.
Frequently asked questions
Is a webhook the same as an API?
Not quite. An API is a set of requests you can make to an app, so you ask and it answers. A webhook flips the direction: the app sends you a message when something happens. Many tools offer both.
Do I need to know how to code to use webhooks?
No. No-code platforms generate the URL and show you the incoming fields. You paste a link and map labels. Code helps only when you need to verify signatures or reshape unusual data.
What if my automation tool is down when the webhook is sent?
It depends on the sender. Some retry several times over a period, some log failures for manual replay, and some drop the event. Read the sender's documentation and, for important events, add a daily check that compares records on both sides.
Are webhooks free?
Receiving one is usually included in your automation plan, but each run may count toward your task or operation limit. Plans and limits change, so check your current plan.
Can a webhook be tested without real customers?
Yes. Most senders have a test mode or a send test button, and automation tools can replay the last received sample while you build.
Sources1
- cheatsheetseries.owasp.org/cheatsheets/Webhook_Security_Cheat_Sheet.html
Links open the original pages. Spotted an error? Tell us and we will check it.