HubSpot

Create, update, search, and delete contacts, companies, deals, and tickets in HubSpot CRM.

Overview

Automate HubSpot CRM from your workflows. The HubSpot node works across the four core CRM objects — Contacts, Companies, Deals, and Tickets — using a private-app access token and the HubSpot CRM v3 API.

Operations

  • Create — create a record from a JSON object of properties.
  • Update — patch an existing record by ID.
  • Get — fetch a record by ID, optionally selecting which properties to return.
  • Search — full-text query and/or a property filter (EQ, GT, CONTAINS, …) with a result limit.
  • Delete — archive a record by ID.
  • Upsert (Contact only) — find a contact by email and update it, or create it if none exists.
  • Associate — link a record to another object (e.g. a contact to a company, or a deal to a contact) using HubSpot's default association.

Properties

For Create, Update, and Upsert, supply a JSON object of HubSpot internal property names to values. Values support {{variables}} from upstream nodes:

{
  "email": "{{$json.email}}",
  "firstname": "Jane",
  "lastname": "Doe",
  "company": "Acme"
}

Output ($json)

  • {{$json.id}} — the record ID
  • {{$json.properties.email}} — a returned property
  • {{$json.results}} — the array of matches (Search)
  • {{$json.upsertAction}}created or updated (Upsert)

Common Use Cases

  • Sync inbound leads into HubSpot contacts (Upsert by email).
  • Create a deal when a form is submitted or a call completes.
  • Look up a contact or company to enrich a downstream message.
  • Open a support ticket from an email or Slack trigger.