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

Workflow map / Health report

Broken

Lead routing · assign owner

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

1 problem

Broken

Uses the property "lead_region", which doesn't exist in this account. Closest match: "sales_region". Check that's the one intended.

Where: Step 1 (Custom code)
Suggested fix. Replaces "lead_region" with "sales_region". Confirm before applying.
- await client.crm.contacts.basicApi.update(event.object.objectId, { properties: { lead_region: region } });
+ await client.crm.contacts.basicApi.update(event.object.objectId, { properties: { sales_region: region } });

How it connects

Set off by

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

Sets off

It doesn't set off another workflow through a property, a list or an email.

See it on the workflow map

What it depends on

PropertyHowWhereActions
stateEnrolls on itEnrollment trigger
lead_regionSets itCustom code, step 1, line 5 HubSpot can't see thisDoesn't exist

History

WhenWhat happened
Oct 18, 2026Found Lead routing · assign owner uses a property that doesn't exist