Configuración

Integraciones y credenciales

📡 Chatwoot

https://4399-5-225-181-86.ngrok-free.app/api/webhooks/chatwoot

Configura esta URL en Chatwoot → Settings → Integrations → Webhooks

Pasos para configurar el webhook:

  1. Ve a Settings → Integrations → Webhooks
  2. Haz clic en Add new webhook
  3. Pega la URL del webhook de arriba
  4. Activa los eventos: message_created, conversation_created, conversation_status_changed
  5. Guarda y listo

CHATWOOT_BASE_URL=https://app.chatwoot.com

CHATWOOT_API_TOKEN=tu-api-token

CHATWOOT_ACCOUNT_ID=tu-account-id

CHATWOOT_WEBHOOK_TOKEN=token-secreto-opcional

NEXT_PUBLIC_APP_URL=https://tu-dominio.com

🔑 Estado de credenciales

NEXT_PUBLIC_SUPABASE_URL✓ Configurado
CHATWOOT_BASE_URL✓ Configurado
CHATWOOT_API_TOKEN✓ Configurado
CHATWOOT_ACCOUNT_ID✓ Configurado
OPENAI_API_KEY✓ Configurado