# canned-replies-and-csat

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

- **Space:** helpdesk-and-support-public (https://github.com/Tech-Realm/space-helpdesk-and-support-public/tree/main/canned-replies-and-csat)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** stdlib-reference, chatwoot-canned; checks: 3
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use helpdesk-and-support-public/canned-replies-and-csat` or MCP `get_pack helpdesk-and-support-public/canned-replies-and-csat`
- **Files:** CHANGELOG.md, code/macros.json, code/macros.py, code/refflow.py, code/schema.json, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/scenario.json, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (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.



---

Canonical URL: https://logicpacks.io/packs/helpdesk-and-support-public/canned-replies-and-csat

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
