Skip to content

Packs / forms-and-surveys-public

survey-results-rollup

Summarise survey answers: counts per option and average ratings per question, then export

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

Install

logicpacks pack use forms-and-surveys-public/survey-results-rollup
get_pack forms-and-surveys-public/survey-results-rollup

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

Summarise survey answers: counts per option and average ratings per question, then 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. Load answers as one row per response x question (Formbricks CSV export reshaped).
  2. Counts per option for choice questions; averages for rating questions.
  3. Export for the report.

Edge cases

  • Multi-select answers: one row per selected option.

Don'ts

  • Don't report a percentage without the n.

Check

lp pack check forms-and-surveys/survey-results-rollup runs outcome/checks.yaml.