Update Deal
hubspot.update_deal
ActionCRM & salesconnection required
Calls the HubSpot API with the connection's credentials.
Update one deal with PATCH /crm/v3/objects/deals/{dealId}. 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
8 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 |
|---|---|---|---|---|---|
deal_id The HubSpot record id of the deal to update. | string | Yes | — | — | 101 |
dealname A new name for the deal. | string | No | — | — | — |
amount A new deal amount, as a number in the portal's currency. | string | No | — | — | — |
dealstage Id of the pipeline stage to move the deal to — the stage id, never its label; read them with hubspot.list_pipeline_stages. | string | No | — | — | — |
pipeline Id of the pipeline the deal belongs to; required when moving a deal to a stage in a different pipeline. | string | No | — | — | — |
closedate A new close date, as an ISO 8601 timestamp or Unix milliseconds. | 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 dealname, amount, dealstage, pipeline, closedate, properties must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"deal_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 Deal 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.