Skip to main content

All postsIntegrations

Polling or Webhooks for an n8n HubSpot Workflow?

Choose an event-delivery path for a HubSpot workflow, then add the reconciliation check that tells you whether the CRM and downstream system still agree.

Ops Automators
7 min read
Cover image for Polling or Webhooks for an n8n HubSpot Workflow?

A form submission changes a contact. A task needs to appear in another system. The obvious answer is "use a webhook." It may be right, but it leaves out the decision that causes the expensive failures: what proves the downstream system received the right current record, once, and only once?

For a CRM workflow, use a webhook when the source can reliably announce the event you need and the action needs a short response time. Use polling when the source cannot announce that event, or when the job is naturally a batch. In either case, keep a smaller reconciliation process for work that cannot be lost quietly. Start there.

This is a design guide, not a test of a HubSpot portal or n8n instance. The record IDs, timing, and outcomes below are synthetic. Check the exact n8n version, HubSpot app type, subscriptions, permissions, and endpoint behavior before turning on writes.

Start with the business deadline

"Near real time" is not a requirement. Write down the latest useful time for the outcome and the consequence of a duplicate or a missed record.

| If the workflow needs to... | Usually start with | Why | Do not assume | | --- | --- | --- | | Route a newly qualified lead while the rep is still working it | A webhook | The source can announce a relevant change without repeated list requests. | A delivery proves the destination update succeeded. | | Send a daily exception report | Polling | A named cutoff and a single batch are easier to review than a stream of changes. | A later run recreates the state at the cutoff. | | Update a downstream system after a deal property changes | A webhook plus a record fetch | The event can identify what to re-read from the source of truth. | The event payload has every field or represents the final value. | | Check that every eligible record reached a reporting store | A reconciliation poll | It can compare an agreed source window with completed outcomes. | A green webhook execution proves no event was missed. |

If the outcome can wait until a scheduled review, polling is often simpler. If a delay creates a real operating problem, a webhook is the better first delivery path. Neither choice fixes an unowned field definition or a missing exception process.

The HubSpot-specific constraint to check first

n8n's current HubSpot Trigger documentation says activation registers a webhook with HubSpot. It also warns that activating a second trigger can stop the earlier one because the integration allows one webhook at a time. Treat that as a configuration constraint to test in the target account, not as a reason to add duplicate polling workflows. Check it first.

HubSpot's webhook settings require a publicly available target URL. Its current developer documentation also makes the receiving system responsible for the endpoint configuration and throttling. Before choosing the trigger, decide who owns that endpoint, how its availability is monitored, and whether its authentication boundary is acceptable. HubSpot's webhook settings reference was checked November 24, 2026.

There is one more boundary that makes a hybrid design useful. A webhook should normally identify an event and enqueue a small piece of work. The worker can then fetch the current CRM record, apply the field-authority rule, and write an idempotent outcome. That avoids treating an old notification as permission to overwrite a newer record.

A proposed event path for a contact assignment

This is a deliberately small example. It does not describe a customer implementation.

  1. HubSpot announces a contact-property change to the approved endpoint.
  2. The receiver validates the delivered signature version, writes a durable receipt, and only then acknowledges it. Record which HubSpot signature version the app actually sends and use that version's algorithm and required fields. The timestamp freshness rule is a v3 requirement, not a generic webhook rule. HubSpot's request-validation documentation is the source of truth for the active app configuration.
  3. A worker fetches the contact and the fields needed for the assignment decision.
  4. It makes or retrieves a stable business-decision key. For example, this can combine the source record ID with a persisted eligibility-decision version. The key must change when the business decision changes, but must not change when the same delivery is retried.
  5. One worker atomically claims that key, or the workers are otherwise serialized. It creates the downstream task with a destination-supported idempotency key or unique upsert value, then saves the task ID against the same decision key.
  6. If the destination confirms a create but saving the local task ID fails, the outcome is ambiguous. Quarantine it for lookup and manual reconciliation before any further create. Do not solve that state by retrying the create call.
  7. A separate daily reconciliation compares a recorded eligible set at a named cutoff with completed assignments and visible exceptions.

