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 forUpdate
operations.
Output
Output Type | Format | Description |
---|---|---|
Data | JSON | Resulting company data from the action |
Configuration Fields
Field Name | Description |
---|---|
Connection | HubSpot OAuth connection used for authentication. |
Operation | Choose from:
|
Id | Required for Get , Update , and Delete operations. The HubSpot Company ID. |
name | Name of the company. Required for Create and Update . |
description | Description of the company. |
about_us | Additional info about the company. |
annualrevenue | Revenue of the company. |
city | City where the company is located. |
closedate | Close date (applicable in deal-context CRM workflows). |
domain | Website domain of the company. |
country | Country where the company is based. |
ownername | Name of the company owner (HubSpot user). |
industry | Industry type of the company. |
is_public | Whether the company is publicly listed. |
numberofemployees | Number of employees in the company. |
website | Website URL. |
Additional Fields | Additional custom fields configurable via UI. |
Config Fields Mapping | Maps specific fields from input data in Create Many . |
Additional Fields Mapping | Maps custom fields from input data in Create Many . |
Sample Input
Operation | Required Fields | Example |
---|---|---|
Get | Id | Id: 1234567890 |
Get All | None | (No input required) |
Create | Company details | name: Acme Inc , domain: acme.com , industry: Software , country: USA , city: New York |
Update | Id , other update fields | Id: 1234567890 , city: San Francisco , numberofemployees: 150 |
Delete | Id | Id: 1234567890 |
Create Many | Field Mappings | ConfigFieldsMapping: { 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
Field | Value |
---|---|
connection.id | hubspot-prod-001 |
operation | CreateMany |
ConfigFieldsMapping | name → CompanyName, city → Location |
AdditionalFieldsMapping | industry → IndustrySector |
Sample Output
Id | Name | Domain | Country | Industry | Employees | Created Time |
---|---|---|---|---|---|---|
1234567890 | Acme Inc | acme.com | USA | Software | 150 | 2024-06-19T11:15:00Z |
1234567891 | Beta Corp | betacorp.io | UK | Finance | 90 | 2024-06-19T11:17:30Z |