> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get HubSpot Company

## Overview

Retrieve company data from HubSpot based on a query, or get the most recent company. A lightweight, query-based alternative to the fuller [Search HubSpot](./hubspot-v2-search-objects) action when you just need a single company.

### Use Cases

* **Single-company lookup**: Find one company by domain, name, or ID.
* **Recent-company retrieval**: Grab the most recently created/updated company.
* **Chained research**: Feed into [Company Research v2](/agent-packs/company-research) or [Enrich with Breeze Intelligence](./enrich_with_breeze_intelligence).

## Configuration Fields

### Query

* **Description**: A query string (e.g. domain or name) or a HubSpot company ID. Leave empty to get the most recent company.

### Output Variable Name

* **Description**: Variable name to store the company record.
* **Validation**: Only letters, numbers, and underscores.
* **Required**: Yes

## Related Actions

* [Search HubSpot](./hubspot-v2-search-objects) for multi-record filtering.
* [Get HubSpot Contact](./get_hubspot_contact_object), [Get HubSpot Object](./get_hubspot_object).
