configure_webhooks
Modify webhook configuration for WhatsApp Business automation by setting URL, events, and security parameters to receive real-time notifications.
Instructions
Configurar webhooks — Modifica la configuracion de webhooks. IMPORTANTE: Antes de llamar esta accion, llama SIEMPRE a get_webhook_config para ver la configuracion actual y confirmar con el usuario que datos quiere cambiar. Solo llama esta accion cuando tengas los datos concretos (URL, eventos, etc). Tras llamar esta accion, el sistema pedira confirmacion con botones - NO vuelvas a llamar a esta accion. [mutation] (requiere confirmación: pasar confirm=true para ejecutar)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_enabled | Yes | true para activar webhooks | |
| webhook_url | No | URL del endpoint que recibira los webhooks | |
| webhook_secret | No | Secret para verificar la firma HMAC-SHA256 | |
| webhook_events | No | Lista de eventos a enviar. Disponibles: phone.detected (nuevo telefono detectado), followup.detected (Seguimiento Inteligente detecta intencion de compra), followup.replied (cliente respondio al seguimiento), followup.converted (cliente compro tras el seguimiento), plugin_chat.session_closed (conversacion de chat web cerrada por inactividad) | |
| confirm | No | Pasar true para confirmar la ejecución de esta acción peligrosa |