Sample account with made-up data. Buttons that change things are switched off. Get this for your own account

Workflow map / Health report

At risk

Deal stage sync

Workflow custom code · Deals · Node.js 20. Checked Oct 18, 2026, 4:26 PM.

3 problems

At riskHubSpot can't see this

Calls HubSpot's Pipelines v1 API (/crm-pipelines/v1/pipelines/deals). HubSpot switches it off after December 4, 2026, and these calls will fail from then on.

Hasn't failed yet. It's a dated HubSpot change, so nothing has failed yet for HubSpot to show.
Where: Step 1 (Custom code)
Deadline: December 4, 2026
How to fix. Move these calls to the Pipelines API's date-based version (2026-09 or newer).
Sends only the lines with the problem, credentials removed. 20 drafts left this month.
At riskHubSpot can't see this

Calls HubSpot's numbered v1–v3 APIs (/crm/v3/objects/deals/). HubSpot ends support for them in September 2027.

Hasn't failed yet. It's a dated HubSpot change, so nothing has failed yet for HubSpot to show.
Where: Step 1 (Custom code)
Deadline: September 2027
Suggested fix. Moves the call to HubSpot's dated version 2026-09, the way HubSpot's migration guide shows. Most responses are unchanged, but some differ, so test the workflow after applying it.
- await fetch('https://api.hubapi.com/crm/v3/objects/deals/' + event.object.objectId, { method: 'PATCH', headers, body: JSON.stringify({ properties: { dealstage: stage.stageId } }) });
+ await fetch('https://api.hubapi.com/crm/objects/2026-09/deals/' + event.object.objectId, { method: 'PATCH', headers, body: JSON.stringify({ properties: { dealstage: stage.stageId } }) });
Before you move it: Version 2026-09 also enforces your account's required-property rules on API writes, such as a close date that's required when a deal is won. A write that leaves one out is rejected, so include those properties. HubSpot changelog: CRM API write validation from 2026-09
At riskHubSpot can't see this

Calls fetch() without checking whether the request worked (lines 3, 5). fetch only fails when the network does, so when a request is rejected or rate-limited, this step still finishes as a success and HubSpot doesn't retry it.

Fails silently. The step reports success when it fails, so HubSpot has no error to show.
Where: Step 1 (Custom code)
How to fix. After each fetch, check the response and throw when it failed, for example: if (!res.ok) throw new Error(`Request failed: ${res.status}`). The step then fails where you can see it. Or use @hubspot/api-client, which throws on errors and gets HubSpot's automatic retries for rate limits.
Sends only the lines with the problem, credentials removed. 20 drafts left this month.

How it connects

Set off by

No other workflow sets it off through a property, a list or an email.

Sets off

Also set by other workflows: dealstage (Deal handoff to onboarding). Whichever runs last wins.

See it on the workflow map

What it depends on

PropertyHowWhereActions
dealnameEnrolls on itEnrollment trigger
dealstageSets itCustom code, step 1, line 5 HubSpot can't see this

HubSpot dates that hit it

  • December 4, 2026 in 47 days
    Pipelines v1 API switched off (/crm-pipelines/v1/pipelines/deals)
  • September 2027 in about 10 months
    v1 to v3 APIs and legacy apps lose support (/crm/v3/objects/deals)

The full forecast

History

WhenWhat happened
Oct 18, 2026Found Deal stage sync calls an API HubSpot is switching off
Oct 18, 2026Found Deal stage sync calls a HubSpot API that's losing support
Oct 18, 2026Found Deal stage sync reports success even when its requests fail