hubspot-nango-integration

Implement incremental HubSpot syncs via the Search API with rate-limit awareness.

1|1|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/NangoHQ/ai-ide-prompts --skill hubspot-nango-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hubspot-nango-integration
Source: https://github.com/NangoHQ/ai-ide-prompts/tree/main/.claude/skills/hubspot-nango-integration
Command: npx skills add https://github.com/NangoHQ/ai-ide-prompts --skill hubspot-nango-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrating with HubSpot's API can be complex due to its unique quirks, rate limits, and varying property names. This Skill provides specialized knowledge to navigate these challenges, ensuring robust and efficient HubSpot integrations within the Nango platform.

Core Features & Use Cases

  • HubSpot API Expertise: Master incremental syncs using the Search API, understand rate limits, and handle property name variations across objects.
  • Schema Introspection: Dynamically discover custom fields and associations, enabling flexible integrations that adapt to customer-specific HubSpot setups.
  • Two-Phase Sync Pattern: Implement advanced syncs by first discovering schema, then fetching records, ensuring data completeness and accuracy.
  • Use Case: A developer is building a Nango integration to sync customer data from HubSpot. This Skill helps them correctly implement incremental syncs, handle custom fields, and optimize API calls to stay within HubSpot's rate limits, preventing data loss and integration failures.

Quick Start

Use the hubspot-nango-integration skill to explain how to perform an incremental sync for HubSpot contacts, including the correct API endpoint and property name for last modified date.

Frequently Asked Questions about hubspot-nango-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement incremental sync for HubSpot contacts using the Search API?

Incremental sync for HubSpot contacts uses the Search API with the `lastmodifieddate` property filter to fetch only changed records. The Search API allows 4 requests per second per token, making it efficient for large datasets. Include the `lastmodifieddate` property in your filter criteria and track the last sync timestamp to avoid redundant API calls.

What's the difference between lastmodifieddate and hs_lastmodifieddate in HubSpot?

HubSpot uses inconsistent property naming: contacts use `lastmodifieddate`, while other objects like companies and deals use `hs_lastmodifieddate`. This variation must be handled in schema-driven integrations to ensure accurate incremental filtering across all object types without data loss or missed updates.

How do I discover custom fields dynamically in HubSpot integrations?

Schema introspection enables dynamic discovery of custom and standard object properties in HubSpot. Query the schema once before fetching records to adapt your integration to customer-specific setups, then use discovered properties in subsequent data sync requests for complete field coverage.

Does HubSpot's Search API have rate limits I need to account for?

Yes, HubSpot's Search API enforces 4 requests per second per OAuth token, while the Standard API has different rate limits. Plan request patterns to stay within Search API limits when syncing large datasets incrementally, and implement backoff strategies to handle rate-limit errors gracefully.

What's the two-phase sync pattern for HubSpot integrations?

Two-phase sync first discovers the schema to identify available properties, then fetches records using that schema. This pattern ensures data completeness, handles custom fields correctly, and adapts automatically when HubSpot object structures change in customer environments.

Can I use OAuth token introspection to validate HubSpot API access?

OAuth token introspection verifies that your authentication token is valid and active before executing API requests. This prevents unnecessary API calls with expired credentials and allows you to detect authentication issues early in HubSpot integration workflows.