Packs / helpdesk-and-support-public
canned-replies-and-csat
Send consistent canned replies (no unfilled placeholders) and measure CSAT per agent
Install
logicpacks pack use helpdesk-and-support-public/canned-replies-and-csatget_pack helpdesk-and-support-public/canned-replies-and-csatThe 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
- Keep replies in
code/macros.jsonwith {{placeholders}}; render withpython3 code/macros.py render code/macros.json greeting name=Sam hours=4. - Rendering refuses to send if any placeholder is left unfilled.
- Ask CSAT (1-5) when a ticket is solved; store one response per ticket.
- 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.