A webhook connects a rule to your own server: instead of replying with fixed text or AI, Yammbot asks your server what to reply.
How it works
Yammbot sends your server every message — who wrote it, the text and whether it’s a group — and replies with whatever your server returns. You set this up on a rule, under Cómo se genera la respuesta › Webhook (How the reply is generated › Webhook).
Configuration
- URL del webhook (Webhook URL) — must start with
https://orhttp://. - Usuario (User) and Contraseña (Basic Auth) (Password (Basic Auth)) — only if your server requires authentication. Otherwise leave it blank.
- Cabeceras (Headers) — optional. For example, an
Authorizationheader with the valueBearerfollowed by your token.
When to use it
A webhook makes sense when you already have your own system that should decide the reply: a catalog, a booking system, a CRM. If what you need is for Yammbo POS to build orders and charge by chat, use the direct Yammbo POS connection instead of a generic webhook.
If it fails
If your server doesn’t respond or returns an error, the rule sends nothing and it’s logged in the history as «Error del webhook» (Webhook error). Check that the URL, user and password are correct and that your server is reachable — see the full table of reasons in App messages and what they mean.