Pipeline Snapshot
0
Total Leads
0
New / Unprocessed
0
Inactive Patients (Recall)
0
Upcoming Appts (Unconfirmed)
0
Messages (24h)

Automation Capabilities
Lead Capture → GHL Pipeline
Website forms + Facebook/Instagram Lead Ads → GoHighLevel contact pipeline. Webhook endpoint: POST /webhooks/ghl
AI WhatsApp Bot (24/7)
Qualifies leads via conversation: name → phone → reason → booking confirmation. Emergency keywords flagged immediately.
Appointment Reminders
SMS + WhatsApp reminders sent 24h before appointment. Trigger via POST /api/trigger/reminders
Recall Campaign (Inactive Patients)
Auto-detects patients inactive > 90 days. Sends personalized recall messages. Trigger via POST /api/trigger/recall

API Endpoints
GET
/api/clinic
Clinic configuration
GET
/api/leads
All leads with status
GET
/api/patients/inactive?days=90
Patients needing recall
GET
/api/appointments/upcoming
Appts needing reminders
POST
/api/trigger/reminders
Send all pending reminders
POST
/api/trigger/recall
Run inactive patient campaign
POST
/webhooks/ghl
GoHighLevel inbound webhook
POST
/webhooks/whatsapp/inbound
Twilio WhatsApp inbound

Integration Status
GoHighLevel (GHL)
WhatsApp (Twilio)
OpenAI (qualification engine)
PostgreSQL (Neon)

Configure GHL API keys and Twilio credentials in your app environment variables to activate outbound messaging.