flowstate-epic-flowstate-community-epicdm-flowstate-connector-hubspot
Package-local agent skill for @epicdm/flowstate-connector-hubspot.
Tags
Publisher
Versions
1 version published — latest: 1.0.0
- 1.0.0publishedInvalid Date
Skill
flowstate-connector-hubspot Package Skill
Package: @epicdm/flowstate-connector-hubspot
Repository: epic-flowstate-community
Path: packages/flowstate-connector-hubspot
Version: 1.0.0
Use this published Dojo skill as the package-level entrypoint. For detailed workflows, use the package-local skills listed below.
Primary Package Workflow
FlowState Connector HubSpot Auth
Status: Active
Purpose: Configure and troubleshoot HubSpot OAuth for the manifest-only connector.
Scope: packages/flowstate-connector-hubspot/connector.yaml, README, HubSpot app settings.
Trigger: Auth setup, token exchange failures, missing scopes, redirect URI changes, permission reviews.
Input: HubSpot app credentials, redirect URI, connector manifest.
Output: OAuth configuration that connector-core can exchange for HubSpot API access.
Required Env Vars
HUBSPOT_CLIENT_ID=...
HUBSPOT_CLIENT_SECRET=...
HUBSPOT_REDIRECT_URI=...
These are declared as required manifest env vars. Do not rename them in docs or deployment config unless the manifest changes with matching tests.
OAuth Contract
kind: oauth2
authorizationUrl: https://app.hubspot.com/oauth/authorize
tokenUrl: https://api.hubapi.com/oauth/v3/token
pkce: false
PKCE is false for this connector. If HubSpot app policy changes require PKCE, update the manifest and add connector-core validation coverage before telling operators to enable it.
Scope Checklist
The manifest requests read-only CRM and schema scopes:
crm.objects.contacts.readcrm.objects.companies.readcrm.objects.deals.readcrm.objects.quotes.readcrm.objects.invoices.readcrm.objects.line_items.readcrm.objects.owners.readcrm.schemas.contacts.readcrm.schemas.companies.readcrm.schemas.deals.readcrm.schemas.quotes.readcrm.schemas.line_items.read
When adding endpoint coverage, add the matching HubSpot scope first, then update tests so the manifest parse and scope expectations protect it.
Troubleshooting
- Redirect mismatches usually mean
HUBSPOT_REDIRECT_URIdiffers from the HubSpot app callback URL. - Missing object data usually means the connected HubSpot account granted fewer scopes than the manifest expects.
- This connector is pull-only; OAuth success does not imply write-back support.
Verification
yarn workspace @epicdm/flowstate-connector-hubspot jest --config jest.config.cjs --runInBand
Created: 2026-06-30
Package Skill Inventory
@epicdm/flowstate-connector-hubspot Skill Inventory
| Skill | Type | Use When |
|---|---|---|
flowstate-connector-hubspot | Orchestrator | Routing HubSpot connector tasks. |
flowstate-connector-hubspot-manifest | Workflow/reference | Connector/plugin manifest metadata, permissions, entity collections, rate limits. |
flowstate-connector-hubspot-auth | Workflow/reference | HubSpot OAuth URLs, required env vars, scopes, and PKCE behavior. |
flowstate-connector-hubspot-endpoints | Reference | HubSpot object endpoints, cursor pagination, complete-scan behavior, endpoint ordering. |
flowstate-connector-hubspot-crm-mapping | Reference | Mapping HubSpot CRM records into FlowState CRM/bizdev collections and relations. |
flowstate-connector-hubspot-maintenance | Maintenance | Tests, duplicate Jest config risk, no-op build, Dojo drift, publish workflow. |
Group skills by CRM workflows, not by the two YAML files listed in the generated feature matrix.
Review Gate
@epicdm/flowstate-connector-hubspot Skill Review
Created manifest-oriented package-local skills for HubSpot under packages/flowstate-connector-hubspot/.flowstate/skills.
Evidence Reviewed
package.jsonREADME.mdconnector.yamlflowstate.plugin.json__tests__/connector.test.ts.flowstate/feature-matrix/inventory.md.flowstate/dojo/agent-skillset.md- repository plan docs mentioning HubSpot connector/Jest config duplication
Known Drift Preserved
- No JS/TS public exports exist.
- V1 connector performs complete paged scans, not delta sync.
- Endpoint order matters for CRM relations.
- There is no connector-core bundled
hubspot.yamlcopy at review time. - Duplicate Jest configs exist; the default package
testscript can fail unless Jest is pointed atjest.config.cjs. - Generated Dojo material is generic and not publish-ready.
- Dojo publisher metadata currently drifts between generated artifacts.
Verification Status
- ASCII scan passed: no non-ASCII characters in
.flowstate/skills. - Skill frontmatter scan passed for all 6
SKILL.mdfiles. yarn workspace @epicdm/flowstate-connector-hubspot jest --config jest.config.cjs --runInBandpassed: 1 suite, 6 tests.yarn workspace @epicdm/flowstate-connector-hubspot buildpassed; build is a no-op by design.yarn nx build @epicdm/flowstate-connector-hubspotpassed; Nx Cloud reported the existing unconnected-workspace 401 notice.
Usage
Start with this skill to understand the package purpose, then use the package-local focused skills for specific workflows. Keep this Dojo version aligned with packages/flowstate-connector-hubspot/package.json. Do not treat generated feature lists as lessons; use workflow evidence from CODE-REVIEW.md, SKILL-INVENTORY.md, and REVIEW.md.
Install
Run this in your project to install via CLI:
fscloud dojo skill install flowstate-epic-flowstate-community-epicdm-flowstate-connector-hubspot --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.