# form-inbox

Take a website form submission safely (validation, honeypot, rate of fill) into a CSV or Google Sheet

- **Space:** forms-and-surveys-public (https://github.com/Tech-Realm/space-forms-and-surveys-public/tree/main/form-inbox)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3, docker
- **Routes:** local-csv, formbricks, apps-script-sheet; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use forms-and-surveys-public/form-inbox` or MCP `get_pack forms-and-surveys-public/form-inbox`
- **Files:** CHANGELOG.md, code/form.json, code/form_inbox.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Take a website form submission safely (validation, honeypot, rate of fill) into a CSV or Google Sheet.

## Steps

1. Describe the form in `code/form.json` (fields, required, email, options, max length, honeypot, minimum fill seconds).
2. Serve: `python3 code/form_inbox.py serve code/form.json out/inbox.csv`; the HTML form posts to /submit with a hidden `_started` timestamp and an empty `website` field.
3. Spam gets a normal-looking redirect and is not stored; invalid input gets 400.
4. 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.



---

Canonical URL: https://logicpacks.io/packs/forms-and-surveys-public/form-inbox

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