Skip to content

Packs / forms-and-surveys-public

nps-survey

Collect NPS (0-10) answers, reject bad scores, compute NPS and export

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-forms-and-surveys-public

Install

logicpacks pack use forms-and-surveys-public/nps-survey
get_pack forms-and-surveys-public/nps-survey

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-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

  1. One question: 'How likely are you to recommend us?' 0-10, plus an optional comment.
  2. NPS = % promoters (9-10) - % detractors (0-6).
  3. 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.