Skip to Content

HubSpot

HubSpot connections give you access to your company’s marketing and sales data.

Source Setup

Etleap uses OAuth to authenticate with HubSpot. The connection setup page in Etleap will forward you to your HubSpot account to authorize API access.

You need to have Super Admin privileges in your HubSpot account to set up a connection with Etleap. Complete the following steps to make a user a Super Admin:

  1. Log in to your HubSpot account and go to the Settings page by clicking the settings button at the top right.
  2. Select Users & Teams in the Settings pane on left.
  3. Find the user you want to edit.
  4. Click the Actions drop-down next to their name and click Edit.
  5. On the new page, click the Actions drop-down and select Make super admin.
Note

Prefer using an API? Go here  and select HubSpot under the Body header to start creating a connection via API.

Authorization Scopes

When you authorize the connection, Etleap requests a set of required scopes and a set of optional scopes.

  • Required scopes must all be granted to create the connection.
  • Optional scopes can be granted only if your HubSpot subscription includes the product or feature behind them. If an optional scope is not granted, you can still create the connection, but won’t be able to extract data that requires them. You need to have access to these permissions to grant them to Etleap. See Entity availability.

Required scopes

PermissionScopeUsed For
Grants access to content APIs, including website pages, landing pages, marketing email, and blog APIs.contentPages, Marketing Emails & Email Events; Landing Pages Analytics
View properties and other details about companies.crm.objects.companies.readCompanies
View properties and other details about contacts.crm.objects.contacts.readContacts
View properties and other details about line items.crm.objects.line_items.readLine Items; Discounts, Fees & Taxes
View details about line items properties.crm.schemas.line_items.readLine Items; Discounts, Fees & Taxes
View properties and other details about deals.crm.objects.deals.readDeals
View details about users assigned to a CRM record.crm.objects.owners.readOwners
View details about property settings for companies.crm.schemas.companies.readCompanies
View details about property settings for contacts.crm.schemas.contacts.readContacts
View details about property settings for deals.crm.schemas.deals.readDeals
Grants access to the legacy and v3 forms APIs.formsForms
Grants access to read and manage one-to-one email engagements.sales-email-readEngagement Emails

Optional scopes

PermissionScopeUsed For
This includes access to account activity logs and other account security informationaccount-info.security.readAudit Log, Login Activity, Security Activity
Permission to fetch sequences and see whether a contact is enrolled in a sequenceautomation.sequences.readSequences
Create, read, update, or delete behavioral events. This includes properties of behavioral events.behavioral_events.event_definitions.read_writeCustom Event Definitions
This includes endpoints that sit on top of sources and email.business-intelligenceAnalytics Reports; Custom Events, Events
View details about actors, messages, and threads in help desk and the conversations inbox.conversations.readConversations Inbox
View details about contact lists.crm.lists.readLists
View properties and other details about carts.crm.objects.carts.readCarts
View details about commerce paymentscrm.objects.commercepayments.readPayments
View details about custom objects.crm.objects.custom.readCustom objects
View details about custom object definitions in the HubSpot CRM.crm.schemas.custom.readCustom objects
View details about submissions to any of your feedback surveys.crm.objects.feedback_submissions.readFeedback Submissions
View all goals.crm.objects.goals.readGoals
View details about invoices.crm.objects.invoices.readInvoices
View properties and other details about leads.crm.objects.leads.readLeads
View properties and other details about listings.crm.objects.listings.readListings
View details about marketing events.crm.objects.marketing_events.readMarketing Events
Create, delete, or make changes to marketing events.crm.objects.marketing_events.writeMarketing Event Lists
View properties and other details about orders.crm.objects.orders.readOrders
View properties and other details about products.crm.objects.products.readProducts
View properties and other details about projects.crm.objects.projects.readProjects
View properties and other details about quotes and quote templates.crm.objects.quotes.readQuotes
View properties and other details about services.crm.objects.services.readServices
View properties and other details about commerce subscriptions.crm.objects.subscriptions.readSubscriptions
View details about order pipelines.crm.pipelines.orders.readOrders Pipelines, Orders Pipeline Stages
View details about property settings for carts.crm.schemas.carts.readCarts
View details about property settings for commerce paymentscrm.schemas.commercepayments.readPayments
View details about property settings for invoices.crm.schemas.invoices.readInvoices
View details about property settings for listings.crm.schemas.listings.readListings
View details about property settings for orders.crm.schemas.orders.readOrders
View details about property settings for projects.crm.schemas.projects.readProjects
View details about quotes and quotes templates.crm.schemas.quotes.readQuotes
View details about property settings for services.crm.schemas.services.readServices
View details about property settings for commerce subscriptions.crm.schemas.subscriptions.readSubscriptions
A legacy scope to access, manage, and upload files in the HubSpot file manager.filesNot used by any current entity
View details about marketing campaigns and their associated assets.marketing.campaigns.readMarketing Campaigns
View details about account users and their permissions.settings.users.readUsers & Roles; Sequences
See details about the teams in an account.settings.users.teams.readTeams
A legacy scope that provides both retrieve and manage ticket data.ticketsTickets
A legacy scope that grants access to manage legacy timeline events on HubSpot CRM records.timelineNot used by any current entity
Note

