Skip to content

HubSpot ​

Your HubSpot contacts, companies and deals — to record an email sender, attach a note and create the follow-up task.

A HubSpot connection lets the HubSpot node create or update contacts, companies and deals, add notes and follow-up tasks to them, and search the CRM; it lets the New in HubSpot trigger react to creations.

The connection holds a HubSpot private app token. It is encrypted at rest, applied by the server at call time, and never appears in a workflow.

At a glance ​

  • Identifier: hubspot
  • Family: Service
  • Set up by: A member (personal) or an administrator (shared with the organisation)
  • Authentication: API key or token
  • Credential type: service:hubspot
  • Official API documentation: https://developers.hubspot.com/docs/api-reference/latest/crm/understanding-the-crm
  • API base URL: https://api.hubapi.com
  • Rate limit applied by Loop & Roll: 100 requests per 10 seconds and per connection; up to 3 attempts on a 429 or a 5xx
  • Connection test: Yes

Step by step ​

The same steps are shown in the connection form of the app.

  1. In HubSpot (as a super admin), open “Settings” → “Integrations” → “Private apps”, then “Create a private app”.
  2. In the “Scopes” tab, tick read and write for contacts, companies and deals (crm.objects.contacts, crm.objects.companies, crm.objects.deals) and read for owners (crm.objects.owners.read).
  3. Create the app, open the “Access token” tab, click “Show token” and paste it below.

Connection fields ​

FieldKindRequiredNotes
Private app access token (token)Secret — never shown againYesIt starts with “pat-”. It acts with the scopes ticked in the private app, for the whole HubSpot account.

Before you start ​

  • Only a super admin of the HubSpot account can create a private app.
  • The token acts for the whole account, with the scopes ticked in the app: the connection can do what the scopes allow, whoever created it.

Permissions ​

Tick in the private app’s Scopes tab:

ScopeFor
crm.objects.contacts.read and .writeContacts: find, create, update; notes and tasks on a contact.
crm.objects.companies.read and .writeCompanies.
crm.objects.deals.read and .writeDeals, and the list of pipelines and stages.
crm.objects.owners.readThe Owner list.

Add the connection ​

  1. In HubSpot, open Settings → Integrations → Private apps, then Create a private app. Name it, tick the scopes above and create it.
  2. In the Access token tab, click Show token and copy it (it starts with pat-).
  3. In Loop & Roll, open Connections, find the HubSpot card under Third-party services and click Connect. Paste the token and create the connection.
  4. Click Configure then Test connection. The test calls GET /account-info/v3/details and shows the HubSpot portal ID.

Webhooks ​

HubSpot webhooks are reserved for public apps. The New in HubSpot trigger therefore works by regular checks (polling), with nothing to set up in HubSpot.

Common errors ​

Message or codeCauseWhat to do
Test: “the key is refused by the service” (integration.unauthorized)Token revoked, rotated or mis-copied.Paste the private app’s current token in Configure.
integration.unauthorized on a single actionMissing scope (for example deal write).Add the scope to the private app; the token does not change.
integration.rejectedHubSpot refused the request: unknown property, stage from another pipeline, invalid value.Fix the node settings.
integration.rate_limited429 after retries. Loop & Roll sends at most 100 requests per 10 seconds per connection (the Free and Starter plan limit).Temporary: the engine resumes the step later.

Nodes that use this connection ​

Loop & Roll — the workflow builder for email.