Skip to content

Packs / helpdesk-and-support-public

canned-replies-and-csat

Send consistent canned replies (no unfilled placeholders) and measure CSAT per agent

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-helpdesk-and-support-public

Install

logicpacks pack use helpdesk-and-support-public/canned-replies-and-csat
get_pack helpdesk-and-support-public/canned-replies-and-csat

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: stdlib-referencechatwoot-canned
  • Checks: 3 in outcome/checks.yaml
  • Code: macros.jsonmacros.pyrefflow.pyschema.json
  • Tools: python3, docker

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Send consistent canned replies (no unfilled placeholders) and measure CSAT per agent. Our reference flow (code/refflow.py, stdlib sqlite) proves the records, allowed moves, numbers and export; the same rules carry over to the self-hosted app.

Steps

  1. Keep replies in code/macros.json with {{placeholders}}; render with python3 code/macros.py render code/macros.json greeting name=Sam hours=4.
  2. Rendering refuses to send if any placeholder is left unfilled.
  3. Ask CSAT (1-5) when a ticket is solved; store one response per ticket.
  4. Report average CSAT overall and per agent (refflow average).

Edge cases

  • Scores outside 1-5 or non-numbers are rejected.
  • Small samples: show n next to every average.

Don'ts

  • Don't promise refund dates the payment provider does not guarantee.
  • Don't rank agents on fewer than 20 responses.

Check

lp pack check helpdesk-and-support/canned-replies-and-csat runs outcome/checks.yaml.