> For the complete documentation index, see [llms.txt](https://docs.ebbot.ai/ebbot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ebbot.ai/ebbot-docs/integrations/automations-integrations/integration-setup-guides/hubspot-integration-in-automations/actions/get-company.md).

# Get Company

Fetches the details of a specific company in HubSpot, such as the company name and website domain.

**Action identifier:** `get_company`. **Reference checked:** 29 September 2026.

## Inputs

| Field        | Type   | Required/default | Meaning                        |
| ------------ | ------ | ---------------- | ------------------------------ |
| `company_id` | string | Required         | The ID of the company to fetch |

## Output shape

Paths are relative to this action's output. Select them from the builder's variable picker; do not add a `ticket` wrapper to actions that return top-level fields. Nullable property fields and empty defaults are not proof that a value was retrieved.

| Path                         | Type           | Meaning                                                                      |
| ---------------------------- | -------------- | ---------------------------------------------------------------------------- |
| `company`                    | object         | Returned company data; may be a default object when no data is returned.     |
| `company.id`                 | string         | HubSpot record ID.                                                           |
| `company.properties`         | object         | Property values returned for this record; some declared fields may be empty. |
| `company.properties.name`    | string \| null | The name of the company                                                      |
| `company.properties.domain`  | string \| null | The domain name of the company                                               |
| `company.properties.phone`   | string \| null | The phone number                                                             |
| `company.properties.address` | string \| null | The address                                                                  |
| `company.properties.city`    | string \| null | The city                                                                     |
| `company.properties.state`   | string \| null | The state or region                                                          |
| `company.properties.zip`     | string \| null | The postal code                                                              |
| `company.createdAt`          | string         | Creation timestamp returned by HubSpot; empty when unavailable.              |
| `company.updatedAt`          | string         | Last-update timestamp returned by HubSpot; empty when unavailable.           |
| `company.archived`           | boolean        | Archive flag returned by HubSpot; defaults to false when omitted.            |
| `exists`                     | boolean        | True when the company is returned; false when no company data is returned.   |

Property objects can contain additional fields returned by HubSpot. The declared fields above are not a promise that every property is populated.

## Behavior and limits

Reads a company by ID using the fixed property list below. Declared property fields can be null or absent in the source response. For additional fields use Get Object Associations or request them through Search CRM Objects.

A missing company returns a default object and `exists: false`.

### Requested properties

This action explicitly requests `name`, `domain`, `hs_object_id`, `createdate`, `hs_lastmodifieddate`. Other fields declared in its output model are not automatically fetched.

See [Troubleshooting](/ebbot-docs/integrations/automations-integrations/integration-setup-guides/hubspot-integration-in-automations/troubleshooting.md) for request errors and retry behavior, or return to the [action catalog](/ebbot-docs/integrations/automations-integrations/integration-setup-guides/hubspot-integration-in-automations/actions.md).