No entity currently needs the files and timeline scopes. Etleap still requests them because HubSpot doesn’t allow removing them.

Read-write scopes

HubSpot offer read-write only scopes for some of its endpoints. Etleap needs these scopes to extract data. Etleap only reads data from HubSpot. It never creates, updates, or deletes anything in your account.

ScopeUsed for
contentRequired to read Pages, Marketing Emails, Email Events, and Landing Pages Analytics
formsRequired to read Forms and Form Submissions
sales-email-readRequired to read Engagement Emails
ticketsRequired to read Tickets
behavioral_events.event_definitions.read_writeRequired to read Custom Event Definitions
crm.objects.marketing_events.writeRequired to read Marketing Event Lists
filesNot used by any current entity (see the note above)
timelineNot used by any current entity (see the note above)

What Data is Available?

Warning

Update-Mode Deletes Support

Deletes are not supported for update-mode entities with this connector.

The data available depends on your HubSpot account. HubSpot supports both standard and custom fields , and Etleap identifies these through HubSpot’s API as long as the user you sign in with has access to them.

Custom objects

In addition to the entities listed below, Etleap automatically discovers any custom objects  defined in your account and exposes each one, along with its properties, property options, and property history, as its own entity.

Scopes: crm.objects.custom.read (optional), crm.schemas.custom.read (optional)

Entity availability

Which entities you can build pipelines for depends on the scopes granted to the connection. Each section below lists the scopes its entities need. Optional scopes belong to specific HubSpot products or features (for example Sales Hub, Marketing Hub, Service Hub, CMS Hub, or Commerce), and HubSpot grants them only if your account includes that product.

Note

Pipeline modes below are one of Update, Replace, or Append. See the pipeline modes overview for details.

Contacts

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.contacts.read, crm.schemas.contacts.read. Associations to companies also need crm.objects.companies.read.

EntityPipeline Mode
Associations: Contacts to CompaniesReplace
Associations: Contacts to ContactsReplace
ContactsUpdate
Contacts PropertiesReplace
Contacts Property HistoryUpdate
Contacts Property OptionsReplace

Companies

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.companies.read, crm.schemas.companies.read

EntityPipeline Mode
Associations: Companies to CompaniesReplace
CompaniesUpdate
Companies PropertiesReplace
Companies Property HistoryUpdate
Companies Property OptionsReplace

Deals

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.deals.read, crm.schemas.deals.read

