hubspot avatar

Ticket Resolution

A complete workflow for managing HubSpot support tickets through the CLI, from creation through triage to resolution. It walks you through pipeline discovery (critical, since stage IDs differ per portal), bulk ticket creation from JSONL queues, filtering by priority and assignment status, and moving tickets between stages with dry run protection. The enum probing technique is clever: send an invalid value to get HubSpot to return the valid options list, since the properties API won't give them to you. Most useful when you need to process tickets at scale or automate common triage patterns like bulk reassignment or stage advancement based on category filters.

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

Install

$ npx -y skills add hubspot/agent-cli-skills --skill ticket-resolution --agent claude-code

Installs into .claude/skills of the current project.

Files

Read bulk-operations/SKILL.md first — JSONL piping, batch read, pagination, dry-run/digest/confirm, and hubspot history recovery live there. hubspot <command> --help is authoritative. Tickets use the tickets object type (plural, e.g. tickets:45123).

1. Discover pipeline + stages (portal-specific, run every session)

Stage IDs differ in every portal — never hard-code them.

hubspot pipelines list --type tickets --format table
hubspot pipelines stages --type tickets --pipeline <pipeline_id> --format table

The stage table prints each stage's ID and Label ("New", "Waiting on contact", "Closed", etc.). pipelines list/get also return each pipeline's full stages array in jsonl/json, so one call is enough to map a hs_pipeline_stage value to its label.

2. Verify enum option values for THIS portal

Sponsors

Details

Repository
github.com/hubspot/agent-cli-skills
Categories
DevOps & CI/CD, AI & Agent Building, Productivity & Planning, Automation & Workflows, Sales & Marketing, CLI & Terminal
First seen
Jul 14, 2026

More from hubspot/agent-cli-skills

All 15
1k-dense-ai avatarscikit-survivalk-dense-ai/scientific-agent-skillsBuild, evaluate, and audit right-censored or competing-risk survival workflows with scikit-survival, including leakage-safe preprocessing, model selection, prob2.1Kskills.sh installs
2nvidia avatardali-dynamic-modenvidia/skillsDALI imperative dynamic mode (`nvidia.dali.experimental.dynamic`, ndd): use when working on ndd code or migrating pipelines; skip pipeline-only tasks.2.1Kskills.sh installs
3jezweb avatargoogle-apps-scriptjezweb/claude-skillsBuild Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF2Kskills.sh installs
4calm-north avatarfix-linkingcalm-north/seojuice-skillsDesign or audit internal link structure for a website. Use when the user asks about internal linking, link architecture, orphan pages, PageRank flow, anchor tex2Kskills.sh installs
5k-dense-ai avatarscanpyk-dense-ai/scientific-agent-skillsStandard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, visua2Kskills.sh installs
6k-dense-ai avatarvaexk-dense-ai/scientific-agent-skillsUse this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations2Kskills.sh installs