Skip to main content

🚀 Quickstart

Connect to Hubspot with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Hubspot.
2

Authorize Hubspot

Go to Connections -> Add Test Connection -> Authorize, then log in to Hubspot. Later, you’ll let your users do the same directly from your app.
3

Call the Hubspot API

Let’s make your first request to the Hubspot API (fetch a list of contacts). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/crm/v3/objects/contacts?properties=email,phone" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

📚 Hubspot Integration Guides

Nango maintained guides for common use cases. Official docs: Hubspot API docs

🧩 Pre-built syncs & actions for Hubspot

Enable them in your dashboard. Extend and customize to fit your needs.

Account

Function nameDescriptionTypeSource code
fetch-account-informationRetrieve portal account details, currency settings, timezone, and hosting regionAction🔗 Github

Associations

Function nameDescriptionTypeSource code
create-associationAssociate two records togetherAction🔗 Github

CRM

Function nameDescriptionTypeSource code
fetch-custom-objectsRetrieve HubSpot custom object schemas for enterprise accountsAction🔗 Github
fetch-propertiesList CRM property metadata for a specified HubSpot object typeAction🔗 Github

Companies

Function nameDescriptionTypeSource code
batch-create-companiesCreate multiple companies at onceAction🔗 Github
batch-update-companiesUpdate multiple companies at onceAction🔗 Github
create-companyCreate a company recordAction🔗 Github
delete-companyDelete a company recordAction🔗 Github
get-companyGet a company by IDAction🔗 Github
list-companiesList company recordsAction🔗 Github
search-companiesSearch companies by criteriaAction🔗 Github
update-companyUpdate a company recordAction🔗 Github
companiesSync companies from HubSpot CRMSync🔗 Github

Contacts

Function nameDescriptionTypeSource code
create-contactCreate a contact recordAction🔗 Github
delete-contactDelete a contact recordAction🔗 Github
get-contactGet a contact by IDAction🔗 Github
list-contactsList contact recordsAction🔗 Github
update-contactUpdate a contact recordAction🔗 Github
contactsSync contactsSync🔗 Github

Deals

Function nameDescriptionTypeSource code
create-dealCreate a deal record in HubSpotAction🔗 Github
delete-dealDelete a deal recordAction🔗 Github
get-dealGet a deal by IDAction🔗 Github
list-dealsList deal records from HubSpot CRMAction🔗 Github
search-dealsSearch deals by criteriaAction🔗 Github
update-dealUpdate a deal record in HubSpot CRMAction🔗 Github
dealsSync deals with amount, close date, stage, owner, description, and associated companies and contactsSync🔗 Github

Forms

Function nameDescriptionTypeSource code
list-formsList formsAction🔗 Github

Marketing

Function nameDescriptionTypeSource code
get-marketing-emailGet a marketing email by IDAction🔗 Github
list-marketing-emailsList marketing emailsAction🔗 Github

Marketing Emails

Function nameDescriptionTypeSource code
clone-marketing-emailClone an existing marketing emailAction🔗 Github
create-marketing-emailCreate a marketing email in HubSpotAction🔗 Github
delete-marketing-emailDelete a marketing emailAction🔗 Github
update-marketing-emailUpdate a marketing emailAction🔗 Github
marketing-emailsSync marketing emails from HubSpotSync🔗 Github

Notes

Function nameDescriptionTypeSource code
create-noteCreate a HubSpot note with body, timestamp, owner, optional attachments, and an explicit association to a contact, company, deal, or ticket.Action🔗 Github

Owners

Function nameDescriptionTypeSource code
get-ownerGet an owner by IDAction🔗 Github
ownersSync HubSpot owners with names, email, user IDs, and archive statusSync🔗 Github

Pipelines

Function nameDescriptionTypeSource code
fetch-pipelinesList pipelines and stages for an object type, defaulting to dealsAction🔗 Github

Products

Function nameDescriptionTypeSource code
productsSync product records with pricing, SKU, quantity, and billing detailsSync🔗 Github

Properties

Function nameDescriptionTypeSource code
create-propertyCreate a custom CRM property for a specified HubSpot object typeAction🔗 Github

Tasks

Function nameDescriptionTypeSource code
create-taskCreate a HubSpot task with type, title, priority, assignee, due date, notes, and optional associations to contacts, companies, or dealsAction🔗 Github
delete-taskDelete a HubSpot task by record IDAction🔗 Github
update-taskUpdate a HubSpot task’s fields, owner, due date, and associationsAction🔗 Github
tasksSync tasks with type, title, priority, assignee, due date, notes, and related contacts, companies, and dealsSync🔗 Github

Tickets

Function nameDescriptionTypeSource code
create-ticketCreate a support ticket in HubSpot CRMAction🔗 Github
delete-ticketDelete a support ticketAction🔗 Github
get-ticketGet a ticket by IDAction🔗 Github
list-ticketsList support ticketsAction🔗 Github
search-ticketsSearch tickets by criteriaAction🔗 Github
update-ticketUpdate a support ticketAction🔗 Github
service-ticketsSync service tickets with subject, content, owner, pipeline, stage, category, and prioritySync🔗 Github

Users

Function nameDescriptionTypeSource code
change-user-roleUpdate a HubSpot user’s role and team assignmentsAction🔗 Github
create-userProvision a HubSpot user with email, role, and team assignmentsAction🔗 Github
delete-userDelete a HubSpot provisioned user by IDAction🔗 Github
fetch-rolesList available user roles for a HubSpot enterprise accountAction🔗 Github
whoamiRetrieve the current authenticated HubSpot user’s ID and emailAction🔗 Github
usersSync provisioned users with role IDs, primary team, and admin statusSync🔗 Github

Workflows

Function nameDescriptionTypeSource code
delete-a-workflowDelete an automation workflowAction🔗 Github