EntityPipeline Mode
Associations: Deals to CompaniesReplace
Associations: Deals to ContactsReplace
Associations: Deals to DealsReplace
Deal SplitsUpdate
Deal Splits PropertiesReplace
Deal Splits Property HistoryUpdate
Deal Splits Property OptionsReplace
Deal StagesReplace
DealsUpdate
Deals Pipeline StagesReplace
Deals PipelinesReplace
Deals PropertiesReplace
Deals Property HistoryUpdate
Deals Property OptionsReplace
Merged DealsReplace

Line Items

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.line_items.read, crm.schemas.line_items.read

EntityPipeline Mode
Associations: Line Items to DealsReplace
Line ItemsUpdate
Line Items PropertiesReplace
Line Items Property HistoryUpdate
Line Items Property OptionsReplace

Owners

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.owners.read

EntityPipeline Mode
Owner TeamsReplace
OwnersReplace

Engagements

See HubSpot’s API documentation for these entities .

Scopes: Engagements other than emails need read access to at least one CRM object type that engagements can be associated with, such as crm.objects.contacts.read, crm.objects.companies.read, or crm.objects.deals.read. Engagement Emails need sales-email-read.

EntityPipeline Mode
Associations: Engagement Calls to CompaniesReplace
Associations: Engagement Emails to CompaniesReplace
Associations: Engagement Meetings to CompaniesReplace
Associations: Engagements to CompaniesReplace
Associations: Engagements to ContactsReplace
Associations: Engagements to DealsReplace
Associations: Engagements to GoalsReplace
Associations: Engagements to LeadsReplace
Engagement CallsUpdate
Engagement Calls PropertiesReplace
Engagement Calls Property OptionsReplace
Engagement CommunicationsUpdate
Engagement Communications PropertiesReplace
Engagement Communications Property OptionsReplace
Engagement EmailsUpdate
Engagement Emails PropertiesReplace
Engagement Emails Property OptionsReplace
Engagement MeetingsUpdate
Engagement Meetings PropertiesReplace
Engagement Meetings Property OptionsReplace
Engagement NotesUpdate
Engagement Notes PropertiesReplace
Engagement Notes Property OptionsReplace
Engagement Postal MailUpdate
Engagement Postal Mail PropertiesReplace
Engagement Postal Mail Property OptionsReplace
Engagement TasksUpdate
Engagement Tasks PropertiesReplace
Engagement Tasks Property OptionsReplace
EngagementsUpdate
Engagements PropertiesReplace
Engagements Property HistoryUpdate
Engagements Property OptionsReplace

Pages, Marketing Emails & Email Events

See HubSpot’s API documentation for these entities .

Scopes: content

EntityPipeline Mode
Email CampaignsReplace
Email EventsUpdate
Email Events: BounceUpdate
Email Events: ClickUpdate
Email Events: DeferredUpdate
Email Events: DeliveredUpdate
Email Events: DroppedUpdate
Email Events: ForwardUpdate
Email Events: OpenUpdate
Email Events: PrintUpdate
Email Events: SentUpdate
Email Events: Spam ReportUpdate
Email Events: Status ChangeUpdate
Email Events: SuppressedUpdate
Email Subscription ChangesReplace
Email SubscriptionsReplace
Marketing Email CampaignsReplace
Marketing Email Contact ListsReplace
Marketing Email ContactsReplace
Marketing EmailsReplace
PagesReplace

Forms

See HubSpot’s API documentation for these entities .

Scopes: forms

EntityPipeline Mode
Form Submission ResponsesReplace
Form SubmissionsReplace
FormsReplace

Properties & Association Types

See HubSpot’s API documentation for these entities .

Scopes: The properties scope (crm.schemas.*.read) of each object type. Object types whose scope is not granted are not included.

EntityPipeline Mode
Association TypesReplace
PropertiesReplace
Property OptionsReplace

Analytics Reports

See HubSpot’s API documentation for these entities .

Scopes: business-intelligence (optional). Landing Pages Analytics also needs content.

