Broken
Customer type sync
Workflow custom code · Companies · Node.js 20. Checked Oct 18, 2026, 4:26 PM.
1 problem
Broken
Writes "Partner " to the dropdown property "customer_type", but that isn't one of its options. HubSpot rejects the write. The valid option is "partner".
Suggested fix. Uses the valid option "partner".
- await client.crm.companies.basicApi.update(event.object.objectId, { properties: { customer_type: 'Partner ' } });
+ await client.crm.companies.basicApi.update(event.object.objectId, { properties: { customer_type: 'partner' } });
await client.crm.companies.basicApi.update(event.object.objectId, { properties: { customer_type: 'partner' } });
How it connects
Set off by
No other workflow sets it off through a property, a list or an email.
Sets off
- Territory assignment enrolls when this sets customer_type
HubSpot rejects the value Customer type sync writes to customer_type, so it can't set off Territory assignment.
What it depends on
| Property | How | Where | Actions |
|---|---|---|---|
| domain | Enrolls on it | Enrollment trigger | |
| customer_type | Sets it to "Partner " | Custom code, step 1, line 3 HubSpot can't see this |
History
| When | What happened |
|---|---|
| Oct 18, 2026 | Found Customer type sync writes a dropdown value HubSpot rejects |