The point is not to add seven tools. It is to separate receipt, current-state lookup, claim, side effect, and proof. That distinction matters because a contact may be delivered twice while two workers start almost simultaneously, and a downstream API can accept the first create just as the local process loses the response it needs to record the resulting task, leaving no honest basis for another create until a lookup or a human reconciliation establishes what happened. If the CRM changes while a job waits in a queue, the worker needs a documented rule for whether it uses the latest state or stops for review.

Synthetic case Source state Expected downstream outcome Acceptance question
C-104 qualifies once Current owner is blank and the territory rule returns East One East task linked to C-104 Can an operator find the CRM record, task ID, and rule version?
The same notification arrives twice The second receipt has the same event or decision key No second task Which stored key prevented the duplicate?
C-105 changes owner before processing The current record has a manual owner No automated reassignment, or a visible exception if that is the policy Does the worker re-read current authority before writing?
Two deliveries for C-104 arrive together Both workers see the same business-decision key One worker owns the claim and the destination has one task What atomic claim, serialization rule, and destination unique key were tested?
The destination creates a task but local ID storage fails The remote task exists; the durable record has no saved task ID The decision is quarantined and reconciled before another create Can an operator look up the remote task by the destination-supported unique key?
A delivery cannot be processed The receiver records the event but the worker fails A visible retry or exception remains Who owns the retry and when does it become a human review?
The reconciliation sees an eligible record with no outcome C-106 falls in the agreed window but has no completed assignment An exception names C-106 and the window Can the team distinguish a source gap from a downstream failure?
C-107 qualifies at 10:00 and becomes ineligible at 11:00 The recorded 10:00 eligibility snapshot includes C-107; the noon current-state list does not The reconciliation can account for the earlier eligibility without treating the current list as history Does the retained snapshot or source history prove the cutoff population?

Test these cases with synthetic records in a non-production environment. Keep outbound email, customer messages, and destructive updates disabled. No live writes. A successful n8n execution is useful evidence about the workflow run. It is not evidence that the business decision was correct.

How to make polling safe enough to operate

Polling needs an explicit boundary. "Get records updated recently" is not enough if the next run overlaps the prior run, a page is truncated, or the source clock and worker clock disagree.

For each poll, record the lower and upper time boundary, the sort or cursor used, the page cursor, and the record ID used for deduplication. Leave a small overlap only when the process has an idempotent way to handle it. HubSpot's CRM search guidance calls out pagination when results exceed a page. The exact endpoint and object behavior still need to be verified for the implementation.

For reconciliation, define the population as records that were eligible at a recorded cutoff. A current-state or updatedAt filter cannot prove that a contact qualified at 10:00 and became ineligible at 11:00 before the noon poll. To prove that historical state, retain an eligibility snapshot or use suitable source history independent of the current record. If neither exists, report the limit instead of calling the current list complete.

Polling is a poor substitute for a webhook merely because it is easier to set up. It can be the better choice for a controlled nightly report, a system with no supported event subscription, or a reconciliation that asks a different question: "Did every eligible source record produce a completed outcome?"

Webhooks still need failure handling

Do not expose a generic endpoint and trust any POST that reaches it. First identify the signature version the active HubSpot app delivers. Validate the request with that version's documented algorithm and inputs. Apply timestamp freshness only where that version requires it. HubSpot's request-validation documentation was checked November 24, 2026. HubSpot's current developer guidance also recommends a fast acknowledgement followed by asynchronous processing and notes that delivery retries eventually end. Its OAuth and webhook guidance was checked the same day.

That is why a webhook-only design needs an operating check. Keep it small. Log the receipt, the fetched record version, the output ID, and the exception state in a place an operator can inspect. Then reconcile a bounded source set against the outputs. The n8n error-handling guide covers what to do when an execution fails. The missed scheduled runs guide covers a different problem: whether a late scheduled process should catch up at all.

When not to build either path

If HubSpot's native workflow already performs the agreed action and leaves an adequate audit trail, use it. An external workflow does not improve a decision that is still unclear about field ownership, eligibility, or review. Likewise, do not turn a reconciliation report into a live repair job until someone has approved what it may change.

For a CRM event flow with a real deadline, bring the source object, event type, destination action, field authority, duplicate rule, and the exception someone will own. Custom integration support can scope the build around those decisions rather than choosing a trigger before the operating rule exists.

Have a similar operating problem?

Tell us about the process and the decision you need to make.