Packs / forms-and-surveys-public
form-inbox
Take a website form submission safely (validation, honeypot, rate of fill) into a CSV or Google Sheet
Install
logicpacks pack use forms-and-surveys-public/form-inboxget_pack forms-and-surveys-public/form-inboxThe 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:
local-csvformbricksapps-script-sheet - Checks: 1 in
outcome/checks.yaml - Code:
form.jsonform_inbox.py - Tools: python3, docker
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Take a website form submission safely (validation, honeypot, rate of fill) into a CSV or Google Sheet.
Steps
- Describe the form in
code/form.json(fields, required, email, options, max length, honeypot, minimum fill seconds). - Serve:
python3 code/form_inbox.py serve code/form.json out/inbox.csv; the HTML form posts to /submit with a hidden_startedtimestamp and an emptywebsitefield. - Spam gets a normal-looking redirect and is not stored; invalid input gets 400.
- Run
python3 code/form_inbox.py selftest code/form.json.
Edge cases
- Behind a proxy, rate limits per IP need the CF-Connecting-IP header.
- Google Sheets forwarding adds 1-2 s per submission.
Don'ts
- Don't log message bodies to stdout.
- Don't expose the port directly to the internet.
Check
lp pack check forms-and-surveys/form-inbox runs outcome/checks.yaml.