Skip to main content

HubSpot Integration with Orkes Conductor

Available since
  • v5.3.0 and later

Integrating HubSpot with Orkes Conductor lets you build workflows that interact with your HubSpot CRM using the following operations:

  • Create Contact
  • Get Contact
  • List Contacts
  • Search Contacts
  • Search Contacts by Email
  • Update Contact
  • Delete Contact
  • Create Company
  • Get Company
  • List Companies
  • Search Companies
  • Search Companies by Domain
  • Update Company
  • Delete Company
  • Get Deal Pipelines
  • Get Ticket Pipelines
  • Create Deal
  • Get Deal
  • List Deals
  • Search Deals
  • Update Deal
  • Delete Deal
  • Create Ticket
  • Get Ticket
  • List Tickets
  • Update Ticket
  • Delete Ticket
  • Create Note
  • Get Note
  • List Notes
  • Delete Note
  • Create Association
  • Get Associations
  • Get Owners
  • Get Form Fields
  • Submit Form

This guide explains how to set up and use the integration. Here’s an overview:

  1. Get the required credentials from HubSpot.
  2. Configure a new HubSpot integration in Orkes Conductor.
  3. Use HubSpot integration in workflows.

Step 1: Get the HubSpot credentials

To integrate HubSpot with Orkes Conductor, create a private (legacy) application in Hubspot and retrieve the access token.

To retrieve the access token:

  1. Log in to HubSpot.
  2. Select the settings icon (⚙) in the top navigation bar.
  3. Go to Integrations > Legacy Apps.
  4. Select Create legacy app.
  5. Enter a name and description for your app.
  6. Go to the Scopes tab and add the required scopes based on your use case.
ScopeOperations
crm.objects.contacts.readGet Contact, List Contacts, Search Contacts, Search Contacts by Email
crm.objects.contacts.writeCreate Contact, Update Contact, Delete Contact
crm.objects.companies.readGet Company, List Companies, Search Companies, Search Companies by Domain
crm.objects.companies.writeCreate Company, Update Company, Delete Company
crm.objects.deals.readGet Deal, List Deals, Search Deals, Get Deal Pipelines
crm.objects.deals.writeCreate Deal, Update Deal, Delete Deal
crm.objects.owners.readGet Owners
ticketsCreate Ticket, Get Ticket, List Tickets, Update Ticket, Delete Ticket, Get Ticket Pipelines
formsGet Form Fields, Submit Form
  1. Select Create app.
  2. Go to the Auth tab and copy the Access Token.

Step 2: Add an integration for HubSpot

After obtaining the credentials, add a HubSpot integration to your Conductor cluster.

  1. Go to Integrations > Connected Apps from the left navigation menu on your Conductor cluster.
  2. Select + New integration.
  3. In the CRM section, choose HubSpot.
  4. Select + Add and enter the following parameters:
ParameterDescriptionRequired/Optional
Integration nameA name for the integration.Required.
API KeyThe Access Token copied in Step 1.Required.
DescriptionA description of the integration.Required.

HubSpot Integration with Orkes Conductor

  1. (Optional) Toggle the Active button off if you don’t want to activate the integration instantly.
  2. Select Save.

This creates the integration successfully.

Step 3: Use HubSpot integration in workflows

Once the integration is ready, this can be used directly within the workflows.

To use HubSpot integration in a workflow:

  1. Go to Definitions > Workflow from the left navigation menu on your Conductor cluster.
  2. Select + Define workflow.
  3. In your workflow, select the (+) icon and select Connected Apps.

Adding HubSpot Integration in Conductor workflow

  1. In Add Task panel on the right, search for HubSpot, and select the integration created in Step 2.

The following operations are available for use with this integration.

OperationDescription
Create ContactCreates a new contact in HubSpot.
Get ContactRetrieves a contact by ID from HubSpot.
List ContactsLists contacts from HubSpot with optional pagination and sorting.
Search ContactsSearches contacts in HubSpot using a query string.
Search Contacts by EmailSearches contacts in HubSpot by exact email address.
Update ContactUpdates an existing contact in HubSpot.
Delete ContactDeletes a contact from HubSpot.
Create CompanyCreates a new company in HubSpot.
Get CompanyRetrieves a company by ID from HubSpot.
List CompaniesLists companies from HubSpot with optional pagination and sorting.
Search CompaniesSearches companies in HubSpot by name.
Search Companies by DomainSearches companies in HubSpot by domain name.
Update CompanyUpdates an existing company in HubSpot.
Delete CompanyDeletes a company from HubSpot.
Get Deal PipelinesRetrieves all deal pipelines and their stages from HubSpot.
Get Ticket PipelinesRetrieves all ticket pipelines and their stages from HubSpot.
Create DealCreates a new deal in HubSpot.
Get DealRetrieves a deal by ID from HubSpot.
List DealsLists deals from HubSpot with optional pagination and sorting.
Search DealsSearches deals in HubSpot by deal name.
Update DealUpdates an existing deal in HubSpot.
Delete DealDeletes a deal from HubSpot.
Create TicketCreates a new ticket in HubSpot.
Get TicketRetrieves a ticket by ID from HubSpot.
List TicketsLists tickets from HubSpot with optional pagination and sorting.
Update TicketUpdates an existing ticket in HubSpot.
Delete TicketDeletes a ticket from HubSpot.
Create NoteCreates a new note in HubSpot.
Get NoteRetrieves a note by ID from HubSpot.
List NotesLists notes from HubSpot with optional pagination and sorting.
Delete NoteDeletes a note from HubSpot.
Create AssociationAssociates two CRM objects in HubSpot.
Get AssociationsGets associations for a CRM object in HubSpot.
Get OwnersLists all owners in HubSpot.
Get Form FieldsGets all fields for a HubSpot form.
Submit FormSubmits data to a HubSpot form.
  1. Select the required operation, configure the parameters, and select Save > Confirm.
  2. Select Execute to run the workflow.

For the complete operations parameters and output reference, see HubSpot Operation Reference.