Case Studies: Systems in Production
How ZapLead builds WhatsApp agents, automation systems, and operating layers that keep revenue conversations moving.
Bonnies Bakery
Bakery / WhatsApp Ordering
A production WhatsApp ordering assistant and owner dashboard for Bonnies Bakery in Mulund, built to answer product questions, check live stock, take prepaid orders, and give the owner a live control room.
Problem
Bonnies Bakery's customers already ordered through WhatsApp, but the channel depended on fast human replies during rushes, after hours, and across Hindi, English, Marathi, and Hinglish. Routine questions about stock, price, delivery, and payment consumed owner time, while slow replies or wrong information risked lost orders.
System
- Node.js + TypeScript Express backend receiving Twilio WhatsApp webhooks
- 10-second message buffer so fragmented customer messages are interpreted together
- Claude agent with tool use for live Rista POS inventory, product photos, delivery validation, order status, and Razorpay payment links
- Supabase database, storage, and realtime message stream for conversation history, AI state, labels, contacts, and analytics
- Private owner dashboard with live chat, AI on/off takeover, manual replies, labels, contact notes, and analytics
- Monitoring and recovery layer with integration logs, pg_cron checks, stale Razorpay order polling, and paid-order fulfillment safeguards
Impact
Across the two-month production window, the system processed 20,123 WhatsApp messages from 1,248 active customers, sent 6,237 AI replies, and recorded 87 completed paid orders worth ₹70,665. The bot handled routine ordering at scale while the owner retained takeover control for custom, media-heavy, or payment-sensitive conversations.
Proof Points
- Backend is live on Render; the private owner dashboard is live on Netlify.
- All WhatsApp orders are designed around Razorpay advance payment before Rista POS fulfillment.
- Two-month production data shows 207 payment-link recipients, 41.1% phone-level link-to-paid conversion, and a 37 pickup / 50 delivery split.
- Customer behavior data shows 375 inbound media messages from 268 customers and 540 customers with custom or media-related intent.
- Peak demand concentrated around 11 AM-1 PM IST; the busiest day in the window was May 9, 2026 with 1,147 messages.
SSA Project
Outbound Lead Pipeline / AI Calling Ops
A cron-driven Apollo-to-Ringg pipeline that pulls leads from a saved Apollo list, deduplicates them against Supabase, builds a Ringg-compatible CSV, starts the outbound AI-calling campaign, and logs every run for auditability.
Problem
Outbound calling operations were dependent on manual list exports, spreadsheet cleanup, no-phone filtering, Ringg uploads, and remembering who had already been called. That made campaign execution slow, error-prone, and hard to audit after the fact.
System
- Three-layer architecture: markdown directives, Python orchestration, and deterministic execution scripts
- Apollo saved-list puller with extra filters, pagination, and exponential-backoff retries
- Supabase-backed dedup layer that checks `called_leads` before any lead is re-queued for calling
- CSV builder that drops no-phone leads and maps normalized Apollo fields into Ringg's upload schema
- Ringg integration that uploads the CSV, triggers `/campaign/start`, and only marks leads called after a successful start
- Per-run audit logging in Supabase `campaign_runs`, plus per-campaign YAML configs and a dry-run mode for safe staging
Impact
SSA Project turns outbound AI calling from a manual ops task into a reproducible cron job. Once a campaign config is set, one run can pull leads, remove duplicates, skip bad phone records, hand the batch to Ringg, and leave behind a queryable run log for debugging and reporting.
Proof Points
- The repo's approved design spec explicitly defines a cron-triggered Apollo -> dedup -> CSV -> Ringg -> Supabase flow.
- The sample campaign config `configs/campaigns/saas_demo_us.yaml` shows list-based Apollo sourcing, Ringg campaign mapping, and a dry-run mode.
- Tests cover Apollo pagination, dedup behavior, CSV generation, Ringg upload/start behavior, and end-to-end run orchestration.
- The initial migration creates `called_leads` and `campaign_runs`, which gives the pipeline durable audit state instead of spreadsheet memory.
Marathon Realty
Real Estate
A pre-sales automation system for real estate inquiries, call transcripts, WhatsApp communication, and AI-assisted analysis.
Problem
Pre-sales processes relied heavily on manual handling of call transcripts and customer communication. This resulted in operational delays, inconsistent follow-ups, limited analytical insights, and scalability constraints as inquiry volumes grew.
System
- Workflow and system architecture design
- End-to-end n8n automation for pre-sales call transcripts with AI-based diarisation and analysis
- WhatsApp chatbot integration via WATI + n8n with backend logic and frontend conversational flows
- Prompt engineering and AI logic configuration
- End-to-end testing, troubleshooting, and optimization for scalability
- Structured handoff for future expansion
Impact
Reduced manual workload, faster customer response times, structured and analyzable pre-sales data, and a scalable communication infrastructure. Marathon Realty transitioned from manual processes to an AI-driven, automation-first workflow.
Proof Points
- n8n workflows automated pre-sales call transcript processing and AI analysis.
- WhatsApp chatbot flows connected customer communication to backend automation logic.
- Structured handoff made future expansion easier for the internal team.
