crm_update_deal
Update an existing HubSpot deal's properties and advance it to a new pipeline stage. Use this to move deals forward in your sales pipeline.
Instructions
Update properties on an existing HubSpot deal, including moving it to a new stage.
Use this to advance a deal through its pipeline. The deal's pipeline itself is not changeable here; create the deal in the right pipeline instead.
Writes. Only the properties passed are sent, and each one overwrites the value HubSpot held before; properties left out are untouched. Applying the same values again produces the same record, which makes a retry safe. Needs the crm.objects.deals.write scope. Invalidates this deal's cache entry. Raises a not-found error for an unknown or archived id, and a validation error when no property is supplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Deal value as a decimal string in the account currency, e.g. '2500.00'. | |
| deal_id | Yes | HubSpot deal record id, as returned by search or create. | |
| dealname | No | Deal title shown on the pipeline board. | |
| dealstage | No | Stage id taken from the chosen pipeline's 'stages'. HubSpot rejects a stage id that belongs to a different pipeline. | |
| close_date | No | Expected close date as an ISO 8601 date or timestamp, e.g. '2026-09-30'. Maps to HubSpot's 'closedate' property. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | HubSpot record id, stable for the life of the record. | |
| archived | No | True when the record is archived (soft-deleted). | |
| properties | No | Property values HubSpot returned for the requested property set. |