# Hubspot: Deals

## Description

* Each record represents a deal in Hubspot.

## Supported Data Sources

* <img src="https://fivetran.com/integrations/hubspot/resources/hubspot.svg" alt="" data-size="line"> HubSpot

## Columns

| Type     | Name                                 | Description                                                                                                                                                                |
| -------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| STRING   | deal\_name                           | The name you have given this deal.                                                                                                                                         |
| DATETIME | closed\_date                         | The day the deal is expected to close, or was closed.                                                                                                                      |
| DATETIME | created\_date                        | The date the deal was created. This property is set automatically by HubSpot.                                                                                              |
| BOOLEAN  | is\_deal\_deleted                    | Boolean indicating whether a record has been deleted in Hubspot and/or inferred deleted in Hubspot by Fivetran; \_fivetran\_deleted and is\_deleted fields are equivalent. |
| DATETIME | \_fivetran\_synced                   | Timestamp of when Fivetran synced a record.                                                                                                                                |
| INTEGER  | deal\_id                             | The ID of the deal                                                                                                                                                         |
| STRING   | deal\_pipeline\_id                   | The ID of the deal's pipeline.                                                                                                                                             |
| STRING   | deal\_pipeline\_stage\_id            | The ID of the deal's pipeline stage.                                                                                                                                       |
| INTEGER  | owner\_id                            | The ID of the deal's owner.                                                                                                                                                |
| INTEGER  | portal\_id                           | The hub ID.                                                                                                                                                                |
| STRING   | description                          | A brief description of the deal.                                                                                                                                           |
| INTEGER  | amount                               | The total value of the deal in the deal's currency.                                                                                                                        |
| BOOLEAN  | is\_deal\_pipeline\_deleted          | Boolean indicating whether a record has been deleted in Hubspot and/or inferred deleted in Hubspot by Fivetran; \_fivetran\_deleted and is\_deleted fields are equivalent. |
| STRING   | pipeline\_label                      | The label of the deal's pipeline.                                                                                                                                          |
| BOOLEAN  | is\_pipeline\_active                 | Boolean indicating if the pipeline is active.                                                                                                                              |
| BOOLEAN  | is\_deal\_pipeline\_stage\_deleted   | Boolean indicating whether a record has been deleted in Hubspot and/or inferred deleted in Hubspot by Fivetran; \_fivetran\_deleted and is\_deleted fields are equivalent. |
| STRING   | deal\_pipeline\_created\_at          | A timestamp representing when the deal\_pipeline was created.                                                                                                              |
| STRING   | deal\_pipeline\_updated\_at          | A timestamp representing when the deal\_pipeline was updated.                                                                                                              |
| STRING   | pipeline\_stage\_label               | The label of the deal's pipeline stage.                                                                                                                                    |
| STRING   | owner\_email\_address                | The email address of the deal's owner.                                                                                                                                     |
| STRING   | owner\_full\_name                    | The full name of the deal's owner.                                                                                                                                         |
| INTEGER  | count\_engagement\_notes             | The total number of related note engagements.                                                                                                                              |
| INTEGER  | count\_engagement\_tasks             | The total number of related task engagements.                                                                                                                              |
| INTEGER  | count\_engagement\_calls             | The total number of related call engagements.                                                                                                                              |
| INTEGER  | count\_engagement\_meetings          | The total number of related meeting engagements.                                                                                                                           |
| INTEGER  | count\_engagement\_emails            | The total number of related email engagements.                                                                                                                             |
| INTEGER  | count\_engagement\_incoming\_emails  | The total number of related incoming email engagements.                                                                                                                    |
| INTEGER  | count\_engagement\_forwarded\_emails | The total number of related forwarded email engagements.                                                                                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://endash-guidance-docs.gitbook.io/cigro-data-templates/data-model-templates/hubspot-deals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
