Skip to content
HubSpot

How to use HubSpot

Sales & CRMCost: 1 credit per runTop 100 · #19Full guide

What it is for

The HubSpot component automates your CRM from flooows: create and update contacts, companies, deals, tickets and custom objects, manage lists and workflows, and publish content. It is ideal for capturing form leads, syncing data with other tools or alerting when a deal stage changes.

HubSpot triggers use periodic checks: flooows looks at your account every few minutes and starts the flow for each new contact, company, deal or property change.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account) · Custom credentials

  1. 1Add a HubSpot step and click "Connect".
  2. 2With OAuth, sign in to HubSpot, pick the account and accept the permissions.
  3. 3For a private app, go to Development > Legacy Apps in HubSpot, create or open the app and tick the Scopes your actions need (contacts, companies, deals, lists, tickets and so on).
  4. 4From your private app's Auth section, copy its access token and enter it in the "Private App Access Token" field.
  5. 5Save the connection.
Connection fieldTypeRequired
Private App Access TokenSecret keyYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • "Create or Update Contact" uses "Contact Email" as the key and fills "Object Properties" with data from the previous step.
  • In "Create Deal" pick "Deal Pipeline" and "Deal Stage" from the dropdowns to avoid wrong IDs.
  • "Create Associations" links records: set "From Object Type", "To Object Type" and the "Association Type".
  • "Additional Properties to Retrieve" adds extra properties to the output for later steps.

Tips

  • •In property-change triggers, choose only the properties you care about to avoid unneeded runs.
  • •Prefer "Create or Update Contact" over "Create Contact" to prevent duplicates.
  • •With a private app, grant only the scopes you use.

Triggers (24)

Events that can start a flow. Expand each one to see its fields.

New or Updated CompanyPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New or Updated ContactPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New Deal Property ChangePeriodic check1 fields
FieldTypeRequired
PropertyList (from your account)Yes
New Email Subscription ChangePeriodic check0 fields

No fields to configure.

New or Updated Line ItemPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New CompanyPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New Company Property ChangePeriodic check1 fields
FieldTypeRequired
PropertyList (from your account)Yes
New ContactPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New Contact in ListPeriodic check2 fields
FieldTypeRequired
Contact ListList (from your account)Yes
Additional Properties to RetrieveMulti-selectNo
New Contact Property ChangePeriodic check1 fields
FieldTypeRequired
PropertyList (from your account)Yes
New Blog PostPeriodic check1 fields
FieldTypeRequired
Post StatusFixed listYes
New Custom ObjectPeriodic check2 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
Additional Properties to RetrieveDynamic fieldsNo
New Custom Object Property ChangePeriodic check2 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
PropertyDynamic fieldsYes
New DealPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New Email EventPeriodic check1 fields
FieldTypeRequired
Event TypeFixed listNo
New EngagementPeriodic check1 fields
FieldTypeRequired
Engagement TypeFixed listNo
New Form SubmissionPeriodic check2 fields
FieldTypeRequired
FormList (from your account)Yes
Allow Multiple FilesYes / NoYes
New Line ItemPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New ProductPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New TicketPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New Ticket Property ChangePeriodic check1 fields
FieldTypeRequired
PropertyList (from your account)Yes
New or Updated ProductPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
New TaskPeriodic check1 fields
FieldTypeRequired
Additional Properties to RetrieveMulti-selectNo
Updated Deal StagePeriodic check3 fields
FieldTypeRequired
Deal PipelineList (from your account)Yes
Deal StageList (from your account)Yes
Additional Properties to RetrieveMulti-selectNo

Actions (45)

Operations available as flow steps. Expand each one to see its fields.

