hubspot avatar

Workflow Automation

This wraps HubSpot's v4 flows API through the agent CLI (the `hubspot` command, not the `hs` developer CLI). You get list, get, create, update, and delete for workflows. The update is a full PUT, so you fetch the current JSON, edit it, then push it back with the revisionId intact. No search command exists, so finding by name means piping list output through jq. The create dry run doesn't validate schema, only that your JSON parses, which is annoying. Branching and convergence work by pointing nextActionId references at shared actions. Safest path is to get an existing workflow as a template rather than hand writing the body from scratch.

skills.sh installs
1.9K
GitHub stars
29
last updated
Aug 21, 2026

Install

$ npx -y skills add hubspot/agent-cli-skills --skill workflow-automation --agent claude-code

Installs into .claude/skills of the current project.

Files

Which CLI

Two different HubSpot CLIs share a confusing resemblance — don't mix them up:

  • hubspot — the HubSpot agent CLI that this skill library targets. It manages CRM data and automation, and it does have native workflow commands: hubspot workflows list|get|create|update|delete.
  • hs — the HubSpot developer CLI (@hubspot/cli), for building dev projects: themes, modules, serverless functions, UI extensions, and private apps (hs project, hs upload, hs create). It does not create or manage workflow records.

To create or manage a workflow, use hubspot workflows ... — not hs.

If anything here ever drifts, hubspot workflows --help and hs --help are authoritative.

Resources

FileWhen to use
resources/workflow-json-reference.mdBody shape for create/update — the action graph, branching/convergence, enrollment, full-PUT pitfall
resources/example-contact-flow.jsonMinimal valid CONTACT_FLOW skeleton for hubspot workflows create --file
resources/example-branching-flow.jsonIllustrates branch convergence — two paths pointing connection.nextActionId at one shared downstream action

Sponsors

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
Backend & APIs, AI & Agent Building, Automation & Workflows, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from hubspot/agent-cli-skills

All 15
1nvidia avatarvss-deploy-profilenvidia/skillsUse to select, configure, deploy, verify, debug, or tear down a VSS profile (base, search, lvs, warehouse, edge). Not for standalone microservices — use the vss1.8Kskills.sh installs
2sfkislev avatarAutodesksfkislev/flueControl Autodesk desktop apps - 3ds Max and friends - from the shell via Flue, without an MCP server.1.8Kskills.sh installs
3nvidia avatarvss-query-analyticsnvidia/skillsUse this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range na1.8Kskills.sh installs
4adobe avatarscrape-webpageadobe/skillsUse this when the page-import pipeline needs to fetch a source webpage and prepare it for import/migration to AEM Edge Delivery Services. Covers scraping conten1.8Kskills.sh installs
5sfkislev avatarInDesignsfkislev/flueControl Adobe InDesign from the shell via Flue - ExtendScript bridges without an MCP server.1.8Kskills.sh installs
6software-mansion-labs avatartypegpusoftware-mansion-labs/skillsTypeGPU is type-safe WebGPU in TypeScript. Use whenever the user writes, debugs, or designs TypeGPU code: 'use gpu' shader functions, tgpu.fn, buffers, textures1.8Kskills.sh installs