# HubSpot (v4)

Information note **HubSpot extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) HubSpot tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-hubspot).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## HubSpot integration summary

Stitch’s HubSpot integration replicates data using the [HubSpot REST API](https://developers.hubspot.com/docs/overview). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#schema) section for a list of objects available for replication.

## HubSpot feature snapshot

A high-level look at Stitch's HubSpot (v4) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Released on September 9, 2025 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Success icon<br><br>This version of the integration is available via the API.<br><br><br>Available |
| **Singer GitHub repository** | [singer-io/tap-hubspot](https://github.com/singer-io/tap-hubspot) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting HubSpot

### HubSpot setup requirements

To set up HubSpot in Stitch, you need:

* **For HubSpot CRM or Marketing products:** Administrator permissions in HubSpot. **Note**: To replicate [email events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email_events), you’ll need to have **Super Admin** permissions in HubSpot.

* **For the HubSpot Sales product:** Sales Administrator permissions in HubSpot.

More information about HubSpot user roles and permissions can be found in [HubSpot’s documentation](https://knowledge.hubspot.com/articles/kcs_article/settings/hubspot-user-roles-guide).

### Step 1: Add HubSpot as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **HubSpot** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch HubSpot” would create a schema called `stitch_hubspot` in the destination. **Note**: Schema names cannot be changed after you save the integration.

### Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your HubSpot integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond HubSpot’s default setting of **30 days**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 3: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

HubSpot integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 4: Authorize Stitch to access HubSpot

1. Next, you’ll be prompted to sign into your HubSpot account.

2. After you log into HubSpot, a screen with a list of your HubSpot accounts will display. Click the account you want to connect to Stitch.

   **Note that Stitch will only ever read your data**. Stitch will never modify or delete any data in your HubSpot account.

3. After the authorization process is successfully completed, you’ll be directed back to Stitch.

4. Click **All Done**.

### Step 5: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For HubSpot integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up HubSpot, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Removing the HubSpot integration

To completely disconnect Stitch from your HubSpot account, you need to delete the integration from Stitch, and uninstall the Stitch app from HubSpot.

Disconnecting HubSpot from Stitch will stop the replication of HubSpot data to your Stitch destination. There will be no impact to the HubSpot data, as Stitch is a read-only integration with HubSpot. All data that has already replicated to your Stitch destination will be maintained and under your control.

### Step 1: Deleting your HubSpot integration

To delete your HubSpot integration from your Stitch account:

1. Log in to your Stitch account and open the **Integrations** tab.
2. Click your HubSpot integration and click **Settings**.
3. Scroll down to the bottom of the page and click **Delete**.
4. Click **Delete** to confirm.

### Step 2: Uninstalling Stitch in your HubSpot account

To uninstall Stitch in your HubSpot account:

1. Log in to your HubSpot account and click the **Marketplaces** account in the navigation bar.
2. Under **Manage**, click **Connected apps**.
3. Click the **Actions** drop-down menu in the **Stitch** app, and click **Uninstall**.
4. In the dialog box that appears, enter `uninstall` in the text field and click **Uninstall** to confirm.

## HubSpot table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 4** of this integration.

This is the latest version of the HubSpot integration.

### Custom HubSpot field replication

Custom object properties, or fields, are supported by Stitch’s HubSpot integration. Stitch will query the `properties` list for each object and, if custom fields are available through HubSpot’s API, replicate them to your destination.

The data types of these fields will be the same as the data type in HubSpot. For example: A custom field containing `date` data will be a `date` field in your destination.

This is applicable to any object that supports custom fields in HubSpot.

### HubSpot date/date-time values & UNIX timestamps

[HubSpot uses UNIX-formatted timestamps in milliseconds](https://developers.hubspot.com/docs/faq/how-should-timestamps-be-formatted-for-hubspots-apis) to store `date` and `datetime` data. Stitch doesn’t perform any transformation during the replication process, meaning these values won’t be converted to timestamps before they’re loaded into your destination.

To account for this, consider creating a user-defined function to perform the conversion or building views on top of the raw data.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### campaigns

The `campaigns` table contains info about the campaigns in your HubSpot account.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [HubSpot documentation](http://developers.hubspot.com/docs/methods/email/get_campaign_data "Opens in new tab: HubSpot documentation")<br><br><br>[campaigns schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/campaigns.json "Opens in new tab: campaigns schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/email/get_campaign_data "Opens in new tab: HubSpot API method") |

campaigns table foreign keys

| Join campaigns with | on |
| --- | --- |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>campaigns.id = email_events.emailCampaignId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>campaigns.id = forms.leadNurturingCampaignId<br>``` |

campaigns table schema

| **appId**<br><br><br>INTEGER |
| --- |
| **appName**<br><br><br>STRING |
| **contentId**<br><br><br>INTEGER |
| **counters**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand counters<br><br><table> <tr> <td> <p> <strong>								bounce							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								click							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								deferred							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								delievered							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								delivered							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								dropped							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								forward							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								mta_dropped							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								open							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								print							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								processed							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								reply							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								sent							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								spamreport							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								statuschange							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								suppressed							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								unsubscribed							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **id**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **numIncluded**<br><br><br>INTEGER |
| **numQueued**<br><br><br>INTEGER |
| **subType**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **type**<br><br><br>STRING |

### companies

The `companies` table contains info about the companies your HubSpot contacts belong to.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | companyId |
| **Useful links** | [HubSpot documentation](http://developers.hubspot.com/docs/methods/companies/get_company "Opens in new tab: HubSpot documentation")<br><br><br>[companies schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/companies.json "Opens in new tab: companies schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/companies/get_company "Opens in new tab: HubSpot API method") |

companies table foreign keys

| Join companies with | on |
| --- | --- |
| [contacts_by_company](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts-by-company) | ```<br>companies.companyId = contacts_by_company.company-id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>companies.companyId = deals.associations.associatedCompanyIds<br>```<br><br>```<br>companies.portalId = deals.portalId<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>companies.companyId = engagements.associations.companyIds<br>```<br><br>```<br>companies.portalId = engagements.engagement.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>companies.portalId = contact_lists.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>companies.portalId = contacts.portal-id<br>```<br><br>```<br>companies.portalId = contacts.form-submissions.portal-id<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>companies.portalId = email_events.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>companies.portalId = forms.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>companies.portalId = subscription_changes.portalId<br>```<br><br>```<br>companies.portalId = subscription_changes.changes.portalId<br>``` |

companies table schema

| **companyId**<br><br><br>INTEGER |
| --- |
| **portalId**<br><br><br>INTEGER |

### contact\_lists

The `contact_lists` table contains info about the contacts lists in your HubSpot account. Contact lists are used to segment contacts into groups, and there are two types: dynamic (smart lists) and static.

**Note:** You might need to create new connections to continue to replicate contacts\_lists data after April 30th 2026. For more information, see [HubSpot’s documentation](https://developers.hubspot.com/docs/api/crm/contacts#update-contact-connection-deprecation).

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | listId |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/lists/contact-lists-overview "Opens in new tab: HubSpot documentation")<br><br><br>[contact_lists schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/contact_lists.json "Opens in new tab: contact_lists schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/lists/get_lists "Opens in new tab: HubSpot API method") |

contact\_lists table foreign keys

| Join contact\_lists with | on |
| --- | --- |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>contact_lists.listId = contacts.list-memberships.internal-list-id<br>```<br><br>```<br>contact_lists.portalId = contacts.portal-id<br>```<br><br>```<br>contact_lists.portalId = contacts.form-submissions.portal-id<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>contact_lists.listId = engagements.associations.contactIds<br>```<br><br>```<br>contact_lists.portalId = engagements.engagement.portalId<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>contact_lists.portalId = companies.portalId<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>contact_lists.portalId = deals.portalId<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>contact_lists.portalId = email_events.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>contact_lists.portalId = forms.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>contact_lists.portalId = subscription_changes.portalId<br>```<br><br>```<br>contact_lists.portalId = subscription_changes.changes.portalId<br>``` |

contact\_lists table schema

| **processingType**<br><br><br>STRING |
| --- |
| **objectTypeId**<br><br><br>STRING |
| **listId**<br><br><br>STRING |
| **processingStatus**<br><br><br>STRING |
| **listVersion**<br><br><br>STRING |
| **additionalProperties**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand additionalProperties<br><br><table> <tr> <td> <p> <strong>								hs_folder_name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								hs_last_record_added_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								hs_last_record_removed_at							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								hs_list_reference_count							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								hs_list_size							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **updatedById**<br><br><br>STRING |
| **createdById**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **createdAt**<br><br><br>STRING |
| **updatedAt**<br><br><br>STRING |
| **filtersUpdatedAt**<br><br><br>STRING |
| **deletedAt**<br><br><br>STRING |

### contacts

The `contacts` table contains info about individual contacts in HubSpot.

**Note:** You might need to create new connections to continue to replicate contacts data after April 30th 2026. For more information, see [HubSpot’s documentation](https://developers.hubspot.com/docs/api/crm/contacts#update-contact-connection-deprecation).

### Contact properties

If properties have been set for the contact, additional fields beginning with `properties__` will be included in the table. **Note**: Contacts will only have an entry for a property if that property has been set for the contact’s record.

HubSpot always types the value of `properties` fields as `STRING` despite the property type. [Refer to HubSpot’s documentation for more info](https://developers.hubspot.com/docs/methods/contacts/contacts-overview).

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/contacts/contacts-overview "Opens in new tab: HubSpot documentation")<br><br><br>[contacts schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/contacts.json "Opens in new tab: contacts schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/contacts/get_contacts "Opens in new tab: HubSpot API method") |

contacts table foreign keys

| Join contacts with | on |
| --- | --- |
| [contacts_by_company](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts-by-company) | ```<br>contacts.canonical-vid = contacts_by_company.contact-id<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>contacts.list-memberships.internal-list-id = contact_lists.listId<br>```<br><br>```<br>contacts.portal-id = contact_lists.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = contact_lists.portalId<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>contacts.list-memberships.internal-list-id = engagements.associations.contactIds<br>```<br><br>```<br>contacts.portal-id = engagements.engagement.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = engagements.engagement.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>contacts.form-submissions.form-id = forms.guid<br>```<br><br>```<br>contacts.portal-id = forms.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = forms.portalId<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>contacts.portal-id = companies.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = companies.portalId<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>contacts.portal-id = deals.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = deals.portalId<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>contacts.portal-id = email_events.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = email_events.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>contacts.portal-id = subscription_changes.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = subscription_changes.portalId<br>```<br><br>```<br>contacts.portal-id = subscription_changes.changes.portalId<br>```<br><br>```<br>contacts.form-submissions.portal-id = subscription_changes.changes.portalId<br>``` |

contacts table schema

| **id**<br><br><br>STRING |
| --- |
| **createdAt**<br><br><br>STRING |
| **updatedAt**<br><br><br>STRING |
| **archived**<br><br><br>BOOLEAN |
| **associations**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand associations<br><br><table> <tr> <td> <p> <strong>								contacts							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand contacts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								deals							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand deals</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tickets							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand tickets</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **objectWriteTraceId**<br><br><br>STRING |

### contacts\_by\_company

The `contacts_by_company` table contains contact and company ID pairs, allowing you to join contacts to relevant company data.

To replicate data from this table, you must also select the parent `companies` table.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | contact-id<br><br>company-id |
| **Useful links** | [HubSpot documentation](http://developers.hubspot.com/docs/methods/companies/get_company "Opens in new tab: HubSpot documentation")<br><br><br>[contacts_by_company schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/contacts_by_company.json "Opens in new tab: contacts_by_company schema on GitHub") |

contacts\_by\_company table foreign keys

| Join contacts\_by\_company with | on |
| --- | --- |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>contacts_by_company.contact-id = contacts.canonical-vid<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>contacts_by_company.company-id = companies.companyId<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>contacts_by_company.company-id = deals.associations.associatedCompanyIds<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>contacts_by_company.company-id = engagements.associations.companyIds<br>``` |

contacts\_by\_company table schema

| **company-id**<br><br><br>INTEGER |
| --- |
| **contact-id**<br><br><br>INTEGER |

### custom\_objects

Tables for custom CRM objects in your HubSpot account will have the same name as the object. For example, if you have a custom object named `cars`, the table will be named `cars`.

The fields listed below are standard fields; they are included in every custom object table. A field will be added for each property you select when configuring the table. The property names will be prefixed with `property_`. For example, if you have a property named `model`, it will appear as `property_model`.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/api/crm/crm-custom-objects "Opens in new tab: HubSpot documentation")<br><br><br>[custom_objects schema on GitHub](https://github.com/singer-io/tap-hubspot/tree/master/tap_hubspot/schemas/shared/custom_objects.json "Opens in new tab: custom_objects schema on GitHub") |

custom\_objects table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **associations**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand associations<br><br><table> <tr> <td> <p> <strong>								calls							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand calls</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								companies							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand companies</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								contacts							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand contacts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								conversation_session							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand conversation_session</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								deals							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand deals</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								emails							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand emails</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								meetings							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand meetings</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								notes							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand notes</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								products							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand products</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tasks							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand tasks</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								tickets							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand tickets</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **createdAt**<br><br><br>DATE-TIME |
| **id**<br><br><br>STRING |
| **updatedAt**<br><br><br>DATE-TIME |

### deal\_pipelines

The `deal_pipelines` table contains info about the `deal stage` and `pipeline` properties.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | pipelineId |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/deal-pipelines/overview "Opens in new tab: HubSpot documentation")<br><br><br>[deal_pipelines schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/deal_pipelines.json "Opens in new tab: deal_pipelines schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/deal-pipelines/get-all-deal-pipelines "Opens in new tab: HubSpot API method") |

deal\_pipelines table schema

| **active**<br><br><br>BOOLEAN |
| --- |
| **displayOrder**<br><br><br>INTEGER |
| **label**<br><br><br>STRING |
| **pipelineId**<br><br><br>STRING |
| **stages**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand stages<br><br><table> <tr> <td> <p> <strong>								active							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								closedWon							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								displayOrder							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								probability							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								stageId							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **staticDefault**<br><br><br>BOOLEAN |

### deals

The `deals` table contains info about the deals in a HubSpot portal.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | dealId |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/deals/deals_overview "Opens in new tab: HubSpot documentation")<br><br><br>[deals schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/deals.json "Opens in new tab: deals schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/deals/get-all-deals "Opens in new tab: HubSpot API method") |

deals table foreign keys

| Join deals with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>deals.associations.associatedCompanyIds = companies.companyId<br>```<br><br>```<br>deals.portalId = companies.portalId<br>``` |
| [contacts_by_company](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts-by-company) | ```<br>deals.associations.associatedCompanyIds = contacts_by_company.company-id<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>deals.associations.associatedCompanyIds = engagements.associations.companyIds<br>```<br><br>```<br>deals.dealId = engagements.associations.dealIds<br>```<br><br>```<br>deals.associations.associatedDealIds = engagements.associations.dealIds<br>```<br><br>```<br>deals.portalId = engagements.engagement.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>deals.portalId = contact_lists.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>deals.portalId = contacts.portal-id<br>```<br><br>```<br>deals.portalId = contacts.form-submissions.portal-id<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>deals.portalId = email_events.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>deals.portalId = forms.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>deals.portalId = subscription_changes.portalId<br>```<br><br>```<br>deals.portalId = subscription_changes.changes.portalId<br>``` |

deals table schema

| **associations**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand associations<br><br><table> <tr> <td> <p> <strong>								associatedCompanyIds							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								associatedDealIds							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								associatedVids							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| --- |
| **dealId**<br><br><br>INTEGER |
| **isDeleted**<br><br><br>BOOLEAN |
| **portalId**<br><br><br>INTEGER |

### email\_events

The `email_events` table contains info about email events and how recipients interact with content.

#### Email events and HubSpot permissions

Replicating this table requires **Super Admin** permissions in HubSpot. The Super Admin role is different than the Admin role, which you can read more about in [HubSpot’s documentation](https://knowledge.hubspot.com/articles/kcs_article/settings/hubspot-user-roles-guide#admin).

If this table is selected and you don’t have Super Admin permissions in HubSpot, an error similar to the following will surface in the integration’s [Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs):

```
tap - ERROR b'{"status":"error","message":"This oauth-token (**********) does not have proper permissions! (requires any of [email-access])", [...]
```

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/email/email_events_overview "Opens in new tab: HubSpot documentation")<br><br><br>[email_events schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/email_events.json "Opens in new tab: email_events schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/email/get_events "Opens in new tab: HubSpot API method") |

email\_events table foreign keys

| Join email\_events with | on |
| --- | --- |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#campaigns) | ```<br>email_events.emailCampaignId = campaigns.id<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>email_events.emailCampaignId = forms.leadNurturingCampaignId<br>```<br><br>```<br>email_events.portalId = forms.portalId<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>email_events.portalId = companies.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>email_events.portalId = contact_lists.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>email_events.portalId = contacts.portal-id<br>```<br><br>```<br>email_events.portalId = contacts.form-submissions.portal-id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>email_events.portalId = deals.portalId<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>email_events.portalId = engagements.engagement.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>email_events.portalId = subscription_changes.portalId<br>```<br><br>```<br>email_events.portalId = subscription_changes.changes.portalId<br>``` |

email\_events table schema

| **appId**<br><br><br>INTEGER |
| --- |
| **appName**<br><br><br>STRING |
| **browser**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand browser<br><br><table> <tr> <td> <p> <strong>								family							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								producer							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								producerUrl							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								url							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **created**<br><br><br>DATE-TIME |
| **deviceType**<br><br><br>STRING |
| **duration**<br><br><br>INTEGER |
| **emailCampaignGroupId**<br><br><br>INTEGER |
| **emailCampaignId**<br><br><br>INTEGER |
| **filteredEvent**<br><br><br>BOOLEAN |
| **from**<br><br><br>STRING |
| **hmid**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **ipAddress**<br><br><br>STRING |
| **linkId**<br><br><br>INTEGER |
| **location**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand location<br><br><table> <tr> <td> <p> <strong>								city							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								country							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								state							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **portalId**<br><br><br>INTEGER |
| **recipient**<br><br><br>STRING |
| **response**<br><br><br>STRING |
| **sentBy**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand sentBy<br><br><table> <tr> <td> <p> <strong>								created							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **smtpId**<br><br><br>STRING |
| **subject**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |
| **userAgent**<br><br><br>STRING |

### engagements

The `engagements` table contains info about all the engagements in a HubSpot portal.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | engagement\_id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | lastUpdated |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/engagements/engagements-overview "Opens in new tab: HubSpot documentation")<br><br><br>[engagements schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/engagements.json "Opens in new tab: engagements schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/engagements/get-all-engagements "Opens in new tab: HubSpot API method") |

engagements table foreign keys

| Join engagements with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>engagements.associations.companyIds = companies.companyId<br>```<br><br>```<br>engagements.engagement.portalId = companies.portalId<br>``` |
| [contacts_by_company](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts-by-company) | ```<br>engagements.associations.companyIds = contacts_by_company.company-id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>engagements.associations.companyIds = deals.associations.associatedCompanyIds<br>```<br><br>```<br>engagements.associations.dealIds = deals.dealId<br>```<br><br>```<br>engagements.associations.dealIds = deals.associations.associatedDealIds<br>```<br><br>```<br>engagements.engagement.portalId = deals.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>engagements.associations.contactIds = contact_lists.listId<br>```<br><br>```<br>engagements.engagement.portalId = contact_lists.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>engagements.associations.contactIds = contacts.list-memberships.internal-list-id<br>```<br><br>```<br>engagements.engagement.portalId = contacts.portal-id<br>```<br><br>```<br>engagements.engagement.portalId = contacts.form-submissions.portal-id<br>``` |
| [owners](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#owners) | ```<br>engagements.engagement.ownerId = owners.Id<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>engagements.engagement.portalId = email_events.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>engagements.engagement.portalId = forms.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>engagements.engagement.portalId = subscription_changes.portalId<br>```<br><br>```<br>engagements.engagement.portalId = subscription_changes.changes.portalId<br>``` |

engagements table schema

| **associations**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand associations<br><br><table> <tr> <td> <p> <strong>								companyIds							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								contactIds							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								dealIds							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| --- |
| **attachments**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand attachments<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **engagement**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand engagement<br><br><table> <tr> <td> <p> <strong>								active							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								createdAt							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								lastUpdated							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								ownerId							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								portalId							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								timestamp							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **engagement\_id**<br><br><br>INTEGER |
| **lastUpdated**<br><br><br>DATE-TIME |
| **metadata**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand metadata<br><br><table> <tr> <td> <p> <strong>								bcc							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand bcc</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								body							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								cc							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand cc</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								disposition							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								durationMilliseconds							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								endTime							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								externalAccountId							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								externalId							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								forObjectType							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								from							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand from</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								firstName							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								lastName							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								fromNumber							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								html							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								recordingUrl							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								startTime							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								status							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subject							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								text							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								to							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand to</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								email							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								toNumber							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |

### forms

The `forms` table contains info about your HubSpot website forms.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | guid |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/forms/forms_overview "Opens in new tab: HubSpot documentation")<br><br><br>[forms schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/forms.json "Opens in new tab: forms schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/forms/v2/get_forms "Opens in new tab: HubSpot API method") |

forms table foreign keys

| Join forms with | on |
| --- | --- |
| [campaigns](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#campaigns) | ```<br>forms.leadNurturingCampaignId = campaigns.id<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>forms.leadNurturingCampaignId = email_events.emailCampaignId<br>```<br><br>```<br>forms.portalId = email_events.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>forms.guid = contacts.form-submissions.form-id<br>```<br><br>```<br>forms.portalId = contacts.portal-id<br>```<br><br>```<br>forms.portalId = contacts.form-submissions.portal-id<br>``` |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>forms.portalId = companies.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>forms.portalId = contact_lists.portalId<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>forms.portalId = deals.portalId<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>forms.portalId = engagements.engagement.portalId<br>``` |
| [subscription_changes](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#subscription-changes) | ```<br>forms.portalId = subscription_changes.portalId<br>```<br><br>```<br>forms.portalId = subscription_changes.changes.portalId<br>``` |

forms table schema

| **action**<br><br><br>STRING |
| --- |
| **campaignGuid**<br><br><br>STRING |
| **captchaEnabled**<br><br><br>BOOLEAN |
| **cloneable**<br><br><br>BOOLEAN |
| **createdAt**<br><br><br>DATE-TIME |
| **cssClass**<br><br><br>STRING |
| **deletable**<br><br><br>BOOLEAN |
| **deletedAt**<br><br><br>INTEGER |
| **editable**<br><br><br>BOOLEAN |
| **followUpId**<br><br><br>STRING |
| **formFieldGroups**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand formFieldGroups<br><br><table> <tr> <td> <p> <strong>								default							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								fields							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand fields</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								defaultValue							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								displayOrder							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								enabled							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								fieldType							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								groupName							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								hidden							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								isSmartField							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								labelHidden							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								options							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand options</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								description							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								displayOrder							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								doubleData							</strong> </p> <p>							NUMBER													</p> </td> </tr> <tr> <td> <p> <strong>								hidden							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								label							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								readOnly							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								placeholder							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								required							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								selectedOptions							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								unselectedLabel							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								validation							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand validation</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								blockedEmailAddresses							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> <tr> <td> <p> <strong>								data							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								message							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								useDefaultBlockList							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								isSmartGroup							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								richText							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand richText</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								content							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **formType**<br><br><br>STRING |
| **guid**<br><br><br>STRING |
| **ignoreCurrentValues**<br><br><br>BOOLEAN |
| **inlineMessage**<br><br><br>STRING |
| **leadNurturingCampaignId**<br><br><br>STRING |
| **metaData**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand metaData<br><br><table> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								value							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **method**<br><br><br>STRING |
| **migratedFrom**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **notifyRecipients**<br><br><br>STRING |
| **performableHtml**<br><br><br>STRING |
| **portalId**<br><br><br>INTEGER |
| **redirect**<br><br><br>STRING |
| **submitText**<br><br><br>STRING |
| **tmsId**<br><br><br>STRING |
| **updatedAt**<br><br><br>DATE-TIME |

### owners

The `owners` table contains info about the owners that exist in your HubSpot portal. Owners are created and updated in HubSpot when new users are added or when owners are synced from Salesforce to HubSpot.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | Id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/owners/owners_overview "Opens in new tab: HubSpot documentation")<br><br><br>[owners schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/owners.json "Opens in new tab: owners schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/api/crm/owners "Opens in new tab: HubSpot API method") |

owners table foreign keys

| Join owners with | on |
| --- | --- |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>owners.Id = engagements.engagement.ownerId<br>``` |

owners table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **createdAt**<br><br><br>DATE-TIME |
| **email**<br><br><br>STRING |
| **firstName**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **lastName**<br><br><br>STRING |
| **teams**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand teams<br><br><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								name							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								primary							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> </table> |
| **updatedAt**<br><br><br>DATE-TIME |
| **userId**<br><br><br>INTEGER |

### subscription\_changes

The `subscription_changes` table contains info about changes made subscriptions.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | recipient<br><br>portalId<br><br>timestamp |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/timeline/timeline-overview "Opens in new tab: HubSpot documentation")<br><br><br>[subscription_changes schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/subscription_changes.json "Opens in new tab: subscription_changes schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/email/get_subscriptions_timeline "Opens in new tab: HubSpot API method") |

subscription\_changes table foreign keys

| Join subscription\_changes with | on |
| --- | --- |
| [companies](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#companies) | ```<br>subscription_changes.portalId = companies.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = companies.portalId<br>``` |
| [contact_lists](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contact-lists) | ```<br>subscription_changes.portalId = contact_lists.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = contact_lists.portalId<br>``` |
| [contacts](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#contacts) | ```<br>subscription_changes.portalId = contacts.portal-id<br>```<br><br>```<br>subscription_changes.changes.portalId = contacts.portal-id<br>```<br><br>```<br>subscription_changes.portalId = contacts.form-submissions.portal-id<br>```<br><br>```<br>subscription_changes.changes.portalId = contacts.form-submissions.portal-id<br>``` |
| [deals](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#deals) | ```<br>subscription_changes.portalId = deals.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = deals.portalId<br>``` |
| [email_events](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#email-events) | ```<br>subscription_changes.portalId = email_events.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = email_events.portalId<br>``` |
| [engagements](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#engagements) | ```<br>subscription_changes.portalId = engagements.engagement.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = engagements.engagement.portalId<br>``` |
| [forms](https://help.qlik.com/en-US/stitch/integrations/saas/hubspot#forms) | ```<br>subscription_changes.portalId = forms.portalId<br>```<br><br>```<br>subscription_changes.changes.portalId = forms.portalId<br>``` |

subscription\_changes table schema

| **changes**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand changes<br><br><table> <tr> <td> <p> <strong>								causedByEvent							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand causedByEvent</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								created							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								change							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								changeType							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								portalId							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								source							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								subscriptionId							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								timestamp							</strong> </p> <p>							DATE-TIME													</p> </td> </tr> </table> |
| --- |
| **portalId**<br><br><br>INTEGER |
| **recipient**<br><br><br>STRING |
| **timestamp**<br><br><br>DATE-TIME |

### tickets

In HubSpot, tickets represents customer requests for help.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [tickets schema on GitHub](https://github.com/singer-io/tap-hubspot/tree/master/tap_hubspot/schemas/tickets.json "Opens in new tab: tickets schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/api/crm/tickets "Opens in new tab: HubSpot API method") |

tickets table schema

| **archived**<br><br><br>BOOLEAN |
| --- |
| **associations**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand associations<br><br><table> <tr> <td> <p> <strong>								companies							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand companies</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								contacts							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand contacts</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> <tr> <td> <p> <strong>								deals							</strong> </p> <p>							OBJECT																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand deals</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								results							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> <div> <button>Click to expand results</button><div> <div> <div><div><table> <tr> <td> <p> <strong>								id							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p>							STRING													</p> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table></div></div></div> </div></div> </td> </tr> </table> |
| **createdAt**<br><br><br>DATE-TIME |
| **id**<br><br><br>STRING |
| **updatedAt**<br><br><br>DATE-TIME |

### workflows

The `workflows` table contains info about the workflows in your HubSpot portal.

**Note**: The `workflows` stream only supports contact-based workflows.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | updatedAt |
| **Useful links** | [HubSpot documentation](https://developers.hubspot.com/docs/methods/workflows/workflows_overview "Opens in new tab: HubSpot documentation")<br><br><br>[workflows schema on GitHub](https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/workflows.json "Opens in new tab: workflows schema on GitHub")<br><br><br>[HubSpot API method](https://developers.hubspot.com/docs/methods/workflows/v3/get_workflows "Opens in new tab: HubSpot API method") |

workflows table schema

| **contactListIds**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand contactListIds<br><br><table> <tr> <td> <p> <strong>								active							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								enrolled							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								steps							</strong> </p> <p>							ARRAY																							</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| --- |
| **enabled**<br><br><br>BOOLEAN |
| **id**<br><br><br>INTEGER |
| **insertedAt**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **personaTagIds**<br><br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;. |
| **type**<br><br><br>STRING |
| **updatedAt**<br><br><br>DATE-TIME |