EntityPipeline Mode
Geolocation Analytics (Daily)Update
Geolocation Analytics (Monthly)Update
Geolocation Analytics (Overall)Replace
Geolocation Analytics (Weekly)Update
Landing Pages AnalyticsReplace
Sessions Analytics (Daily)Update
Sessions Analytics (Monthly)Update
Sessions Analytics (Overall)Replace
Sessions Analytics (Weekly)Update
Sources Analytics (Daily)Update
Sources Analytics (Monthly)Update
Sources Analytics (Overall)Replace
Sources Analytics (Weekly)Update
Totals Analytics (Daily)Update
Totals Analytics (Monthly)Update
Totals Analytics (Weekly)Update
UTM Analytics (Daily)Update
UTM Analytics (Monthly)Update
UTM Analytics (Overall)Replace
UTM Analytics (Weekly)Update

Account & Activity

See HubSpot’s API documentation for these entities .

Scopes: Account Details needs no additional scope. Audit Log, Login Activity, and Security Activity need account-info.security.read (optional).

EntityPipeline Mode
Account DetailsReplace
Audit LogAppend
Login ActivityAppend
Security ActivityAppend

Marketing Campaigns

See HubSpot’s API documentation for these entities .

Scopes: marketing.campaigns.read (optional)

EntityPipeline Mode
Marketing Campaign AssetsReplace
Marketing Campaign Budget ItemsReplace
Marketing Campaign Spend ItemsReplace
Marketing CampaignsReplace

Commerce — Carts

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.carts.read, crm.schemas.carts.read (optional)

EntityPipeline Mode
Associations: Carts to ContactsReplace
Associations: Carts to DiscountsReplace
Associations: Carts to Engagement TasksReplace
Associations: Carts to Line ItemsReplace
Associations: Carts to OrdersReplace
Associations: Carts to QuotesReplace
Associations: Carts to TicketsReplace
CartsUpdate
Carts PropertiesReplace
Carts Property HistoryUpdate
Carts Property OptionsReplace

Conversations Inbox

See HubSpot’s API documentation for these entities .

Scopes: conversations.read (optional)

EntityPipeline Mode
Conversation ActorsReplace
Conversation Channel AccountsReplace
Conversation ChannelsReplace
Conversation InboxesReplace
Conversation Message HistoryUpdate
Conversation Message RecipientsUpdate
Conversation Message SendersUpdate
Conversation ThreadsUpdate

Custom Behavioral Events

See HubSpot’s API documentation for these entities .

Scopes: The Custom Event Definition entities need behavioral_events.event_definitions.read_write (optional). Custom Events and Events need business-intelligence (optional).

EntityPipeline Mode
Custom Event Definition AssociationsReplace
Custom Event Definition PropertiesReplace
Custom Event Definition Property OptionsReplace
Custom Event DefinitionsReplace
Custom EventsUpdate
EventsUpdate

Feedback Submissions

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.feedback_submissions.read (optional)

EntityPipeline Mode
Associations: Feedback Submissions to ContactsReplace
Associations: Feedback Submissions to TicketsReplace
Feedback SubmissionsUpdate
Feedback Submissions PropertiesReplace
Feedback Submissions Property HistoryUpdate
Feedback Submissions Property OptionsReplace

Goals

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.goals.read (optional)

EntityPipeline Mode
Associations: Goals to CompaniesReplace
Associations: Goals to ContactsReplace
Associations: Goals to DealsReplace
Associations: Goals to TicketsReplace
GoalsUpdate
Goals PropertiesReplace
Goals Property HistoryUpdate
Goals Property OptionsReplace

Commerce — Invoices

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.invoices.read, crm.schemas.invoices.read (optional)

EntityPipeline Mode
Associations: Invoices to CompaniesReplace
Associations: Invoices to ContactsReplace
Associations: Invoices to DealsReplace
Associations: Invoices to Line ItemsReplace
Associations: Invoices to TicketsReplace
InvoicesUpdate
Invoices PropertiesReplace
Invoices Property HistoryUpdate
Invoices Property OptionsReplace

