DEV

Hubspot

Hubspot Connection

Put Hubspot to Work with @Human Automations and @Human Agents

The Hubspot Connection documents all Triggers, Actions and Query Operations available for creating automations via the Hubspot API.

What can you do with the Hubspot Connection?

  • Connect to the Hubspot API in a few clicks

  • Use the related Hubspot Operations (see below) in @Human Automations or @Human Agents

Trigger Operations

Contact Created

Triggers on: contacts/contact.created

Triggered when a new contact is created in HubSpot CRM.

Contact Updated

Triggers on: contacts/contact.updated

Triggered when an existing contact is updated in HubSpot CRM.

Company Created

Triggers on: companies/company.created

Triggered when a new company is created in HubSpot CRM.

Company Updated

Triggers on: companies/company.updated

Triggered when an existing company is updated in HubSpot CRM.

Deal Created

Triggers on: deals/deal.created

Triggered when a new deal is created in HubSpot CRM.

Deal Updated

Triggers on: deals/deal.updated

Triggered when an existing deal is updated in HubSpot CRM.

Ticket Created

Triggers on: tickets/ticket.created

Triggered when a new support ticket is created in HubSpot CRM.

Ticket Updated

Triggers on: tickets/ticket.updated

Triggered when an existing support ticket is updated in HubSpot CRM.

Product Created

Triggers on: products/product.created

Triggered when a new product is added to the HubSpot product library.

Product Updated

Triggers on: products/product.updated

Triggered when an existing product is updated in the HubSpot product library.

Line Item Created

Triggers on: line_items/line_item.created

Triggered when a new line item is created and associated with a deal or quote.

Line Item Updated

Triggers on: line_items/line_item.updated

Triggered when an existing line item is updated in HubSpot CRM.

Quote Created

Triggers on: quotes/quote.created

Triggered when a new quote is created and sent to a customer.

Quote Updated

Triggers on: quotes/quote.updated

Triggered when an existing quote is updated in HubSpot CRM.

Call Created

Triggers on: calls/call.created

Triggered when a new call engagement is logged in HubSpot CRM.

Call Updated

Triggers on: calls/call.updated

Triggered when an existing call engagement is updated in HubSpot CRM.

Email Created

Triggers on: emails/email.created

Triggered when a new email engagement is logged in HubSpot CRM.

Email Updated

Triggers on: emails/email.updated

Triggered when an existing email engagement is updated in HubSpot CRM.

Meeting Created

Triggers on: meetings/meeting.created

Triggered when a new meeting engagement is logged in HubSpot CRM.

Meeting Updated

Triggers on: meetings/meeting.updated

Triggered when an existing meeting engagement is updated in HubSpot CRM.

Note Created

Triggers on: notes/note.created

Triggered when a new note is added to a CRM record in HubSpot.

Note Updated

Triggers on: notes/note.updated

Triggered when an existing note on a CRM record is updated in HubSpot.

Task Created

Triggers on: tasks/task.created

Triggered when a new task is created and assigned in HubSpot CRM.

Task Updated

Triggers on: tasks/task.updated

Triggered when an existing task is updated in HubSpot CRM.

Action Operations

Action: Update Contact Subscription Preferences

Action: Create Company Deprecated

Action: Create Contact

Action: Create CRM Object

Query Operations

Example link

Example link

Obtaining Access Credentials

To obtain a HubSpot Personal Access Token (PAT) for system-to-system access, follow these steps:

Prerequisites

  • A HubSpot Super Admin account (required to create PATs).

  • Access to the HubSpot UI.

Steps to Generate a HubSpot PAT

  1. Log in to your HubSpot account as a Super Admin.

  2. Navigate to: Settings (⚙) → Integrations → Private Apps (If you don’t see "Private Apps," ensure you have Super Admin permissions.)

  3. Click "Create a private app" (top-right).

  4. Configure the app:

    • Name: Enter a descriptive name (e.g., "System Integration PAT").

    • Scopes: Select the required permissions (e.g., contacts, deals, content). (Choose the minimal scopes needed for your use case.)

  5. Click "Create app" (bottom-right).

  6. After creation, go to the "Auth" tab of your private app.

  7. Under "Access tokens", click "Create token".

  8. Copy the generated token immediately (it won’t be shown again). (Store it securely—this is your only chance to see it.)

Required Values for Token Use

  • Token: <your_copied_PAT>

  • API Base URL: https://api.hubapi.com

Configuring Webhooks

  1. Log in to your HubSpot account as a Super Admin.

  2. Navigate to: Settings (⚙) → Integrations → Private Apps.

  3. Click the name of your private app.

  4. Select the Webhooks tab.

  5. Click Edit webhooks.

  6. Enter the Target URL where you wish to receive HubSpot event notifications.

  7. Click Create subscription.

  8. Select the desired Object type (e.g., Contact, Company, Deal) from the dropdown.

  9. Select the Event type (e.g., Created, Deleted, Property change).

  10. Click Subscribe.

  11. Click Save in the top right corner.

Code (Apache v2.0): Service Connectivity and Metadata

Code (Apache v2.0): List of External Resources and Internal Mapping

Last updated