Webhooks or polling: how to choose

Two ways to hear about changes in another system, and when each one is the right call.

Isometric illustration for Webhooks or polling: how to choose

A workflow has to know when something changed. There are two ways to find out: the other system tells you, or you ask it regularly.

Webhooks

With a webhook, the source system sends a message the moment a record changes. It is fast and efficient, but you depend on the sender to deliver every event, and some systems retry poorly.

Polling

With polling, Dovetail asks the source for changes on a schedule, using a watermark to pick up where it left off. It is slower but complete, and it works with systems that have no webhooks at all.

Our default

For most flows we use both. Webhooks for speed, and a polling job every hour that catches anything the webhooks missed. The combination is fast on a normal day and correct on a bad one.

  • Use webhooks alone when speed matters and the sender is reliable.

  • Use polling alone when the source has no webhooks.

  • Use both when missing a record has a real cost.

Create a free website with Framer, the website builder loved by startups, designers and agencies.