[HubSpot] Get Company
The [HubSpot] Get Company block retrieves a company record from HubSpot using either a domain name or a HubSpot company ID.
Look up a HubSpot company by domain or ID
The [HubSpot] Get Company block retrieves a company record from HubSpot using either a domain name or a HubSpot company ID. You configure which lookup method to use via the searchBy parameter, then provide either the companyDomain or companyId value accordingly. The block requires a HubSpot OAuth connection to authenticate the request.
When a match is found, the block returns a company object containing the HubSpot company ID, a properties map of key-value pairs, creation and update timestamps in ISO 8601 format, and an archived flag. You can request additional HubSpot properties beyond the defaults by listing them in the additionalProperties field. If no matching company is found, the output is null. The result is stored as JSON in a variable you specify via destinationVar.
This block fits into workflows that need to enrich data with company-level context from HubSpot — for example, qualifying inbound leads by looking up their company domain, cross-referencing CRM records during sales automation, or pulling company details before generating personalized outreach. It works well as an early step in a workflow where downstream blocks depend on company properties.
What you can build
Real-world workflows powered by the [HubSpot] Get Company block.
Enrich Inbound Lead Data
When a new lead submits a form, look up their company by domain to pull CRM properties like industry, revenue, or owner before routing the lead.
Qualify Accounts Automatically
Retrieve company records by ID during a sales workflow to check properties like deal stage or company size before triggering follow-up actions.
Sync CRM Data to Other Tools
Fetch a HubSpot company record and pass its properties to another system, keeping external databases or spreadsheets up to date.
Personalize Outreach Emails
Look up a company by domain to retrieve its name and other properties, then use those values to populate personalized email content downstream.
Validate Company Existence
Check whether a company record exists in HubSpot before creating a new one, using the null return value to branch the workflow accordingly.
Aggregate Company Metrics
Pull company records using HubSpot IDs from a list and collect specific properties via additionalProperties to build a summary report.
Ready to add [HubSpot] Get Company to your workflow?
Get Started FreeCommon questions about [HubSpot] Get Company
What are the required parameters for this block?
The block requires a HubSpot OAuth connection (connectionId), a searchBy value of either 'domain' or 'id', and the corresponding lookup value — either companyDomain or companyId depending on which method you selected.
What does the block return when a company is found?
It returns a company object containing the HubSpot company ID, a properties map of key-value string pairs, createdAt and updatedAt timestamps in ISO 8601 format, and an archived boolean. The result is stored as JSON in the variable specified by destinationVar.
What happens if no matching company is found?
The block returns null for the company field when no match is found. You can use this in a conditional branch downstream to handle the case where the company does not exist in HubSpot.
How do I retrieve properties beyond the default set?
Use the additionalProperties field to specify an array of HubSpot property names you want included in the response. Any properties listed there will be returned alongside the default fields in the properties map.
What kinds of workflows commonly use this block?
This block is commonly used in lead enrichment workflows, sales qualification automations, CRM data sync pipelines, and personalized outreach flows — anywhere a workflow needs to retrieve company-level data from HubSpot before taking a downstream action.
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] Get Company to your workflow
Build powerful AI workflows with drag-and-drop blocks. No coding required.