Packs / forms-and-surveys-public
nps-survey
Collect NPS (0-10) answers, reject bad scores, compute NPS and export
Install
logicpacks pack use forms-and-surveys-public/nps-surveyget_pack forms-and-surveys-public/nps-surveyThe 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-referenceformbrickssaas - Checks: 2 in
outcome/checks.yaml - Code:
refflow.pyschema.json - Tools: python3, docker
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Collect NPS (0-10) answers, reject bad scores, compute NPS and export. 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
- One question: 'How likely are you to recommend us?' 0-10, plus an optional comment.
- NPS = % promoters (9-10) - % detractors (0-6).
- Export CSV for the monthly report.
Edge cases
- Show n with NPS; under 30 answers the number swings a lot.
Don'ts
- Don't link answers to phone numbers in the export.
Check
lp pack check forms-and-surveys/nps-survey runs outcome/checks.yaml.