Update Company
hubspot.update_company
ActionCRM & salesconnection required
Calls the HubSpot API with the connection's credentials.
Update one company with PATCH /crm/v3/objects/companies/{companyId}. Only the fields you fill in are sent; everything else keeps its stored value.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- HubSpot
- Secret shape
- the HubSpot private-app token, or {"token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
company_id The HubSpot record id of the company to update. | string | Yes | — | — | 101 |
name A new company name. | string | No | — | — | — |
domain A new primary domain for the company. | string | No | — | — | — |
properties Properties to set, as a JSON object keyed by HubSpot's internal property name. | object | No | — | — | — |
id_property A unique property to use as the key instead of the record id — email for a contact, domain for a company, or any custom unique property. | string | No | — | — | — |
- At least one of name, domain, properties must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"company_id": "101"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The record's HubSpot object id. | string | — |
properties The record's properties, keyed by HubSpot property name. | object | — |
createdAt When the record was created, ISO 8601 UTC. | string | — |
updatedAt When the record was last modified, ISO 8601 UTC. | string | — |
archived True when the record sits in the recycling bin. | boolean | — |
{
"archived": false,
"createdAt": "",
"id": "",
"properties": {},
"updatedAt": ""
}See Update Company run in a workflow.
In a technical demo we add the HubSpot connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.