Add Contact to List2 fields
FieldTypeRequired
Contact ListList (from your account)Yes
Contact EmailTextYes
Add Contact to Workflow2 fields
FieldTypeRequired
WorkflowList (from your account)Yes
Contact EmailTextYes
Create Associations5 fields
FieldTypeRequired
From Object IDTextYes
From Object TypeList (from your account)Yes
To Object TypeList (from your account)Yes
Association TypeList (from your account)Yes
To RecordsMulti-selectYes
Create Company2 fields
FieldTypeRequired
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Create Contact2 fields
FieldTypeRequired
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Create Blog Post8 fields
FieldTypeRequired
Blog URLList (from your account)Yes
Blog AuthorList (from your account)Yes
StatusFixed listYes
SlugTextYes
TitleTextYes
ContentLong textYes
Meta DescriptionLong textYes
Featured Image URLTextYes
Create Custom Object3 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveDynamic fieldsNo
Create Deal5 fields
FieldTypeRequired
Deal NameTextYes
Deal PipelineList (from your account)Yes
Deal StageList (from your account)Yes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Create Line Item3 fields
FieldTypeRequired
ProductList (from your account)Yes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Create Page10 fields
FieldTypeRequired
Page TypeFixed listYes
Page TitleTextYes
Internal Page NameTextYes
Template PathTextYes
SlugTextYes
LanguageTextNo
Meta DescriptionLong textNo
StatusFixed listNo
Additional Head HTMLLong textNo
Additional Footer HTMLLong textNo
Create or Update Contact2 fields
FieldTypeRequired
Contact EmailTextYes
Object PropertiesDynamic fieldsNo
Create Product2 fields
FieldTypeRequired
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Create Ticket5 fields
FieldTypeRequired
Ticket NameTextYes
Ticket PipelineList (from your account)Yes
Ticket StageList (from your account)Yes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Get Company2 fields
FieldTypeRequired
Company IDTextYes
Additional Properties to RetrieveMulti-selectNo
Get Contact2 fields
FieldTypeRequired
Contact IDTextYes
Additional Properties to RetrieveMulti-selectNo
Get Custom Object3 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
Custom Object IDTextYes
Additional Properties to RetrieveDynamic fieldsNo
Get Deal2 fields
FieldTypeRequired
Deal IDTextYes
Additional Properties to RetrieveMulti-selectNo
Get Line Item2 fields
FieldTypeRequired
Line Item IDTextYes
Additional Properties to RetrieveMulti-selectNo
Get Product2 fields
FieldTypeRequired
Product IDTextYes
Additional Properties to RetrieveMulti-selectNo
Get Page2 fields
FieldTypeRequired
Page TypeFixed listYes
Page IDTextYes
Get Ticket2 fields
FieldTypeRequired
Ticket IDTextYes
Additional Properties to RetrieveMulti-selectNo
Delete Page2 fields
FieldTypeRequired
Page TypeFixed listYes
Page IDTextYes
Remove Associations5 fields
FieldTypeRequired
From Object IDTextYes
From Object TypeList (from your account)Yes
To Object TypeList (from your account)Yes
Association TypeList (from your account)Yes
To RecordsMulti-selectYes
Remove Contact from List2 fields
FieldTypeRequired
Contact ListList (from your account)Yes
Contact EmailTextYes
Remove Email Subscription1 fields
FieldTypeRequired
Contact EmailTextYes
Update Company3 fields
FieldTypeRequired
Company IDTextYes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Update Contact3 fields
FieldTypeRequired
Contact IDTextYes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Update Custom Object4 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
Custom Object IDTextYes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveDynamic fieldsNo
Update Deal6 fields
FieldTypeRequired
Deal IDTextYes
Deal NameTextNo
Deal PipelineList (from your account)No
Deal StageList (from your account)No
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Update Line Item4 fields
FieldTypeRequired
Line Item IDTextYes
ProductList (from your account)No
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Update Product3 fields
FieldTypeRequired
Product IDTextYes
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Update Ticket6 fields
FieldTypeRequired
Ticket IDTextYes
Ticket NameTextNo
Ticket PipelineList (from your account)No
Ticket StageList (from your account)No
Object PropertiesDynamic fieldsNo
Additional Properties to RetrieveMulti-selectNo
Upload File4 fields
FieldTypeRequired
FolderList (from your account)Yes
File NameTextYes
Access LevelFixed listYes
FileFileYes
Find Associations3 fields
FieldTypeRequired
From Object IDTextYes
From Object TypeList (from your account)Yes
To Object TypeList (from your account)Yes
Find Company5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Find Contact5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Find Custom Object6 fields
FieldTypeRequired
Custom Object TypeList (from your account)Yes
Search PropertyDynamic fieldsYes
Search ValueTextYes
Second Search PropertyDynamic fieldsNo
Second Search ValueTextNo
Additional Properties to RetrieveDynamic fieldsNo
Find Deal5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Find Line Item5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Find Product5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Find Ticket5 fields
FieldTypeRequired
Search PropertyList (from your account)Yes
Search ValueTextYes
Second Search PropertyList (from your account)No
Second Search ValueTextNo
Additional Properties to RetrieveMulti-selectNo
Get Owner by Email1 fields
FieldTypeRequired
Owner EmailTextYes
Get Owner by ID1 fields
FieldTypeRequired
Owner IDTextYes
Get Pipeline Stage Details3 fields
FieldTypeRequired
Object TypeFixed listYes
Pipeline IDTextYes
Stage IDTextYes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

403 missing permissions.

Add the required scope to the private app or reconnect and accept all permissions.

Duplicate contact or existing email.

Switch to "Create or Update Contact".

429 API limit.

Add delays or split the work into batches.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps