📲 WhatsApp Leads

Connect Meta WhatsApp Cloud API — incoming messages auto-create leads in your CRM.

Checking configuration… Loading saved settings

⚠️ Meta requires a public HTTPS URL. Use ngrok: run ngrok http 1123 → copy the https://xxxx.ngrok-free.app URL → append /api/whatsapp/webhook

← Paste ngrok URL here to generate full webhook link
📋 One-Time Setup (Meta Developer Console)
1
Create a Meta App

Go to Meta Developer Console → Create App → Choose "Business" type → Add "WhatsApp" product.

🔗 developers.facebook.com/apps
2
Add Your Phone Number

WhatsApp → Getting Started → Add phone number → Verify with OTP sent to your WhatsApp number.

Copy the Phone Number ID shown on that page → paste below.

3
Get Temporary Access Token

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.

4
Configure Webhook

WhatsApp → Configuration → Edit Webhook → paste your ngrok URL + /api/whatsapp/webhook

Verify Token: cereveate2026 (or your custom token below)

Subscribe to: messages field.

5
Save Config Below & Test

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! ✅

⚙️ Configuration
Must match what you enter in Meta webhook config
Found in WhatsApp → Getting Started
Temporary (24h) or permanent system user token
For display only
✅ Saved!
✍️ Manual — Add Lead from Any WhatsApp Message

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.

📥 WhatsApp Leads Received

Incoming WhatsApp Leads

Loading…