Tickets

From wyre-technology/msp-claude-plugins · View interactive version

Tickets is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. HubSpot support tickets: core fields, default pipeline stages, priority levels, MSP ticket categories, SLA timestamp properties, and associating tickets with contacts, companies, and deals.

How to use this skill

Skill file

HubSpot Ticket Management

Overview

Tickets in HubSpot represent support requests, service issues, or tasks that need resolution. For MSPs, tickets are the backbone of client service delivery -- tracking everything from break-fix requests and password resets to complex infrastructure projects. Tickets belong to a pipeline (e.g., "Support Pipeline") and progress through stages (e.g., "New", "In Progress", "Resolved"). They can be associated with contacts (the person who reported the issue), companies (the client organization), and deals (if the ticket relates to a service agreement).

Conduit connector

Conduit's hubspot connector is HubSpot's own hosted MCP server (https://mcp.hubspot.com/anthropic/v1/mcp, OAuth). Its CRM tools are generic over object type, so every call names the objectType:

| Tool | Call shape |

|------|-----------|

| search_crm_objects | objectType, optional query (free text), filterGroups (property filters and associatedWith association filters), properties, sorts, limit (max 200), offset |

| get_crm_objects | objectType, objectIds (1-100), properties |

| manage_crm_objects | createRequest.objects[] or updateRequest.objects[] (each with objectType, properties, optional associations, and objectId for updates), plus confirmationStatus (CONFIRMED only after the user approved the exact change) |

| search_properties / get_properties | Discover property names and enumeration values for an objectType |

| search_owners | Resolve hubspot_owner_id values to people |

Parameter names in the tables below (such as contactId) describe the HubSpot fields involved; send them in the call shapes above. See hubspot-api-patterns for the full tool list.

Anti-triggers

pipeline with no SLA clock, time entries, or billing; the PSA owns those, so

use the ConnectWise Manage, Autotask, HaloPSA, or Freshdesk ticket skills.

raised** — use hubspot-activities.

MCP Tools

Available Tools

| Tool | Description | Key Parameters |

|------|-------------|----------------|

| get_crm_objects (objectType: "tickets") | Get tickets by ID | objectIds (required, 1-100) |

| manage_crm_objects (createRequest, objectType: "tickets") | Create a new ticket | subject (required), content, hs_pipeline, hs_pipeline_stage |

| manage_crm_objects (updateRequest, objectType: "tickets") | Update an existing ticket | objectId (required), property fields to update |

Create a Ticket

Call manage_crm_objects (createRequest, objectType: "tickets") with the ticket's properties:

Example: Create a support ticket:

Update a Ticket

Call manage_crm_objects (updateRequest, objectType: "tickets") with the ticket's objectId and the properties to change:

Example: Move ticket to In Progress:

Example: Resolve a ticket:

Retrieve a Ticket

Call get_crm_objects (objectType: "tickets") with the ticket ID in objectIds:

Example:

Search Tickets

Tickets can be found via the associations API. To find tickets for a specific contact or company:

  1. Call search_crm_objects with objectType: "tickets" and an associatedWith filter on the contact or company ID
  2. Retrieve each ticket by ID using get_crm_objects (objectType: "tickets")

Key Concepts

Default Ticket Pipeline Stages

HubSpot's default support pipeline includes these stages (your account may have custom stages):

| Stage ID | Display Name | Description |

|----------|-------------|-------------|

| 1 | New | Ticket just created, not yet assigned |

| 2 | Waiting on contact | Awaiting response from the client |

| 3 | Waiting on us | MSP team needs to take action |

| 4 | Closed | Ticket resolved and closed |

Ticket Priority Levels

| Priority | Description | MSP Context |

|----------|-------------|-------------|

| LOW | Low priority | Non-urgent request, no business impact |

| MEDIUM | Medium priority | Some business impact, can wait |

| HIGH | High priority | Significant business impact, needs prompt attention |

Ticket Categories

MSPs commonly categorize tickets by type:

| Category | Examples |

|----------|---------|

| Break-Fix | Hardware failure, software crash |

| Service Request | Password reset, new user setup |

| Project | Network upgrade, server migration |

| Billing | Invoice question, contract change |

| Monitoring Alert | Automated alert from RMM/monitoring |

Field Reference

Core Fields

| Field | Type | Description |

|-------|------|-------------|

| subject | string | Ticket subject line |

| content | string | Ticket description/body |

| hs_pipeline | enumeration | Pipeline the ticket belongs to |

| hs_pipeline_stage | enumeration | Current pipeline stage |

| hs_ticket_priority | enumeration | Priority level (LOW, MEDIUM, HIGH) |

| hs_ticket_category | enumeration | Ticket category |

| hubspot_owner_id | number | Assigned owner (user ID) |

| hs_resolution | string | Resolution description |

| source_type | enumeration | How the ticket was created (EMAIL, CHAT, PHONE, FORM) |

| createdate | datetime | Record creation date |

| lastmodifieddate | datetime | Last modification date |

| closed_date | datetime | When the ticket was closed |

| hs_time_to_close_sla_due_date | datetime | SLA close deadline |

| hs_time_to_first_response_sla_due_date | datetime | SLA first response deadline |

| hs_last_message_received_at | datetime | Last client message timestamp |

| hs_last_message_sent_at | datetime | Last agent message timestamp |

| num_associated_contacts | number | Associated contacts count |

Common Workflows

Create a Support Ticket

  1. Find the contact - Call search_crm_objects (objectType: "contacts") to find the person reporting the issue
  2. Find the company - Call search_crm_objects (objectType: "companies") to find the client organization
  3. Create the ticket - Call manage_crm_objects (createRequest, objectType: "tickets") with subject, content, pipeline, stage, priority, and owner
  4. Associate with contact - Call manage_crm_objects (updateRequest with associations) from ticket to contact
  5. Associate with company - Call manage_crm_objects (updateRequest with associations) from ticket to company
  6. Log initial note - Call manage_crm_objects (createRequest, objectType: "notes") with associations to the new ticket to document initial triage findings

Search Tickets for a Client

  1. Find the company with search_crm_objects (objectType: "companies")
  2. Call search_crm_objects with objectType: "tickets" and an associatedWith filter on the company ID
  3. For each ticket ID, call get_crm_objects (objectType: "tickets") to get full details
  4. Filter by pipeline stage to find open tickets

Update Ticket Status

  1. Call get_crm_objects (objectType: "tickets") to confirm current state
  2. Call manage_crm_objects (updateRequest, objectType: "tickets") with the new hs_pipeline_stage
  3. If closing, include hs_resolution describing the fix
  4. Call manage_crm_objects (createRequest, objectType: "notes") with associations to the ticket to log the status change details

Ticket Volume Report for a Client

  1. Find the company with search_crm_objects (objectType: "companies")
  2. Call search_crm_objects (associatedWith filter) to get all tickets
  3. Retrieve each ticket and categorize by:
  1. Calculate average resolution time and ticket volume trends

Escalation Workflow

  1. Call get_crm_objects (objectType: "tickets") to review the current ticket
  2. Call manage_crm_objects (updateRequest, objectType: "tickets") to set hs_ticket_priority to HIGH
  3. Call manage_crm_objects (updateRequest, objectType: "tickets") to reassign hubspot_owner_id to the escalation engineer
  4. Call manage_crm_objects (createRequest, objectType: "notes") with associations to the ticket to document the escalation reason
  5. Call manage_crm_objects (createRequest, objectType: "tasks") to create a follow-up task for the assigned engineer

Response Examples

Single Ticket:

{
  "id": "77777",
  "properties": {
    "subject": "Email delivery issues - Acme Corp",
    "content": "Client reports intermittent email delivery failures since Monday morning.",
    "hs_pipeline": "0",
    "hs_pipeline_stage": "2",
    "hs_ticket_priority": "HIGH",
    "hubspot_owner_id": "67890",
    "source_type": "EMAIL",
    "createdate": "2026-02-20T09:15:00.000Z",
    "lastmodifieddate": "2026-02-21T14:30:00.000Z",
    "closed_date": null,
    "num_associated_contacts": "1"
  },
  "createdAt": "2026-02-20T09:15:00.000Z",
  "updatedAt": "2026-02-21T14:30:00.000Z"
}

Error Handling

Common Errors

| Error | Cause | Resolution |

|-------|-------|------------|

| Ticket not found | Invalid ticket ID | Verify the ID by checking associations or searching |

| Invalid pipeline | Pipeline ID not recognized | Check your HubSpot account for available pipelines |

| Invalid pipeline stage | Stage ID not valid for the pipeline | Use a valid stage ID for the selected pipeline |

| Invalid priority | Priority value not recognized | Use LOW, MEDIUM, or HIGH |

| Rate limited | Too many requests | Wait 10 seconds and retry |

Best Practices

  1. Write clear subjects - Include the client name and a brief issue description in the subject
  2. Set priority accurately - Use HIGH sparingly to maintain urgency signal integrity
  3. Associate with contact and company - Always link tickets to both for full context
  4. Update stages promptly - Move tickets through stages as work progresses
  5. Document resolutions - Always fill in hs_resolution when closing tickets
  6. Track SLA deadlines - Monitor hs_time_to_first_response_sla_due_date and hs_time_to_close_sla_due_date
  7. Assign owners - Every ticket should have a hubspot_owner_id for accountability
  8. Log notes on progress - Create notes to document troubleshooting steps and findings
  9. Categorize consistently - Use standardized categories for accurate reporting
  10. Review open tickets regularly - Check for stale or forgotten tickets weekly

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.