> ## 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 Contact

## Overview

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

### Use Cases

* **Single-contact lookup**: Find one contact by name, email, or ID.
* **Recent-contact retrieval**: Grab the most recently created/updated contact.
* **Chained enrichment**: Input to [Enrich Person](./enrich_person) or [Contact Research](./contact_research).

## Configuration Fields

### Query

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

### Output Variable Name

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

## Related Actions

* [Search HubSpot](./hubspot-v2-search-objects) for multi-record filtering.
* [Lookup HubSpot Object](./hubspot-v2-lookup-object) for precise lookups.
* [Get HubSpot Company](./get_hubspot_company_object), [Get HubSpot Object](./get_hubspot_object).
