Connect Meta WhatsApp Cloud API — incoming messages auto-create leads in your CRM.
⚠️ Meta requires a public HTTPS URL. Use ngrok:
run ngrok http 1123
→ copy the https://xxxx.ngrok-free.app URL → append /api/whatsapp/webhook
Go to Meta Developer Console → Create App → Choose "Business" type → Add "WhatsApp" product.
🔗 developers.facebook.com/appsWhatsApp → Getting Started → Add phone number → Verify with OTP sent to your WhatsApp number.
Copy the Phone Number ID shown on that page → paste below.
On the same Getting Started page → copy the Temporary Access Token (valid 24h for testing).
For permanent use: create a System User in Business Manager → generate permanent token.
WhatsApp → Configuration → Edit Webhook → paste your ngrok URL + /api/whatsapp/webhook
Verify Token: cereveate2026 (or your custom token below)
Subscribe to: messages field.
Fill in Phone Number ID + Access Token below → Save → Someone sends a WhatsApp message to your number → it appears in the leads table below automatically! ✅
Received a message on WhatsApp and want to add that person as a lead? Just enter their mobile number + paste their message — the system will parse name, city, program and save it to CRM.