> ## 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.

# Create Deal

> Creates a new deal in HubSpot CRM with deal name, amount, stage, pipeline, close date, and custom properties

Creates a new deal in HubSpot CRM with deal name, amount, stage, pipeline, close date, and custom properties. Deal name is required. Returns the created deal with its HubSpot ID.

|                       |                       |
| --------------------- | --------------------- |
| **App**               | HubSpot               |
| **Operation ID**      | `hubspot_create_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                                                                                                                                                                                              |
| ----------------------- | -------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `dealname`              | string                     | Yes      | -       | Deal name (required - primary identifier for the deal)                                                                                                                                                   |
| `amount`                | string                     | No       | -       | Deal amount/value in the company's currency                                                                                                                                                              |
| `dealstage`             | string or SelectableOption | No       | -       | Deal stage representing where the deal is in the sales pipeline. Common stages: appointmentscheduled, qualifiedtobuy, presentationscheduled, decisionmakerboughtin, contractsent, closedwon, closedlost. |
| `pipeline`              | string or SelectableOption | No       | -       | Pipeline ID that the deal belongs to                                                                                                                                                                     |
| `closedate`             | string                     | No       | -       | Expected close date for the deal (format: YYYY-MM-DD or timestamp)                                                                                                                                       |
| `dealtype`              | string or SelectableOption | No       | -       | Type of deal. Common options: newbusiness, existingbusiness, renewalbusiness.                                                                                                                            |
| `hs_priority`           | string or SelectableOption | No       | -       | Priority level for the deal. Options: low, medium, high.                                                                                                                                                 |
| `description`           | string                     | No       | -       | Description or notes about the deal                                                                                                                                                                      |
| `additional_properties` | object                     | No       | -       | Additional HubSpot deal properties 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 created deal with ID.

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