Twilio WhatsApp Integration
WhatsApp Business API · Drip Campaigns · Two-Way Messaging
3
/send · /webhook · /drip
11
Pre-approved WABA
3
Campaign types
Ready
/api/twilio/webhook
Integration Architecture
Outbound Messaging
POST /api/twilio/send — Send individual messages, template messages, or stage-triggered messages to leads
Inbound Webhook
POST /api/twilio/webhook — Receives incoming WhatsApp replies, handles STOP/START opt-out/opt-in keywords
Drip Campaign Enrollment
POST /api/twilio/drip — Enroll leads into multi-day sequences. Day 0 sends immediately; subsequent days require a scheduler.
Stage-Based Triggers
Automatic WhatsApp messages fire when a lead's stage changes (New → Contacted → Interested → Counseling Scheduled)
Opt-in / Compliance
STOP keyword triggers opt-out. START re-subscribes. All messages use pre-approved WABA templates.
Twilio Console Configuration
Webhook URL (Incoming Messages)
https://neetnaviga9114.builtwithrocket.new/api/twilio/webhookHTTP Method
POSTSet this URL in your Twilio Console under Messaging → WhatsApp Senders → [Your Number] → A message comes in.