hubspot-architecture-variants

Featured

Choose and implement HubSpot integration architecture for different scales. Use when designing new HubSpot integrations, choosing between embedded/service/gateway patterns, or planning architecture for HubSpot CRM applications. Trigger with phrases like "hubspot architecture", "hubspot design pattern", "how to structure hubspot", "hubspot integration pattern", "hubspot microservice".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# HubSpot Architecture Variants ## Overview Three validated architecture patterns for HubSpot CRM integrations at different scales, from embedded client to dedicated API gateway. ## Prerequisites - Understanding of team size and daily API call volume - Knowledge of deployment infrastructure - Clear sync requirements (real-time vs batch) ## Instructions ### Variant A: Embedded Client (Simple) **Best for:** MVPs, small teams, < 10K contacts, < 50K API calls/day ``` your-app/ ├── src/ │ ├── hubspot/ │ │ ├── client.ts # @hubspot/api-client singleton │ │ └── contacts.ts # Direct CRM operations │ ├── routes/ │ │ └── api.ts # API routes that call HubSpot directly │ └── index.ts ``` ```typescript // Direct integration in route handlers import * as hubspot from '@hubspot/api-client'; const client = new hubspot.Client({ accessToken: process.env.HUBSPOT_ACCESS_TOKEN!, numberOfApiCallRetries: 3, }); app.get('/api/contacts', async (req, res) => { const page = await client.crm.contacts.basicApi.getPage( 20, req.query.after as string, ['email', 'firstname', 'lastname'] ); res.json(page); }); app.post('/api/contacts', async (req, res) => { const contact = await client.crm.contacts.basicApi.create({ properties: req.body, associations: [], }); res.status(201).json(contact); }); ``` **Pros:** Fast to build, simple to understand, one deployment **Cons:** No fault isolation, HubSpot latency in user request path --- #...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

hubspot-reference-architecture

Implement a production-ready HubSpot integration architecture with layered design. Use when designing new HubSpot integrations, reviewing project structure, or establishing architecture standards for HubSpot CRM applications. Trigger with phrases like "hubspot architecture", "hubspot project structure", "hubspot integration design", "hubspot best practices layout", "hubspot layers".

2,266 Updated today
jeremylongshore
API & Backend Listed

hubspot-integration

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs. Use when: hubspot, hubspot api, hubspot crm, hubspot integration, contacts api.

335 Updated today
aiskillstore
Web & Frontend Solid

hubspot-integration

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs. Use when: hubspot, hubspot api, hubspot crm, hubspot integration, contacts api.

27,681 Updated today
davila7
AI & Automation Featured

hubspot-sdk-patterns

Apply production-ready @hubspot/api-client SDK patterns for TypeScript. Use when implementing HubSpot integrations, building typed wrappers, or establishing team standards for HubSpot CRM operations. Trigger with phrases like "hubspot SDK patterns", "hubspot best practices", "hubspot typed client", "hubspot api-client wrapper", "idiomatic hubspot".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-integration

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs.

39,227 Updated today
sickn33