> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Deal

> Updates an existing deal in HubSpot CRM by deal ID

Updates an existing deal in HubSpot CRM by deal ID. Provide the deal ID to identify the deal and include any fields you want to update (deal name, amount, stage, pipeline, close date, custom properties). Only provided fields will be updated.

|                       |                       |
| --------------------- | --------------------- |
| **App**               | HubSpot               |
| **Operation ID**      | `hubspot_update_deal` |
| **Type**              | Action                |
| **Connection**        | `hubspot` (required)  |
| **Credits per run**   | 1                     |
| **Agent / MCP tool**  | Yes                   |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field                   | Type                       | Required | Default | Description                                                                                                                                                 |
| ----------------------- | -------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `deal_id`               | string                     | Yes      | -       | Deal ID (required to identify which deal to update)                                                                                                         |
| `dealname`              | string                     | No       | -       | Update deal name                                                                                                                                            |
| `amount`                | string                     | No       | -       | Update deal amount/value                                                                                                                                    |
| `dealstage`             | string or SelectableOption | No       | -       | Update deal stage. Common stages: appointmentscheduled, qualifiedtobuy,  presentationscheduled, decisionmakerboughtin, contractsent, closedwon, closedlost. |
| `pipeline`              | string or SelectableOption | No       | -       | Update pipeline ID that the deal belongs to                                                                                                                 |
| `closedate`             | string                     | No       | -       | Update expected close date (format: YYYY-MM-DD or timestamp)                                                                                                |
| `dealtype`              | string or SelectableOption | No       | -       | Update deal type. Options: newbusiness, existingbusiness, renewalbusiness.                                                                                  |
| `hs_priority`           | string or SelectableOption | No       | -       | Update priority level. Options: low, medium, high.                                                                                                          |
| `description`           | string                     | No       | -       | Update description or notes about the deal                                                                                                                  |
| `additional_properties` | object                     | No       | -       | Additional HubSpot deal properties to update as key-value pairs. Example: \{"hs\_forecast\_amount": "50000", "hs\_forecast\_probability": "75"}             |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns updated deal.

**Fields**: `id`, `created_at`, `updated_at`
