Skip to content

HubSpot Company

Description

HubSpot Company represents a business or organization stored within HubSpot CRM. Each company record holds important business information such as the company’s name, industry, domain, location, revenue, and number of employees. Companies are often linked to contacts, deals, and engagements, providing a centralized view of B2B relationships

The HubSpot Company activity allows interaction with company records within HubSpot CRM. You can create, retrieve, update, or delete company data, making it easier to keep your organization’s B2B contact base synchronized and clean.

Use this activity to:

  • Get – Fetch a single company by ID.
  • Get All – Retrieve all company records.
  • Create – Add a new company with specific details like name, domain, industry, etc.
  • Create Many – Add multiple companies using mapped fields from previous activity data.
  • Update – Modify a specific company record using its ID.
  • Delete – Remove a company record by its ID.

Use Case: Company records pulled from external systems using QueryExecution can be used to create or update company entities via HubSpotCompany. These companies can then be associated with relevant contacts or deals using HubSpotAssociation. The data can be aggregated using AggregateData to analyze account-level performance and fed into dashboards for business insights.

Input

  • Data – Required for Create Many and optionally for Update operations.

Output

Output TypeFormatDescription
DataJSONResulting company data from the action

Configuration Fields

Field NameDescription
ConnectionHubSpot OAuth connection used for authentication.
OperationChoose from:
  • Get
  • Get All
  • Create
  • Create Many
  • Update
  • Delete
IdRequired for Get, Update, and Delete operations. The HubSpot Company ID.
nameName of the company. Required for Create and Update.
descriptionDescription of the company.
about_usAdditional info about the company.
annualrevenueRevenue of the company.
cityCity where the company is located.
closedateClose date (applicable in deal-context CRM workflows).
domainWebsite domain of the company.
countryCountry where the company is based.
ownernameName of the company owner (HubSpot user).
industryIndustry type of the company.
is_publicWhether the company is publicly listed.
numberofemployeesNumber of employees in the company.
websiteWebsite URL.
Additional FieldsAdditional custom fields configurable via UI.
Config Fields MappingMaps specific fields from input data in Create Many.
Additional Fields MappingMaps custom fields from input data in Create Many.

Sample Input

OperationRequired FieldsExample
GetIdId: 1234567890
Get AllNone(No input required)
CreateCompany detailsname: Acme Inc, domain: acme.com, industry: Software, country: USA, city: New York
UpdateId, other update fieldsId: 1234567890, city: San Francisco, numberofemployees: 150
DeleteIdId: 1234567890
Create ManyField MappingsConfigFieldsMapping: { name → CompanyName, city → Location }, AdditionalFieldsMapping: { industry → IndustrySector }

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

Sample Configuration

FieldValue
connection.idhubspot-prod-001
operationCreateMany
ConfigFieldsMappingname → CompanyName, city → Location
AdditionalFieldsMappingindustry → IndustrySector

Sample Output

IdNameDomainCountryIndustryEmployeesCreated Time
1234567890Acme Incacme.comUSASoftware1502024-06-19T11:15:00Z
1234567891Beta Corpbetacorp.ioUKFinance902024-06-19T11:17:30Z