# Hubspot: Company History

## Description

* Each record represents a change to company record in Hubspot; the grain of this model is company\_id -> field\_name -> valid\_to.

## Supported Data Sources

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

## Columns

| Type     | Name               | Description                                                 |
| -------- | ------------------ | ----------------------------------------------------------- |
| INTEGER  | company\_id        | The ID of the related company record.                       |
| STRING   | field\_name        | The name of the field being changed.                        |
| STRING   | change\_source     | The source (reason) of the change.                          |
| INTEGER  | change\_source\_id | The ID of the object that caused the change, if applicable. |
| DATETIME | valid\_from        | The timestamp the change was valid from.                    |
| STRING   | new\_value         | The new value of the field.                                 |
| DATETIME | valid\_to          | The timestamp the change was valid to. Null if still valid. |
| STRING   | id                 | The ID of the change.                                       |


---

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