hubspot-performance-tuning

Featured

Optimize HubSpot API performance with caching, batching, and search optimization. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for HubSpot CRM operations. Trigger with phrases like "hubspot performance", "optimize hubspot", "hubspot slow", "hubspot caching", "hubspot batch", "hubspot latency".

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 Performance Tuning ## Overview Optimize HubSpot API performance through batch operations, caching, search optimization, and request minimization. ## Prerequisites - `@hubspot/api-client` installed - Understanding of your access patterns (read-heavy vs write-heavy) - Optional: Redis for distributed caching ## Instructions ### Step 1: Use Batch APIs Everywhere The single biggest performance win: batch operations reduce API calls by up to 100x. ```typescript import * as hubspot from '@hubspot/api-client'; const client = new hubspot.Client({ accessToken: process.env.HUBSPOT_ACCESS_TOKEN!, numberOfApiCallRetries: 3, }); // BAD: 100 API calls for 100 contacts async function getContactsSlow(ids: string[]) { return Promise.all(ids.map(id => client.crm.contacts.basicApi.getById(id, ['email', 'firstname']) )); } // GOOD: 1 API call for 100 contacts async function getContactsFast(ids: string[], properties: string[]) { // POST /crm/v3/objects/contacts/batch/read const result = await client.crm.contacts.batchApi.read({ inputs: ids.map(id => ({ id })), properties, propertiesWithHistory: [], }); return result.results; } // For more than 100 records, chunk: async function getContactsChunked(ids: string[], properties: string[]) { const results = []; for (let i = 0; i < ids.length; i += 100) { const chunk = ids.slice(i, i + 100); const batch = await getContactsFast(chunk, properties); results.push(...batch); } return res...

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 Solid

hootsuite-performance-tuning

Optimize Hootsuite API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Hootsuite integrations. Trigger with phrases like "hootsuite performance", "optimize hootsuite", "hootsuite latency", "hootsuite caching", "hootsuite slow", "hootsuite batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-known-pitfalls

Identify and avoid HubSpot API anti-patterns and common integration mistakes. Use when reviewing HubSpot code, onboarding developers to HubSpot integrations, or auditing existing CRM integrations for best practice violations. Trigger with phrases like "hubspot mistakes", "hubspot anti-patterns", "hubspot pitfalls", "hubspot code review", "hubspot gotchas".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-performance-tuning

Optimize Klaviyo API performance with caching, batching, and pagination tuning. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Klaviyo integrations. Trigger with phrases like "klaviyo performance", "optimize klaviyo", "klaviyo latency", "klaviyo caching", "klaviyo slow", "klaviyo batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-cost-tuning

Optimize HubSpot costs through API call reduction, plan selection, and usage monitoring. Use when analyzing HubSpot API usage, reducing unnecessary calls, or implementing usage tracking and budget alerts. Trigger with phrases like "hubspot cost", "hubspot API usage", "reduce hubspot calls", "hubspot pricing", "hubspot budget", "hubspot quota".

2,266 Updated today
jeremylongshore
AI & Automation Featured

instantly-performance-tuning

Optimize Instantly.ai API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing high-volume lead operations. Trigger with phrases like "instantly performance", "instantly slow", "instantly caching", "instantly batch", "optimize instantly api".

2,266 Updated today
jeremylongshore