Skip to main content

HubSpot

Create, update, look up and search contacts, companies and deals in HubSpot CRM.

Slughubspot
Base URLhttps://api.hubapi.com
Auth optionsSign in with HubSpot, Service key or private app token
Test connectionGET /crm/objects/2026-09/contacts?limit=1

1. Choose how to connect​

  • Sign in with HubSpot is one click: you approve on HubSpot's consent page and you're done. It's only shown when Blokkio offers one-click sign-in for this app; otherwise use the token option below.
  • Service key or private app token: in HubSpot open Settings → Integrations → Service Keys and create a key with the scopes crm.objects.contacts.read/write, crm.objects.companies.read/write and crm.objects.deals.read/write. Copy the key. A token of an existing legacy private app (pat-…) works too; HubSpot no longer lets you create new private apps.

2. Create the connection​

  1. In Blokkio, go to Apps and open HubSpot.
  2. Click Connect on the option you want. For a token, paste it into Access token (or click Use secret) and click Create.
  3. Click Test connection. It reads one contact (GET /crm/objects/2026-09/contacts?limit=1).

Properties​

HubSpot fields are properties with internal names: email, firstname, lastname, phone, company, lifecyclestage for contacts; name, domain for companies; dealname, amount, pipeline, dealstage, closedate for deals. Find the names (including your custom properties) under Settings → Data management → Properties. Properties is a JSON object:

{ "email": "ada@example.com", "firstname": "Ada", "lifecyclestage": "lead" }

For deals, pipeline and dealstage take internal ids (default, appointmentscheduled…), shown in the pipeline settings.

Finding records​

  • Get contact / Update contact with Look up by = Email take an email address instead of the record id.
  • Search takes free Text, Filters or both. Filters are groups of conditions: [{ "filters": [{ "propertyName": "email", "operator": "EQ", "value": "ada@example.com" }] }]. Conditions in a group must all match; any group can match. Results come 100 at a time (up to 200); pass paging.next.after of the result as Page after for the next page.

Actions​

Use them with the App Action node. Lists return { items, count }; actions that read every page return { items, pages } (turn off Fetch all pages or lower Max pages in the node to read less).

ActionKeyWhat it doesInputs (required)
Create contactcreate_contactProperties, Associations
Update contactupdate_contactOnly the properties you send change.Contact ID, Look up by, Properties
Get contactget_contactContact ID, Look up by, Properties to return
Search contactssearch_contactsContact records by text or property filters.Text, Filters, Properties to return, Sort, How many, Page after
Create companycreate_companyProperties, Associations
Update companyupdate_companyOnly the properties you send change.Company ID, Properties
Get companyget_companyCompany ID, Properties to return
Search companiessearch_companiesCompany records by text or property filters.Text, Filters, Properties to return, Sort, How many, Page after
Create dealcreate_dealProperties, Associations
Update dealupdate_dealOnly the properties you send change.Deal ID, Properties
Get dealget_dealDeal ID, Properties to return
Search dealssearch_dealsDeal records by text or property filters.Text, Filters, Properties to return, Sort, How many, Page after

Triggers​

Use them with the App Trigger node. A trigger checks the app at its polling interval (the shortest allowed depends on your plan, see Plans and limits) and starts one run per new item, oldest first. The first check after you publish only records what already exists, so only items created after that start runs. Each run gets the item as $trigger (for example {{ $trigger.id }}).

TriggerKeyWhat starts a runInputs (required)Output
New contactnew_contactContacts by create date, newest first.—id, createdAt, properties.email, properties.firstname, properties.lastname, …

Troubleshooting​

MessageWhat to do
HTTP 401The key/token is wrong or was rotated.
HTTP 403 … MISSING_SCOPESAdd the read/write scope for that object to the key.
HTTP 409 … Contact already existsUse Update contact with Look up by Email, or search first.
HTTP 400 … Property values were not validA property name or option value is wrong; use internal names and option values.