Leads

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.leads.read (optional)

EntityPipeline Mode
Associations: Leads to CompaniesReplace
Associations: Leads to ContactsReplace
Associations: Leads to DealsReplace
LeadsUpdate
Leads Pipeline StagesReplace
Leads PipelinesReplace
Leads PropertiesReplace
Leads Property HistoryUpdate
Leads Property OptionsReplace

Lists

See HubSpot’s API documentation for these entities .

Scopes: crm.lists.read (optional)

EntityPipeline Mode
List MembersReplace
ListsReplace

Listings

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.listings.read, crm.schemas.listings.read (optional)

EntityPipeline Mode
Associations: Listings to CompaniesReplace
Associations: Listings to ContactsReplace
Associations: Listings to DealsReplace
Associations: Listings to EngagementsReplace
Associations: Listings to TicketsReplace
ListingsUpdate
Listings Pipeline StagesReplace
Listings PipelinesReplace
Listings PropertiesReplace
Listings Property HistoryUpdate
Listings Property OptionsReplace

Marketing Events

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.marketing_events.read (optional). Marketing Event Lists also needs crm.objects.marketing_events.write (optional).

EntityPipeline Mode
Marketing Event Custom PropertiesReplace
Marketing Event ListsReplace
Marketing Event ParticipantsReplace
Marketing EventsReplace

Commerce — Orders

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.orders.read, crm.schemas.orders.read, crm.pipelines.orders.read (optional)

EntityPipeline Mode
Associations: Orders to CompaniesReplace
Associations: Orders to ContactsReplace
Associations: Orders to DealsReplace
Associations: Orders to EngagementsReplace
Associations: Orders to Feedback SubmissionsReplace
Associations: Orders to InvoicesReplace
Associations: Orders to Line ItemsReplace
Associations: Orders to PaymentsReplace
Associations: Orders to QuotesReplace
Associations: Orders to TicketsReplace
OrdersUpdate
Orders Pipeline StagesReplace
Orders PipelinesReplace
Orders PropertiesReplace
Orders Property HistoryUpdate
Orders Property OptionsReplace

Commerce — Payments

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.commercepayments.read, crm.schemas.commercepayments.read (optional)

EntityPipeline Mode
Associations: Payments to CompaniesReplace
Associations: Payments to ContactsReplace
Associations: Payments to DealsReplace
Associations: Payments to InvoicesReplace
Associations: Payments to Line ItemsReplace
Associations: Payments to QuotesReplace
PaymentsUpdate
Payments PropertiesReplace
Payments Property HistoryUpdate
Payments Property OptionsReplace

Projects

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.projects.read, crm.schemas.projects.read (optional)

EntityPipeline Mode
Associations: Projects to CompaniesReplace
Associations: Projects to ContactsReplace
Associations: Projects to DealsReplace
Associations: Projects to EngagementsReplace
Associations: Projects to ListingsReplace
Associations: Projects to ServicesReplace
Associations: Projects to TicketsReplace
ProjectsUpdate
Projects Pipeline StagesReplace
Projects PipelinesReplace
Projects PropertiesReplace
Projects Property HistoryUpdate
Projects Property OptionsReplace

Commerce — Quotes

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.quotes.read, crm.schemas.quotes.read (optional)

EntityPipeline Mode
Associations: Quotes to CompaniesReplace
Associations: Quotes to ContactsReplace
Associations: Quotes to DealsReplace
Associations: Quotes to Line ItemsReplace
QuotesUpdate
Quotes PropertiesReplace
Quotes Property HistoryUpdate
Quotes Property OptionsReplace

Sequences

See HubSpot’s API documentation for these entities .

Scopes: automation.sequences.read, settings.users.read (optional)

EntityPipeline Mode
SequencesReplace

