Skip to content
hubspot avatar

Workflow Automation

Native CLI workflow management for HubSpot v4 flows, distinct from the developer CLI and classic v3 workflows.

CCM score
71 of 100
skills.sh installs
2K
GitHub stars
30
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers listing, inspecting, creating, updating, and deleting v4 HubSpot flows through the hubspot workflows subcommands
  • Includes reference files for the workflow JSON body, a minimal contact-flow template, and a branching-convergence example
  • Enforces a full-PUT update pattern with revisionId and gates destructive changes behind dry-run digests and name-based confirmation
  • Designed for operators managing HubSpot automation from the agent CLI who need to avoid the hs developer CLI

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
Workflow Automation, Sales & CRM
First seen
Jul 14, 2026

More from hubspot/agent-cli-skills

All 15

Similar to Workflow Automation

More Workflow Automation