From hubspot
HubSpot developer integrations for Hair Solutions Co. — Agent Tools, Custom Channels API, Breeze Customer Agent, and The Hair Concierge app architecture. Use when building HubSpot integrations, writing hsmeta.json files, handling webhooks, configuring Breeze, or any code-level HubSpot work. Do NOT use for CRM object questions (use hubspot-crm-model) or business automation strategy (use hubspot-business-ops).
How this skill is triggered — by the user, by Claude, or both
Slash command
/hubspot:hubspot-developerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```
Mobile App (React Native/Expo)
↓
Custom Channels API → HubSpot Platform
↓
Breeze Customer Agent
↓
Agent Tools (custom)
├── Shopify Product Query (GET_DATA)
├── Reorder Hair System (TAKE_ACTION)
├── Check Subscription (GET_DATA)
└── KB Deep Search (GENERATE)
↓
Node.js Backend + Shopify Storefront API
Why this architecture:
Tool types:
GET_DATA — retrieve info, no user review requiredGENERATE — create content/summaries, no user review requiredTAKE_ACTION — performs actions (create/update/delete), requires user reviewKey constraints:
actionUrlisRequired: false to start — required fields cannot be removed after upload"2025.2" in hsproject.jsonDeploy commands:
hs project upload
hs project deploy
Register a channel:
POST /conversations/v3/custom-channels?hapikey={KEY}&appId={ID}
Requires public app + Sales/Service Hub Professional+
Message flow:
User → POST /messages (INCOMING) → HubSpot → Breeze → Agent Tools
Breeze response → Webhook (OUTGOING) → Node.js backend → WebSocket → Mobile app
Threading model: INTEGRATION_THREAD_ID — you manage thread IDs, supports concurrent conversations.
| State | Behaviour |
|---|---|
SUCCESS | Done, agent continues |
FAIL_CONTINUE | Failed, agent continues anyway |
BLOCK | Paused — waiting for callback or expiration |
const hash = crypto.createHash('sha256')
.update(clientSecret + JSON.stringify(req.body))
.digest('hex');
// compare hash === req.headers['x-hubspot-signature']
Validate x-hubspot-signature v2 on every incoming agent tool request.
references/agent-tools.md — full hsmeta.json schema, input/output types, testingreferences/custom-channels.md — register, connect, message payloads, threadingreferences/breeze-agent.md — setup, knowledge sources, personality, pricingreferences/code-examples.md — complete JSON blueprints for all 4 Hair Concierge tools| Resource | URL |
|---|---|
| Agent Tools overview | https://developers.hubspot.com/docs/apps/developer-platform/add-features/agent-tools/overview |
| Agent Tools create | https://developers.hubspot.com/docs/apps/developer-platform/add-features/agent-tools/create |
| Custom Channels guide | https://developers.hubspot.com/docs/api-reference/conversations-custom-channels-v3/guide |
| Customer Agent setup | https://knowledge.hubspot.com/customer-agent/create-a-customer-agent |
| HubSpot CLI docs | https://developers.hubspot.com/docs/platform/project-cli-commands |
npx claudepluginhub vincent-laroche/hairsolutionsco-ai-toolkit --plugin hubspotCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.