Canales
Conecta tus canales — los agentes responderán automáticamente
Exponer webhooks localmente
npm install -g ngrok→ngrok http 3001→copia la URL https://xxxx.ngrok.ioPASOS
- 1Crear app en Meta for Developers → Agregar producto "WhatsApp"
- 2Obtener Phone Number ID y Access Token permanente
- 3Agregar WHATSAPP_ACCESS_TOKEN y WHATSAPP_PHONE_NUMBER_ID en .env
- 4Configurar webhook URL: https://tu-dominio/webhooks/whatsapp
- 5Usar el mismo META_VERIFY_TOKEN en .env y en Meta Dashboard
VARIABLES .env
WHATSAPP_ACCESS_TOKEN=WHATSAPP_PHONE_NUMBER_ID=META_VERIFY_TOKEN=WEBHOOK URL
https://tu-dominio.com/webhooks/whatsapp