Hi everyone — sharing a sample workflow I built for local businesses that get enquiries on WhatsApp but can’t reply fast enough (especially after hours).
What it does
- Webhook intake for WhatsApp Cloud API messages
- A Normalize step (Code node) turns the raw payload into a clean lead record
- Score & Route (Code node) scores each lead — Hot ≥ 70, Warm ≥ 45 — using service, budget and urgency signals
- Malformed payloads land in a dead-letter Google Sheet instead of breaking the flow
- Every lead is logged to Google Sheets; hot leads trigger an instant Gmail alert to the owner
- Auto-reply respects WhatsApp’s 24h window: free-form text inside the window, a template message to reopen it afterwards
Testing note: the two Code nodes are covered by 41 local assertions (scoring thresholds, malformed inputs, routing), all passing.
Workflow JSON + setup notes: GitHub - binbin7418-dotcom/whatsapp-lead-receptionist · GitHub
It’s a sample meant to be adapted — swap in your own services, keywords and reply texts. Feedback and edge cases welcome: what would you score differently?
I also build these to order for businesses; happy to answer setup questions here either way.