[HubSpot] Create/Update Company
The [HubSpot] Create/Update Company block writes company records to HubSpot, either creating a new entry or updating an existing one depending on whether a matching domain is already present.
Create or update HubSpot companies matched by domain
The [HubSpot] Create/Update Company block writes company records to HubSpot, either creating a new entry or updating an existing one depending on whether a matching domain is already present. The domain field is the key used for matching, and the block also accepts a company name along with any additional HubSpot property values defined through the enabledProperties configuration. Each enabled property specifies a label, an internal HubSpot property name, and a type — either string, number, or bool — which the block uses to validate values before sending them to HubSpot.
The block requires a HubSpot OAuth connection identified by a connectionId, and optionally accepts a destination variable name where the resulting company ID will be stored. On completion, it returns a single output field, companyId, which contains the HubSpot ID of the company that was created or updated.
This block fits into workflows that need to keep HubSpot company records in sync with data collected or processed elsewhere in a workflow — for example, after enriching a lead, processing a form submission, or extracting company details from an AI step. It can be used as a standalone write step or chained with other CRM blocks to build more complete contact and company management pipelines.
What you can build
Real-world workflows powered by the [HubSpot] Create/Update Company block.
Sync Form Submission Data
When a user submits a contact or signup form, automatically create or update their company record in HubSpot using the submitted domain and company name.
Enrich and Write Company Records
After an AI or enrichment step extracts company details from unstructured text, write the structured output directly to HubSpot as a new or updated company entry.
CRM Sync from External Database
Pull company records from an external database or spreadsheet and upsert them into HubSpot, using the domain field to avoid creating duplicate entries.
Lead Qualification Pipeline
As part of a lead qualification workflow, create or update the associated company in HubSpot with properties like industry or employee count before routing the lead.
Automated Onboarding Workflows
When a new customer completes onboarding, automatically create their company record in HubSpot with relevant properties to trigger downstream CRM automations.
Sales Outreach Preparation
Before initiating an outreach sequence, ensure the target company exists in HubSpot with up-to-date properties by running this block as a pre-step in the workflow.
Ready to add [HubSpot] Create/Update Company to your workflow?
Get Started FreeCommon questions about [HubSpot] Create/Update Company
What are the required parameters for this block?
The block requires a HubSpot OAuth connection via connectionId, and within the company object, at minimum a domain and a name. The domain is used to match against existing HubSpot records. Additional properties can be passed using the enabledProperties configuration, which defines each property's label, internal HubSpot name, and type.
What does the block return?
The block outputs a single field, companyId, which is the HubSpot company ID of the record that was created or updated. This ID can be stored in a workflow variable using the destinationVar field for use in subsequent steps.
What happens if a company with the given domain already exists in HubSpot?
If a company with the specified domain already exists in HubSpot, the block updates that existing record with the provided property values. If no match is found, a new company record is created.
What kinds of workflows commonly use this block?
This block is commonly used in lead capture, CRM synchronization, customer onboarding, and data enrichment workflows — anywhere a workflow needs to ensure a company record exists in HubSpot with current property values before proceeding to other steps.
How are additional HubSpot properties handled?
Additional properties beyond domain and name are defined through the enabledProperties array. Each entry specifies a label, the internal HubSpot property name as the value, and a type of string, number, or bool. The block uses these definitions to type-check values before sending them to HubSpot.
Related capabilities
[Hunter.io] Find Email
Find an email address for a specific person at a domain using Hunter.io.
[Hunter.io] Enrich Person
Look up professional information about a person by their email address using Hunter.io.
[Hunter.io] Verify Email
Verify whether an email address is valid and deliverable using Hunter.io.
[Hunter.io] Enrich Company
Look up company information by domain using Hunter.io.
[Hunter.io] Domain Search
Search for email addresses associated with a domain using Hunter.io.
[ActiveCampaign] Create Contact
Create or sync a contact in ActiveCampaign.
Add [HubSpot] Create/Update Company to your workflow
Build powerful AI workflows with drag-and-drop blocks. No coding required.