Skip to content

HubSpot Contact

Description

The HubSpot Contact entity represents individuals (leads or customers) stored in your HubSpot CRM. Each contact includes personal and business information such as name, email, phone number, associated company, and address details.

This activity enables workflows to manage contact records automatically, supporting single and bulk operations like create, update, retrieve, or delete. It also allows data mapping from previous activities for dynamic contact creation.

Use this activity to:

  • Get – Fetch a specific contact by ID.
  • Get All – Retrieve all HubSpot contacts.
  • Create – Add a new contact with personal and professional details.
  • Create Many – Add multiple contacts from previous workflow data using field mappings.
  • Update – Modify an existing contact using its ID.
  • Delete – Remove a contact using its ID.

Use Case: In a sales workflow, leads collected via web forms or Excel files can be read using the ReadCsv activity and directly created or updated in HubSpot using HubSpotContact. After enriching the data, FilterOnValue can segment leads by country or interest. These filtered contacts can then be associated with deals or exported to other tools like Google Sheets for marketing or CRM syncing

Input

  • Data – Required for Create Many.

Output

Output TypeFormatDescription
DataJSONHubSpot Contact record(s) output

Configuration Fields

Field NameDescription
ConnectionOAuth-based HubSpot connection. Required for all operations.
OperationChoose from:
  • Get
  • Get All
  • Create
  • Create Many
  • Update
  • Delete
IdUsed in Get, Update, and Delete. Provide the HubSpot Contact ID.
firstnameFirst name of the contact. Required for Create and Update.
lastnameLast name of the contact.
emailEmail address of the contact.
mobilephoneMobile phone number.
associatedcompanyidID of the associated HubSpot company.
jobtitleContact’s job title.
addressAddress of the contact.
cityCity of the contact.
stateState or region.
zipZip or postal code.
countryCountry of the contact.
Additional FieldsCustom user-defined fields for Create, Update.
Config Fields MappingField mappings for input data in Create Many.
Additional Fields MappingCustom field mappings for Create Many.

Sample Input

OperationRequired FieldsExample
GetIdId: 123456700000001
Get AllNone(No input required)
CreateContact fieldsfirstname: John, lastname: Doe, email: john@example.com, city: New York, jobtitle: Manager
UpdateId, fields to updateId: 123456700000001, jobtitle: Senior Manager, city: Los Angeles
DeleteIdId: 123456700000001
Create ManyField MappingsConfigFieldsMapping: { firstname → FirstName, email → EmailAddress, city → Location }, AdditionalFieldsMapping: { jobtitle → Role }

Input fields for Create Many operation are mapped from data output by the previous activity in the workflow.

Sample Configuration

FieldValue
connection.idhubspot-conn-001
operationCreateMany
ConfigFieldsMappingfirstname → FirstName, email → EmailAddress, city → Location
AdditionalFieldsMappingjobtitle → Role

Sample Output

IdFirst NameLast NameEmailCityJob TitleCreated Time
12345678JohnDoejohn@example.comNew YorkManager2024-06-19T09:30:00Z
12345679JaneSmithjane@example.comSan JoseProduct Lead2024-06-19T09:45:10Z