Psa integration

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

Psa integration is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Wiring a TimeZest scheduling request into a PSA: the associatedEntities payload shapes for ConnectWise, Autotask, and Halo tickets, the difference between the pod and generate_url trigger modes, and the causes of bookings that complete but never update the PSA ticket.

How to use this skill

Skill file

TimeZest PSA Integration

TimeZest exists to couple customer scheduling to the MSP's PSA. The

booking page is incidental — the value is that a confirmed slot lands

on the ConnectWise / Autotask / Halo ticket, on the technician's PSA

calendar, and in the billing record. Two parts of the scheduling

request payload carry that coupling: associatedEntities and

triggerMode.

Anti-triggers

This skill shapes the TimeZest side of the link. It has no PSA

credentials and cannot read or write a ticket:

entries, assignment; use connectwise, halopsa, or the autotask

plugin.

happen in the PSA; arrive here with the ID already resolved.

notification templates, and the TimeZest app install are configured

in the PSA and in the TimeZest web UI, not through these tools.

a request stuck before delivery is a scheduling-request state

question; use timezest-scheduling.

`associatedEntities` — the PSA link

Every timezest_scheduling_create_request call should carry an

associatedEntities array. Each entry links the booking to one PSA

record:

{
  "associatedEntities": [
    {
      "type": "connectwise",
      "id": "88421",
      "number": "88421"
    }
  ]
}

| Field | Required | Meaning |

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

| type | Yes | PSA system — one of connectwise, autotask, halo |

| id | Yes | The PSA entity ID |

| number | No | Human-readable ticket reference |

A scheduling request created with no associatedEntities is an

orphan — nobody can find the booking from the PSA side later. Always

attach the association.

`triggerMode` — pod vs generate_url

| Mode | What it does | Use when |

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

| pod | Fires the configured PSA workflow on booking — updates the ticket, logs activity, delivers the link via the PSA's notification path | Normal ticket-driven bookings |

| generate_url | Returns a bookingUrl for the dispatcher to paste manually; no PSA workflow fires | Ad-hoc links, custom emails, testing |

pod is the right default for any booking tied to a ticket.

generate_url against a ticket is usually a mistake worth confirming.

Common Workflows

Build a PSA-linked booking

  1. Identify the PSA system the ticket lives in (connectwise,

autotask, or halo) — critical when the MSP runs more than one

PSA in parallel.

  1. Build the associatedEntities entry with type, id, and

number when known.

  1. Set triggerMode: "pod" unless the dispatcher specifically wants a

manual link.

  1. Pass both into timezest_scheduling_create_request.

Audit requests for PSA association

  1. Call timezest_scheduling_list.
  2. Inspect each request's associatedEntities and bucket:

the MSP's PSA mix

  1. Pull timezest_scheduling_get for any orphan or suspect request.

Diagnose a booking that did not sync

  1. timezest_scheduling_get the request — confirm it is booked.
  2. Check triggerMode: a generate_url request never fires the PSA

workflow, so the ticket was never meant to update automatically.

  1. Check associatedEntities: a missing or wrong-type association

means the workflow had nothing to update.

  1. Remediation: re-create with a corrected payload, or add a manual

PSA note so the booking is not lost.

Edge Cases

side. The type enum must match the ticket's actual system.

autotask resolves to nothing. Verify the pairing.

update. Flag and confirm intent.

Best Practices

entry.

by humans.

workflow confirms the PSA was updated.

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.