Services

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.services.read, crm.schemas.services.read (optional)

EntityPipeline Mode
Associations: Services to CompaniesReplace
Associations: Services to ContactsReplace
Associations: Services to DealsReplace
Associations: Services to EngagementsReplace
Associations: Services to TicketsReplace
ServicesUpdate
Services Pipeline StagesReplace
Services PipelinesReplace
Services PropertiesReplace
Services Property HistoryUpdate
Services Property OptionsReplace

Commerce — Subscriptions

See HubSpot’s API documentation for these entities .

Scopes: crm.objects.subscriptions.read, crm.schemas.subscriptions.read (optional)

EntityPipeline Mode
Associations: Subscriptions to CompaniesReplace
Associations: Subscriptions to ContactsReplace
Associations: Subscriptions to DealsReplace
Associations: Subscriptions to Feedback SubmissionsReplace
Associations: Subscriptions to InvoicesReplace
Associations: Subscriptions to Line ItemsReplace
Associations: Subscriptions to OrdersReplace
Associations: Subscriptions to PaymentsReplace
Associations: Subscriptions to QuotesReplace
Associations: Subscriptions to TicketsReplace
SubscriptionsUpdate
Subscriptions PropertiesReplace
Subscriptions Property HistoryUpdate
Subscriptions Property OptionsReplace

Teams

See HubSpot’s API documentation for these entities .

Scopes: settings.users.teams.read (optional)

EntityPipeline Mode
Team MembersReplace
TeamsReplace

Tickets

See HubSpot’s API documentation for these entities .

Scopes: tickets (optional)

EntityPipeline Mode
Associations: Tickets to CompaniesReplace
Associations: Tickets to ContactsReplace
Associations: Tickets to DealsReplace
Associations: Tickets to EngagementsReplace
Associations: Tickets to TicketsReplace
TicketsUpdate
Tickets Pipeline StagesReplace
Tickets PipelinesReplace
Tickets PropertiesReplace
Tickets Property HistoryUpdate
Tickets Property OptionsReplace

Users & Roles

See HubSpot’s API documentation for these entities .

Scopes: settings.users.read (optional)

EntityPipeline Mode
RolesReplace
UsersReplace

Commerce — Products, Discounts, Fees & Taxes

See HubSpot’s API documentation for these entities .

Scopes: Discounts, Fees, and Taxes need crm.objects.line_items.read, crm.schemas.line_items.read. Products needs crm.objects.products.read (optional).

EntityPipeline Mode
Associations: Discounts to DealsReplace
Associations: Discounts to InvoicesReplace
Associations: Discounts to Line ItemsReplace
Associations: Discounts to OrdersReplace
Associations: Discounts to PaymentsReplace
Associations: Discounts to QuotesReplace
Associations: Fees to InvoicesReplace
Associations: Fees to PaymentsReplace
Associations: Fees to QuotesReplace
Associations: Taxes to InvoicesReplace
Associations: Taxes to PaymentsReplace
Associations: Taxes to QuotesReplace
DiscountsUpdate
Discounts PropertiesReplace
Discounts Property HistoryUpdate
Discounts Property OptionsReplace
FeesUpdate
Fees PropertiesReplace
Fees Property HistoryUpdate
Fees Property OptionsReplace
ProductsUpdate
Products PropertiesReplace
Products Property HistoryUpdate
Products Property OptionsReplace
TaxesUpdate
Taxes PropertiesReplace
Taxes Property HistoryUpdate
Taxes Property OptionsReplace

Key Considerations

Etleap has identified, and confirmed with HubSpot support, that the Contacts entity’s company_size field data type received from the API is incorrect. The data type should be string, since the field can contain non-number records. To avoid schema change issues, Etleap will interpret the company_size field as STRING by default automatically. If you’d like to change the data type to NUMBER, please edit the column’s type using Etleap’s interactive Data Wrangler. Please visit our Wrangling Data with Etleap page  for more information.