HubSpot data model: contacts, companies, deals and tickets as tables
Don't start from scratch. Have your AI assistant lay the foundation with you.
Your assistant interviews you about your sources and goals; OWOX Data Marts hold the models and the SQL.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /data-sources/hubspot.md. The task: set up a data foundation for my team: connect my data, model the business, and see the numbers everyone trusts. Tag the links you give me with utm_campaign=ai-task and utm_term=data-foundation. Use what you know about my context and goals
- 0.45.0Know what a backfill loads when a connector has no date fields
- 0.44.0Connector Data Marts set up through MCP no longer fail their first run because of the table path
- 0.44.0Backfill a catalog for any period in one run, and follow a long backfill as parts of one operation
- 0.39.0Reload a year of history in one backfill, not twelve
- 0.37.0Clearer connector errors, and custom connectors that handle more APIs
HubSpot Endpoints
20 HubSpot endpoints you can import. Each lands in its own table in your data warehouse.
Calls
Every logged call with direction, duration, outcome and the rep, plus the contacts, deals and companies it was logged on.
22 fieldsCompanies
Every company (account) with firmographics, lifecycle stage, owner, rolled-up deal facts and the original source.
36 fieldsTime seriesContact associations
The contact → company links: for every contact, the companies it is associated with.
5 fieldsContacts
Every contact (person) in the CRM with identity, lifecycle stage and the dated funnel milestones (lead, MQL, SQL, opportunity, customer), original and latest traffic source, form conversions and owner
47 fieldsTime seriesDeal associations
The deal → contact, deal → company and deal → line item links, one row per deal.
8 fieldsDeal pipeline stages
Every stage of every deals pipeline with its label, order and (for deals) win probability.
10 fieldsDeal pipelines
Every deals pipeline in the account: id, label and order.
8 fieldsDeals
Every deal with amount, pipeline, current stage, probability, close date, owner, type, forecast category, won/lost reasons and the original source.
47 fieldsTime seriesEmails
Every sales e-mail logged or sent from HubSpot with subject, direction, status, addresses and the rep, plus its associations.
21 fieldsLine items
Every line item on every deal: product, quantity, price, discount, amount and recurring-revenue values, with the deal it belongs to from the association.
26 fieldsMarketing emails
Every marketing (bulk) e-mail with its state, send date and lifetime statistics: sent, delivered, opens, clicks, bounces, unsubscribes and the ratios.
27 fieldsMeetings
Every meeting with start, end, outcome and how it was booked, plus the rep and associations.
22 fieldsNotes
Every note a rep left on a record, with the rep and associations.
17 fieldsOwners
Every active owner (user who can own records) with name, e-mail and team membership.
11 fieldsProducts
The product library: every product with price, SKU, cost and billing period.
16 fieldsTasks
Every task with status, priority, type and completion date, plus the rep and associations.
22 fieldsTicket associations
The ticket → contact, ticket → company and ticket → deal links, one row per ticket.
9 fieldsTicket pipeline stages
Every stage of every tickets pipeline with its label, order and (for deals) win probability.
10 fieldsTicket pipelines
Every tickets pipeline in the account: id, label and order.
8 fieldsTickets
Every support ticket with pipeline, status, priority, category, channel, owner and the time-to-close and time-to-first-reply HubSpot computes.
21 fieldsTime series
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
HubSpot Calls schema
22 fieldshubspot_calls
Every logged call with direction, duration, outcome and the rep, plus the contacts, deals and companies it was logged on.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the calls (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
hs_timestamp | TIMESTAMP | When the activity happened (the date to report activities by). |
hubspot_owner_id | STRING | Rep who logged or owns the activity; joins hubspot_owners.id. Activities per rep come from this field. |
hs_createdate | TIMESTAMP | When the activity record was created. |
hs_lastmodifieddate | TIMESTAMP | When the activity record last changed. |
hs_activity_type | STRING | Activity type picked by the rep, when the account uses activity types. |
hs_call_title | STRING | Call title. |
hs_call_direction | STRING | INBOUND or OUTBOUND. |
hs_call_duration | INTEGER | Call duration in milliseconds. |
hs_call_disposition | STRING | Outcome id of the call (connected, left voicemail, no answer, busy, wrong number…), an id that maps to the account's call outcomes. |
hs_call_status | STRING | Status: COMPLETED, BUSY, NO_ANSWER, FAILED, CANCELED, CONNECTING, IN_PROGRESS, QUEUED. |
hs_call_body | STRING | Notes typed on the call. |
first_contact_id | STRING | The first contact the activity is logged on. Joins hubspot_contacts.id. |
contact_associations | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
first_deal_id | STRING | The first deal the activity is logged on. Joins hubspot_deals.id; activities per deal and per stage come from here. |
deal_associations | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
first_company_id | STRING | The first company the activity is logged on. Joins hubspot_companies.id. |
company_associations | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Companies schema
36 fieldsTime serieshubspot_companies
Every company (account) with firmographics, lifecycle stage, owner, rolled-up deal facts and the original source.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the companie (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
name | STRING | Company name. |
domain | STRING | Website domain; HubSpot's deduplication key and the join to contact e-mail domains and to Stripe or billing accounts. |
industry | STRING | Industry from HubSpot's standard list. |
company_type | STRING | Type of company: PROSPECT, PARTNER, RESELLER, VENDOR, OTHER. |
city | STRING | City. |
state | STRING | State or region. |
country | STRING | Country. |
numberofemployees | INTEGER | Number of employees. |
annualrevenue | FLOAT | Annual revenue as entered or enriched. |
lifecyclestage | STRING | Lifecycle stage of the company, same vocabulary as contacts. |
hs_lead_status | STRING | Lead status of the company. |
hubspot_owner_id | STRING | Owner of the company; joins hubspot_owners.id. |
createdate | TIMESTAMP | When the company was created in HubSpot. |
hs_lastmodifieddate | TIMESTAMP | When any company property last changed. The incremental filter for this table. |
closedate | TIMESTAMP | Close date of the first closed-won deal. |
first_deal_created_date | TIMESTAMP | When the first deal was created for the company. |
recent_deal_amount | FLOAT | Amount of the most recently closed-won deal. |
recent_deal_close_date | TIMESTAMP | Close date of the most recently closed-won deal. |
total_revenue | FLOAT | Sum of closed-won deal amounts, as HubSpot rolls it up. |
num_associated_contacts | INTEGER | Number of associated contacts. |
num_associated_deals | INTEGER | Number of associated deals. |
hs_num_open_deals | INTEGER | Number of open deals. |
hs_analytics_source | STRING | Original traffic source of the company (from its first contact). |
hs_analytics_source_data_1 | STRING | Original source drill-down 1. |
hs_analytics_source_data_2 | STRING | Original source drill-down 2. |
hs_parent_company_id | STRING | Parent company id when the account is a subsidiary; joins hubspot_companies.id. |
website | STRING | Website URL. |
description | STRING | Company description. |
founded_year | STRING | Year founded. |
is_public | BOOLEAN | true for publicly traded companies. |
hs_object_source | STRING | How the record was created (FORM, IMPORT, API, CRM_UI, INTEGRATION, …). |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Contact associations schema
5 fieldshubspot_contact_associations
The contact → company links: for every contact, the companies it is associated with.
| Field | Type | Description |
|---|---|---|
id | STRING | Contact id. Primary key; joins hubspot_contacts.id. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
email | STRING | Contact e-mail, repeated here so the link table is readable on its own. |
first_company_id | STRING | The first associated company (HubSpot lists the primary company first). Joins hubspot_companies.id. |
company_associations | JSON | All associated companies as a JSON array of {id, type}; type contact_to_company is the primary link, contact_to_company_unlabeled the others. |
HubSpot Contacts schema
47 fieldsTime serieshubspot_contacts
Every contact (person) in the CRM with identity, lifecycle stage and the dated funnel milestones (lead, MQL, SQL, opportunity, customer), original and latest traffic source, form conversions and owner
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the contact (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
email | STRING | Primary e-mail address. The join key to Stripe or QuickBooks customers, newsletter contacts and ad-platform conversions by e-mail. |
firstname | STRING | First name. |
lastname | STRING | Last name. |
phone | STRING | Phone number as typed in HubSpot. |
company | STRING | Company name typed on the contact; the associated company record is in hubspot_contact_associations. |
jobtitle | STRING | Job title. |
lifecyclestage | STRING | Lifecycle stage id: subscriber, lead, marketingqualifiedlead, salesqualifiedlead, opportunity, customer, evangelist, other, or a custom stage id. |
hs_lead_status | STRING | Lead status set by sales (NEW, OPEN, IN_PROGRESS, OPEN_DEAL, UNQUALIFIED, ATTEMPTED_TO_CONTACT, CONNECTED, BAD_TIMING, or custom). |
hubspot_owner_id | STRING | Owner (sales rep) of the contact; joins hubspot_owners.id. |
hs_analytics_source | STRING | Original traffic source of the contact's first visit: ORGANIC_SEARCH, PAID_SEARCH, EMAIL_MARKETING, SOCIAL_MEDIA, REFERRALS, OTHER_CAMPAIGNS, DIRECT_TRAFFIC, OFFLINE, PAID_SOCIAL. |
hs_analytics_source_data_1 | STRING | Original source drill-down 1 (for example the search engine, the campaign or the import name). |
hs_analytics_source_data_2 | STRING | Original source drill-down 2 (for example the keyword or the referring domain). |
hs_latest_source | STRING | Latest traffic source, same vocabulary as hs_analytics_source. |
hs_latest_source_timestamp | TIMESTAMP | When the latest source was recorded. |
createdate | TIMESTAMP | When the contact was created in HubSpot. The date a lead enters the funnel. |
lastmodifieddate | TIMESTAMP | When any contact property last changed. The incremental filter for this table. |
hs_lifecyclestage_lead_date | TIMESTAMP | When the contact became a lead. |
hs_lifecyclestage_marketingqualifiedlead_date | TIMESTAMP | When the contact became a marketing-qualified lead (MQL). |
hs_lifecyclestage_salesqualifiedlead_date | TIMESTAMP | When the contact became a sales-qualified lead (SQL). |
hs_lifecyclestage_opportunity_date | TIMESTAMP | When the contact became an opportunity. |
hs_lifecyclestage_customer_date | TIMESTAMP | When the contact became a customer. MQL→SQL→customer conversion is these dates divided. |
closedate | TIMESTAMP | Close date copied from the first deal that closed won for this contact. |
first_conversion_event_name | STRING | Name of the first form the contact submitted. |
first_conversion_date | TIMESTAMP | When the contact first converted on a form. |
recent_conversion_event_name | STRING | Name of the most recent form submission. |
recent_conversion_date | TIMESTAMP | When the most recent form submission happened. |
num_conversion_events | INTEGER | Number of form submissions. |
hs_analytics_num_page_views | INTEGER | Page views HubSpot tracked for this contact. |
hs_analytics_num_visits | INTEGER | Sessions (visits) HubSpot tracked for this contact. |
hs_analytics_first_visit_timestamp | TIMESTAMP | First tracked visit. |
hs_analytics_last_visit_timestamp | TIMESTAMP | Most recent tracked visit. |
num_associated_deals | INTEGER | Number of deals associated with the contact. |
num_notes | INTEGER | Number of sales activities (notes, calls, e-mails, meetings, tasks) logged on the contact. |
notes_last_contacted | TIMESTAMP | Last time a rep contacted this person (call, e-mail or meeting). |
hs_sales_email_last_replied | TIMESTAMP | Last time the contact replied to a sales e-mail. |
city | STRING | City. |
state | STRING | State or region. |
country | STRING | Country. |
website | STRING | Website URL typed on the contact. |
hs_email_domain | STRING | Domain part of the e-mail; joins companies.domain when no association exists. |
hs_object_source | STRING | How the record was created: FORM, IMPORT, API, CRM_UI, INTEGRATION, WORKFLOWS, CONVERSATIONS, EMAIL and others. |
hs_object_source_label | STRING | Human label of hs_object_source. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Deal associations schema
8 fieldshubspot_deal_associations
The deal → contact, deal → company and deal → line item links, one row per deal.
| Field | Type | Description |
|---|---|---|
id | STRING | Deal id. Primary key; joins hubspot_deals.id. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
dealname | STRING | Deal name, repeated so the link table is readable on its own. |
first_contact_id | STRING | The first associated contact. Joins hubspot_contacts.id. |
contact_associations | JSON | All associated contacts as a JSON array of {id, type}. |
first_company_id | STRING | The first associated company (the primary company). Joins hubspot_companies.id. |
company_associations | JSON | All associated companies as a JSON array of {id, type}. |
line_item_associations | JSON | All line items of the deal as a JSON array of {id, type}; joins hubspot_line_items.id. |
HubSpot Deal pipeline stages schema
10 fieldshubspot_deal_pipeline_stages
Every stage of every deals pipeline with its label, order and (for deals) win probability.
| Field | Type | Description |
|---|---|---|
id | STRING | Stage id, unique in the account. Primary key; deals.dealstage joins it. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
label | STRING | Stage name as shown in HubSpot. |
display_order | INTEGER | Position of the stage in its pipeline, 0 first. |
is_closed | BOOLEAN | true for the closed stages (won and lost for deals, closed for tickets). |
probability | FLOAT | Win probability of the stage, 0–1 (deal pipelines only; 1.0 = closed won, 0.0 = closed lost). |
ticket_state | STRING | OPEN or CLOSED (ticket pipelines only). |
archived | BOOLEAN | true when the stage was removed from the pipeline. |
created_at | TIMESTAMP | When the stage was created. |
updated_at | TIMESTAMP | When the stage last changed. |
HubSpot Deal pipelines schema
8 fieldshubspot_deal_pipelines
Every deals pipeline in the account: id, label and order.
| Field | Type | Description |
|---|---|---|
id | STRING | Pipeline id. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
label | STRING | Pipeline name. |
display_order | INTEGER | Position of the pipeline in HubSpot's list. |
stage_count | INTEGER | Number of stages (counted from the stages array). |
archived | BOOLEAN | true when the pipeline was deleted. |
created_at | TIMESTAMP | When the pipeline was created. |
updated_at | TIMESTAMP | When the pipeline last changed. |
HubSpot Deals schema
47 fieldsTime serieshubspot_deals
Every deal with amount, pipeline, current stage, probability, close date, owner, type, forecast category, won/lost reasons and the original source.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the deal (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
dealname | STRING | Deal name. |
amount | FLOAT | Deal amount in the deal's currency. Pipeline value is SUM(amount) over open deals; bookings is SUM(amount) over closed-won deals by closedate. |
amount_in_home_currency | FLOAT | Deal amount converted to the account's home currency. |
deal_currency_code | STRING | ISO currency code of amount. |
pipeline | STRING | Pipeline id; joins hubspot_deal_pipelines.id. |
dealstage | STRING | Current stage id; joins hubspot_deal_pipeline_stages.id for the label, order and win probability. |
hs_deal_stage_probability | FLOAT | Win probability of the current stage (0–1) as configured on the pipeline. |
hs_is_closed | BOOLEAN | true when the deal is in a closed stage (won or lost). |
hs_is_closed_won | BOOLEAN | true when the deal is closed won. |
hs_is_closed_lost | BOOLEAN | true when the deal is closed lost. |
hs_closed_amount | FLOAT | Amount counted as closed won (0 for open and lost deals). |
hs_forecast_amount | FLOAT | Weighted amount: amount × forecast probability. |
hs_projected_amount | FLOAT | Amount × stage probability for open deals. |
hs_manual_forecast_category | STRING | Forecast category set by the rep: OMIT, PIPELINE, BEST_CASE, COMMIT, CLOSED. |
dealtype | STRING | newbusiness or existingbusiness. |
closedate | TIMESTAMP | Expected close date for open deals, actual close date once closed. Bookings are dated by this field. |
createdate | TIMESTAMP | When the deal was created. Pipeline created and sales velocity start here. |
hs_lastmodifieddate | TIMESTAMP | When any deal property last changed. The incremental filter for this table. |
hs_v2_date_entered_current_stage | TIMESTAMP | When the deal entered its current stage; days in stage = now minus this. |
hs_v2_time_in_current_stage | INTEGER | Milliseconds the deal has spent in its current stage, as HubSpot computes it. |
hs_days_to_close | INTEGER | Days from createdate to closedate (sales cycle length) as HubSpot computes it. |
hubspot_owner_id | STRING | Deal owner (rep); joins hubspot_owners.id. Owner performance is deals and amounts grouped by this field. |
hs_created_by_user_id | STRING | HubSpot user who created the deal. |
closed_won_reason | STRING | Free-text or picklist reason the deal was won. |
closed_lost_reason | STRING | Free-text or picklist reason the deal was lost. |
hs_analytics_source | STRING | Original traffic source of the deal's first associated contact: where the deal came from. |
hs_analytics_source_data_1 | STRING | Original source drill-down 1. |
hs_analytics_source_data_2 | STRING | Original source drill-down 2. |
hs_campaign | STRING | Marketing campaign id associated with the deal. |
num_associated_contacts | INTEGER | Number of contacts on the deal. |
hs_num_of_associated_line_items | INTEGER | Number of line items on the deal. |
num_notes | INTEGER | Number of sales activities logged on the deal. |
notes_last_contacted | TIMESTAMP | Last time a contact on this deal was contacted. |
hs_latest_meeting_activity | TIMESTAMP | Latest meeting activity on the deal. |
hs_next_step | STRING | Next step typed by the rep. |
hs_priority | STRING | Priority: low, medium, high. |
hs_deal_score | FLOAT | HubSpot's deal score (Sales Hub Enterprise). |
hs_mrr | FLOAT | Monthly recurring revenue from the deal's recurring line items. |
hs_arr | FLOAT | Annual recurring revenue from the deal's recurring line items. |
hs_tcv | FLOAT | Total contract value from line items. |
hs_acv | FLOAT | Annual contract value from line items. |
description | STRING | Deal description. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Emails schema
21 fieldshubspot_emails
Every sales e-mail logged or sent from HubSpot with subject, direction, status, addresses and the rep, plus its associations.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the emails (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
hs_timestamp | TIMESTAMP | When the activity happened (the date to report activities by). |
hubspot_owner_id | STRING | Rep who logged or owns the activity; joins hubspot_owners.id. Activities per rep come from this field. |
hs_createdate | TIMESTAMP | When the activity record was created. |
hs_lastmodifieddate | TIMESTAMP | When the activity record last changed. |
hs_activity_type | STRING | Activity type picked by the rep, when the account uses activity types. |
hs_email_subject | STRING | E-mail subject. |
hs_email_direction | STRING | EMAIL (sent from HubSpot), INCOMING_EMAIL or FORWARDED_EMAIL. |
hs_email_status | STRING | Status: SENT, BOUNCED, FAILED, SCHEDULED, SENDING. |
hs_email_to_email | STRING | Recipient address (joins contacts.email). |
hs_email_from_email | STRING | Sender address. |
first_contact_id | STRING | The first contact the activity is logged on. Joins hubspot_contacts.id. |
contact_associations | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
first_deal_id | STRING | The first deal the activity is logged on. Joins hubspot_deals.id; activities per deal and per stage come from here. |
deal_associations | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
first_company_id | STRING | The first company the activity is logged on. Joins hubspot_companies.id. |
company_associations | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Line items schema
26 fieldshubspot_line_items
Every line item on every deal: product, quantity, price, discount, amount and recurring-revenue values, with the deal it belongs to from the association.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the line items (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
name | STRING | Line item name (product name at the time of adding). |
hs_product_id | STRING | Product this line was created from; joins hubspot_products.id. |
hs_sku | STRING | SKU copied from the product. |
quantity | FLOAT | Quantity. |
price | FLOAT | Unit price on the line. |
amount | FLOAT | Net amount of the line (quantity × price minus discount). |
discount | FLOAT | Absolute discount on the line. |
hs_discount_percentage | FLOAT | Percentage discount on the line. |
hs_total_discount | FLOAT | Total discount on the line. |
hs_line_item_currency_code | STRING | ISO currency code of the line. |
hs_recurring_billing_period | STRING | Billing period of a recurring line as an ISO 8601 duration. |
recurringbillingfrequency | STRING | Billing frequency of a recurring line. |
hs_term_in_months | INTEGER | Contract term in months for recurring lines. |
hs_mrr | FLOAT | Monthly recurring revenue of the line. |
hs_arr | FLOAT | Annual recurring revenue of the line. |
hs_tcv | FLOAT | Total contract value of the line. |
hs_acv | FLOAT | Annual contract value of the line. |
hs_position_on_quote | INTEGER | Order of the line on the deal or quote. |
createdate | TIMESTAMP | When the line was created. |
hs_lastmodifieddate | TIMESTAMP | When the line last changed. |
deal_id | STRING | The deal this line item belongs to (first associated deal; a line item belongs to one deal). Joins hubspot_deals.id. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Marketing emails schema
27 fieldshubspot_marketing_emails
Every marketing (bulk) e-mail with its state, send date and lifetime statistics: sent, delivered, opens, clicks, bounces, unsubscribes and the ratios.
| Field | Type | Description |
|---|---|---|
id | STRING | Marketing e-mail id. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
name | STRING | Internal e-mail name. |
subject | STRING | Subject line. |
state | STRING | DRAFT, PUBLISHED, SCHEDULED, AUTOMATED, AUTOMATED_DRAFT and others. |
email_type | STRING | BATCH_EMAIL, AUTOMATED_EMAIL, AB_EMAIL, RSS_EMAIL and others. |
publish_date | TIMESTAMP | When the e-mail was sent or scheduled. |
is_published | BOOLEAN | true once sent or live. |
campaign_id | STRING | Marketing campaign the e-mail belongs to. |
campaign_name | STRING | Campaign name. |
from_name | STRING | Sender name. |
sent | INTEGER | Recipients the send went to. |
delivered | INTEGER | Delivered recipients. |
opens | INTEGER | Total opens. |
clicks | INTEGER | Total clicks. |
bounces | INTEGER | Bounced recipients. |
unsubscribes | INTEGER | Unsubscribed recipients. |
spam_reports | INTEGER | Spam reports. |
replies | INTEGER | Replies. |
open_rate | FLOAT | Opens ÷ delivered, as HubSpot reports it. |
click_rate | FLOAT | Clicks ÷ delivered. |
click_through_rate | FLOAT | Clicks ÷ opens (CTOR). |
bounce_rate | FLOAT | Bounces ÷ sent. |
unsubscribe_rate | FLOAT | Unsubscribes ÷ delivered. |
created_at | TIMESTAMP | When the e-mail was created. |
updated_at | TIMESTAMP | When the e-mail last changed. |
archived | BOOLEAN | true when archived. |
HubSpot Meetings schema
22 fieldshubspot_meetings
Every meeting with start, end, outcome and how it was booked, plus the rep and associations.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the meetings (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
hs_timestamp | TIMESTAMP | When the activity happened (the date to report activities by). |
hubspot_owner_id | STRING | Rep who logged or owns the activity; joins hubspot_owners.id. Activities per rep come from this field. |
hs_createdate | TIMESTAMP | When the activity record was created. |
hs_lastmodifieddate | TIMESTAMP | When the activity record last changed. |
hs_activity_type | STRING | Activity type picked by the rep, when the account uses activity types. |
hs_meeting_title | STRING | Meeting title. |
hs_meeting_start_time | TIMESTAMP | Meeting start. |
hs_meeting_end_time | TIMESTAMP | Meeting end. |
hs_meeting_outcome | STRING | SCHEDULED, COMPLETED, RESCHEDULED, NO_SHOW, CANCELED. |
hs_meeting_location | STRING | Location or conference link. |
hs_meeting_source | STRING | CRM_UI, INTEGRATION, BIDIRECTIONAL_API, MEETINGS_PUBLIC: how the meeting was booked. |
first_contact_id | STRING | The first contact the activity is logged on. Joins hubspot_contacts.id. |
contact_associations | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
first_deal_id | STRING | The first deal the activity is logged on. Joins hubspot_deals.id; activities per deal and per stage come from here. |
deal_associations | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
first_company_id | STRING | The first company the activity is logged on. Joins hubspot_companies.id. |
company_associations | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Notes schema
17 fieldshubspot_notes
Every note a rep left on a record, with the rep and associations.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the notes (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
hs_timestamp | TIMESTAMP | When the activity happened (the date to report activities by). |
hubspot_owner_id | STRING | Rep who logged or owns the activity; joins hubspot_owners.id. Activities per rep come from this field. |
hs_createdate | TIMESTAMP | When the activity record was created. |
hs_lastmodifieddate | TIMESTAMP | When the activity record last changed. |
hs_activity_type | STRING | Activity type picked by the rep, when the account uses activity types. |
hs_note_body | STRING | Note text (HTML as stored). |
first_contact_id | STRING | The first contact the activity is logged on. Joins hubspot_contacts.id. |
contact_associations | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
first_deal_id | STRING | The first deal the activity is logged on. Joins hubspot_deals.id; activities per deal and per stage come from here. |
deal_associations | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
first_company_id | STRING | The first company the activity is logged on. Joins hubspot_companies.id. |
company_associations | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Owners schema
11 fieldshubspot_owners
Every active owner (user who can own records) with name, e-mail and team membership.
| Field | Type | Description |
|---|---|---|
id | STRING | Owner id. Primary key; hubspot_owner_id on every object joins it. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
email | STRING | Owner's e-mail (the HubSpot user login). |
first_name | STRING | First name. |
last_name | STRING | Last name. |
user_id | INTEGER | HubSpot user id behind the owner. |
owner_type | STRING | PERSON or QUEUE. |
teams | JSON | Teams the owner belongs to, as a JSON array of {id, name, primary}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Products schema
16 fieldshubspot_products
The product library: every product with price, SKU, cost and billing period.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the products (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
name | STRING | Product name. |
description | STRING | Product description. |
price | FLOAT | Unit list price. |
hs_sku | STRING | SKU; the join to the product catalogue in Shopify, Stripe or QuickBooks. |
hs_cost_of_goods_sold | FLOAT | Unit cost of goods sold, when entered. |
hs_product_type | STRING | inventory, non-inventory or service. |
hs_recurring_billing_period | STRING | Billing period for recurring products as an ISO 8601 duration (P1M, P12M). |
recurringbillingfrequency | STRING | Billing frequency: monthly, quarterly, annually and others. |
createdate | TIMESTAMP | When the product was created. |
hs_lastmodifieddate | TIMESTAMP | When any product property last changed. |
hs_url | STRING | Product URL. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Tasks schema
22 fieldshubspot_tasks
Every task with status, priority, type and completion date, plus the rep and associations.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the tasks (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
hs_timestamp | TIMESTAMP | When the activity happened (the date to report activities by). |
hubspot_owner_id | STRING | Rep who logged or owns the activity; joins hubspot_owners.id. Activities per rep come from this field. |
hs_createdate | TIMESTAMP | When the activity record was created. |
hs_lastmodifieddate | TIMESTAMP | When the activity record last changed. |
hs_activity_type | STRING | Activity type picked by the rep, when the account uses activity types. |
hs_task_subject | STRING | Task title. |
hs_task_body | STRING | Task notes. |
hs_task_status | STRING | NOT_STARTED, IN_PROGRESS, WAITING, COMPLETED, DEFERRED. |
hs_task_priority | STRING | NONE, LOW, MEDIUM, HIGH. |
hs_task_type | STRING | EMAIL, CALL, TODO, LINKED_IN_MESSAGE and others. |
hs_task_completion_date | TIMESTAMP | When the task was completed. |
first_contact_id | STRING | The first contact the activity is logged on. Joins hubspot_contacts.id. |
contact_associations | JSON | All contacts the activity is associated with, as a JSON array of {id, type}. |
first_deal_id | STRING | The first deal the activity is logged on. Joins hubspot_deals.id; activities per deal and per stage come from here. |
deal_associations | JSON | All deals the activity is associated with, as a JSON array of {id, type}. |
first_company_id | STRING | The first company the activity is logged on. Joins hubspot_companies.id. |
company_associations | JSON | All companies the activity is associated with, as a JSON array of {id, type}. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
HubSpot Ticket associations schema
9 fieldshubspot_ticket_associations
The ticket → contact, ticket → company and ticket → deal links, one row per ticket.
| Field | Type | Description |
|---|---|---|
id | STRING | Ticket id. Primary key; joins hubspot_tickets.id. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
subject | STRING | Ticket subject, repeated so the link table is readable on its own. |
first_contact_id | STRING | The first associated contact. Joins hubspot_contacts.id. |
contact_associations | JSON | All associated contacts as a JSON array of {id, type}. |
first_company_id | STRING | The first associated company. Joins hubspot_companies.id. |
company_associations | JSON | All associated companies as a JSON array of {id, type}. |
first_deal_id | STRING | The first associated deal. Joins hubspot_deals.id. |
deal_associations | JSON | All associated deals as a JSON array of {id, type}. |
HubSpot Ticket pipeline stages schema
10 fieldshubspot_ticket_pipeline_stages
Every stage of every tickets pipeline with its label, order and (for deals) win probability.
| Field | Type | Description |
|---|---|---|
id | STRING | Stage id, unique in the account. Primary key; tickets.hs_pipeline_stage joins it. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
label | STRING | Stage name as shown in HubSpot. |
display_order | INTEGER | Position of the stage in its pipeline, 0 first. |
is_closed | BOOLEAN | true for the closed stages (won and lost for deals, closed for tickets). |
probability | FLOAT | Win probability of the stage, 0–1 (deal pipelines only; 1.0 = closed won, 0.0 = closed lost). |
ticket_state | STRING | OPEN or CLOSED (ticket pipelines only). |
archived | BOOLEAN | true when the stage was removed from the pipeline. |
created_at | TIMESTAMP | When the stage was created. |
updated_at | TIMESTAMP | When the stage last changed. |
HubSpot Ticket pipelines schema
8 fieldshubspot_ticket_pipelines
Every tickets pipeline in the account: id, label and order.
| Field | Type | Description |
|---|---|---|
id | STRING | Pipeline id. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector. |
label | STRING | Pipeline name. |
display_order | INTEGER | Position of the pipeline in HubSpot's list. |
stage_count | INTEGER | Number of stages (counted from the stages array). |
archived | BOOLEAN | true when the pipeline was deleted. |
created_at | TIMESTAMP | When the pipeline was created. |
updated_at | TIMESTAMP | When the pipeline last changed. |
HubSpot Tickets schema
21 fieldsTime serieshubspot_tickets
Every support ticket with pipeline, status, priority, category, channel, owner and the time-to-close and time-to-first-reply HubSpot computes.
| Field | Type | Description |
|---|---|---|
id | STRING | HubSpot object id of the ticket (hs_object_id), unique in the account. Primary key. |
portal_id | STRING | Your HubSpot account (portal) id as entered in the connector; lets several HubSpot accounts share one table. |
subject | STRING | Ticket subject. |
content | STRING | Ticket description. |
hs_pipeline | STRING | Ticket pipeline id; joins hubspot_ticket_pipelines.id. |
hs_pipeline_stage | STRING | Current ticket status (stage) id; joins hubspot_ticket_pipeline_stages.id. |
hs_ticket_priority | STRING | Priority: LOW, MEDIUM, HIGH, URGENT. |
hs_ticket_category | STRING | Category: PRODUCT_ISSUE, BILLING_ISSUE, FEATURE_REQUEST, GENERAL_INQUIRY or custom. |
source_type | STRING | Channel the ticket came from: CHAT, EMAIL, FORM, PHONE. |
hubspot_owner_id | STRING | Agent who owns the ticket; joins hubspot_owners.id. |
createdate | TIMESTAMP | When the ticket was created. |
hs_lastmodifieddate | TIMESTAMP | When any ticket property last changed. The incremental filter for this table. |
closed_date | TIMESTAMP | When the ticket was closed. |
time_to_close | INTEGER | Milliseconds from creation to close, as HubSpot computes it. |
time_to_first_agent_reply | INTEGER | Milliseconds from creation to the first agent reply. |
hs_resolution | STRING | Resolution picked at close. |
hs_num_times_contacted | INTEGER | Number of times the customer was contacted on this ticket. |
hs_object_source | STRING | How the ticket was created. |
created_at | TIMESTAMP | HubSpot's top-level createdAt (UTC); equals the createdate property. |
updated_at | TIMESTAMP | HubSpot's top-level updatedAt (UTC): when the record last changed; equals the last-modified property. |
archived | BOOLEAN | HubSpot's archived flag. Loads read live records, so it is false on every loaded row; a record that stops arriving was archived (deleted) after its last load. |
Not testimonials. Comment threads.
Real things real customers said — each quote pinned to a specific claim, straight from the quotes database.
“AI, by the nature of the models, will hallucinate. And because of that, you need something which will create guardrails to ensure that there are no hallucinations, that you can trust your data.”
“We had six or seven different channels and no single source of truth — it was almost impossible, a lot of guesswork.”
“We regained time. And time is the one resource that never comes back.”
Turn your HubSpot data into business decisions
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.

