ePrivacy and GPDR Cookie Consent by Cookie Consent Skip to main content

Loader HubSpot

This loader is used for importing contacts to the Hubspot.

Data In/Data Out

Data In 

  • Loader requires contacts.csv file in directory /data/in/tables/contacts.csv
  • The CSV file /data/in/tables/contacts.csv must have the following header: email, phone_number, and an email is required on each line.

  • The CSV file /data/in/tables/contacts.csv must have a header consisting of the required field email and the optional fields as phone, company, firstname, lastname, website, address, city, state, zip. All available fields can be retrieved from this API endpoint.


Example:

email,phone
foo@bar.com,
jane@doe.com,123456789

Data Out

N/A

Learn more: about folder structure in configuration here.

Parameters

API KEY 

(required)

Private app access token.

When creating a Private App in HubSpot for the API key, make sure to include the following authentication scopes:

  • crm.lists.read
  • crm.objects.contacts.read
  • crm.objects.contacts.write
  • crm.schemas.contacts.read
  • crm.lists.write
  • crm.schemas.contacts.write

Learn more: on Authentication Overview in HubSpot

Contact list

(at least one Contact list ID or Name is required):

ID 

The ID of the contact list where contacts from the contacts.csv file will be imported.

Name 

Name of a new contact list.


Methods

  • When the Contact list id is provided in the configuration: The component will check the contact_list_id existence and import all given contacts there.
  • When the Contact list id is unknown, then the Contact list name must be provided in the configuration. The component will create a new Contact list with a defined name and import all given contacts to a newly created Contact list.