Form Validation Pipeline with Custom JSON Response + Data Cleaning
The Problem: Web form hanging indefinitely after submission — no response being returned to the frontend. Data reaching the sheet uncleaned: inconsistent casing, unformatted phone numbers, empty required fields silently logged.
The Solution: Webhook → validation Router: empty email → immediate 400 JSON response (submission rejected). Valid email → Parse Phone Number module (native Make module — no fragile regex) → capitalized name → Google Sheets log → 200 JSON response. Frontend receives a response within seconds of submission.
The Result: → Form hang resolved immediately. 100% of logged data is clean and formatted. Invalid submissions are rejected before touching the sheet.


