Webhook vs Polling: Use the Webhook for Speed and the Poll for Truth.
A company connects its order system to its accounting system with a webhook. Every time an order is marked shipped, the order system calls the accounting system, and an invoice is created within seconds. It works for four months. Then the accounting system has a forty-minute maintenance window on a Tuesday afternoon, and eleven shipped orders are never invoiced. Nobody is told. The webhook fired and nobody caught it. The gap surfaces at month end, when someone notices that revenue is short.
The usual debate about webhook vs polling asks which is better. In a dependable connection, the answer is both, doing different jobs. This piece explains the two, shows where each one fails and describes the small design that makes a connection hold up.
A webhook is a push. When something changes in system A, system A sends a message to a web address that system B provides. B hears about the change within seconds, and neither system does any work when nothing changes.
Polling is a pull. System B asks system A on a schedule, perhaps every five minutes, whether anything has changed since the last time. If so, B takes the changes. If not, the question is wasted.
Described this way, the webhook looks better on every count: faster, cheaper and neater. Most comparisons stop there and recommend webhooks wherever they are available. The problem is what happens when something goes wrong.
A webhook is a message sent once, or a few times, to a recipient that may not be listening. It fails in quiet ways.
The receiver is down. Maintenance, a deployment, an outage. The sender tries a few times, sometimes not at all, and gives up.
The receiver is slow. It takes too long to respond and the sender records a failure while the receiver, in fact, processed the message.
Messages arrive twice or out of order. A retry delivers the same event again, or a later change reaches the receiver before an earlier one.
The configuration drifts. Someone edits the sending rule, disables it or changes the address, and nothing is sent.
The sender never fires. A change made through a bulk import or an API call may not trigger the same rules as one made on a screen.
Every one of these produces the same result: a change that happened in A and is unknown to B, with no error anywhere that a person will read. That is a worse outcome than a visible failure.
Polling fails differently, and mostly in ways you can see.
It is slow. A change waits for the next poll. For some business processes that is fine. For a customer waiting on a confirmation it is not.
It costs calls. Frequent polls consume the sender's request allowance, even when nothing changed.
It can miss changes if it is careless. A poll that asks for everything modified in the last five minutes will miss a change made while the poll was running or while the last one failed.
The last point is the one that matters. A careless poll can lose changes, but a careful one cannot, and the care is simple.
A safe poll has three properties.
A stored cursor. After each successful poll, record the time or the sequence number of the last change you processed. The next poll asks for everything after that cursor, not everything in the last five minutes. If a poll fails, the cursor stays where it was, and the next poll picks up everything missed.
An overlap. Ask for changes from a little before the cursor, say a minute or two, to cover changes that were committed late. Duplicates that result are harmless if the receiver handles repeats.
A record of what it processed. The poll writes each change it handled, so a second pass over the same change does nothing. This is the same protection an agent needs against writing twice, and it is the reason we favour an identifier for every change.
A poll built this way heals itself. If B is down for a day, the first poll after it returns catches the whole day.
The dependable design combines them.
The webhook is the fast path. When it arrives and is processed, B is up to date in seconds.
The poll is the record of truth. On a schedule, every ten or fifteen minutes or hourly, depending on how much delay the process tolerates, B asks A for everything since its cursor and processes whatever the webhook did not deliver.
Most of the time the poll finds nothing, because the webhook already did its work. When the webhook is lost, the poll catches the change within one interval. You get the speed of the push and the guarantee of the pull, and the cost of the poll is low because it asks only for what changed.
Choose the poll interval by the cost of delay, not by habit. If an uninvoiced shipment costs nothing for an hour, poll hourly. If a late confirmation loses a customer, poll every few minutes and accept the call volume. The question to ask the process owner is: how long can a change be missing before it hurts?
The poll gives you something extra: a measure of the webhook's health. Each time the poll finds a change the webhook should have delivered, count it. A steady zero means the webhook is reliable. A count that rises means something upstream has changed, and you learn about it from a number rather than from a month-end surprise.
Report that count weekly, with the oldest unprocessed change, to whoever owns the connection. It is a small report, and it turns a silent failure into a visible one, which is the whole difference between a connection you can trust and one you hope about.
Most business applications offer both mechanisms, though they differ in what triggers them and how reliably. Inside Zoho, for example, the choice between rules that fire on an event and scheduled functions that run on a clock is the same choice in other clothes, and we compare them in workflow rules versus scheduled functions. When two systems both write the same fact, the problem gets harder, which is the subject of why bidirectional sync is usually a design failure. For the wider picture of connecting Zoho to the rest of your business, see Zoho integrations.
List each connection that relies on a webhook, and what a missed event costs.
Add a scheduled poll with a stored cursor and a small overlap.
Give every change an identifier, and record the ones processed.
Set the poll interval from the cost of delay.
Count the changes the poll finds, and report the count weekly to a named owner.
We start with a no-risk discovery. We list the connections between your systems, show which rely on a push with nothing behind it and sketch the poll and the report for each. You pay for the discovery only if you go on to a build. A build comes with a guaranteed estimate, so if we estimate low, we absorb the difference. After go-live, Managed Technical Operations keeps the connections, the cursors and the weekly count in order as the systems at each end change.
A webhook tells you something happened. Only a poll can tell you nothing was missed.
In a no-risk discovery we look at your CRM, finance and operations systems and who owns each part, and show what a connected system would do differently. You pay only if you proceed. Or see how we approach it.
More on the same problem:
"Something isn't working." "We're outgrowing our tools." "We're afraid to make the wrong move." No-Risk Discovery is a short, practical conversation that gets you clarity before you commit to anything big. We'll tell you if we're a fit. If we're not, we'll tell you that too.
Say who you are and ask. A person replies within one business day.