Webhook to Sheet Lab
Receive webhooks, append sheet-like rows in Redis/memory, and replay a captured payload.
Run this experiment yourself
Demos are not embedded on this site. Deploy a standalone copy on Vercel or run the experiment app locally.
Local development
cd apps/experiments/webhook-to-sheet-lab pnpm install pnpm dev
Then open http://localhost:3010.
This is an experimental demo. Use it as a starting point for your own projects.
Webhook to Sheet Lab is a Wave 3 Batch H composition lab. Pure helpers live in logic.ts; missing providers or stores degrade honestly (never fabricate AI output).
Features
- Webhook ingest - sheet rows
- List + replay last payload
- Redis/memory store
API Reference
POST /api/hook · GET /api/rows · POST /api/replay
{ "event": "signup", "email": "a@b.co" }| Status | Cause |
|---|---|
200 | Success |
400 | Invalid body |
Implementation Details
Validate
Inputs are length-capped in logic.ts; APIs return 400 for missing fields.
Run
Route Handlers compose AI SDK, Redis/Neon, or ImageResponse as documented. Fallbacks include honest notes.
Limitations
- Not Google Sheets API.
- No auth on public deploys.
- Demo-scale caps.
Use in your project
Copy the Route Handler(s) and logic.ts from apps/experiments/webhook-to-sheet-lab/.
Deployment
Local Development
cd apps/experiments/webhook-to-sheet-lab
pnpm install
pnpm devConfiguration
| Variable | Required | Purpose |
|---|---|---|
UPSTASH_REDIS_REST_* | No | Durable rows |