Receive Botello events by webhook
Get notified in real time when a lead is created, a visitor asks for a human or an order is attributed to the assistant.
- Plans
- All plans
- Roles
- Owner, Admin
- In the admin
- Integrations › Webhooks
A webhook is a web address (URL) on your system. Botello sends it a JSON POST request every time an event happens: a new lead, a conversation handed over to the team, an order attributed to the assistant. This lets you feed your CRM, your ticketing tool or a Zapier, Make or n8n scenario, with nothing to copy by hand.
Sending every new lead to your CRM, alerting your team on Slack when a visitor asks for a human, counting the sales attributed to the assistant in your analytics tool.
Before you start
- Webhooks are enabled by the Botello team for your workspace. If the Webhooks card does not appear in Integrations, write to support@botello.ch.
- You are an Owner or Admin of the workspace.
- You need a public HTTPS URL that accepts a
POSTrequest and responds in under 10 seconds.http://addresses,localhostand private network addresses are rejected. - To try it without writing any code, first create your sandbox: it receives webhooks and checks their signature for you.
Create a webhook
Fill in the form
Click Add a webhook. Enter the Destination URL (https), tick the Events sent, and adjust the other fields if needed (see Settings). Click Create.

Copy the signing secret
After creation, Botello shows the webhook secret, which starts with whsec_. Copy it into your server configuration: it is used to verify the signature of every delivery. You can show it again later with Show signing secret, in the webhook menu.
Keep the secret on the server
Never put it in a web page, an email or a chat. If it has leaked, use Revoke immediately (see Rotate the secret without downtime).
Send a test
In the webhook menu, click Send a test event. Your endpoint receives a webhook.test event. A message tells you the HTTP status code returned by your server, and the delivery appears in the Delivery log.
Settings
| Setting | What it does | Tip |
|---|---|---|
| Destination URL (https) | The address that receives the events. HTTPS required, public addresses only. | With Zapier, Make or n8n, paste the URL provided by the tool. |
| Description (optional) | A name to help you find your way (200 characters at most). | “CRM”, “Sales team Slack”… |
| Events sent | The event types sent to this address. At least one. Ticked by default: lead.created and conversation.handoff_requested. | Events marked “one call per message, high volume” (message.received, products.recommended, contact.updated) generate a lot of deliveries. Only tick them if you need them. |
| Channels | Limits deliveries to events from one channel: Website, WhatsApp, Instagram, Messenger. None ticked = all channels. | Events without a channel (a lead, an API action, a closed conversation) are always sent. |
| Include personal data | On by default. When off, names, emails, phone numbers and message texts are replaced with null. Identifiers are kept. | Turn it off if your receiver does not need this data (data minimisation, Swiss FADP and GDPR). Details per event are in the catalog. |
| Headers sent | Up to 5 headers added to every delivery, for example the key your tool expects. Tick Secret for a sensitive value: it is encrypted and never shown again. | Reserved names are rejected: Host, Content-Type, User-Agent, Cookie, webhook-…, X-Botello-…. |
A workspace can have 10 webhooks at most.
Secret headers are tied to the domain
If you change the URL to an address on another domain, Botello refuses to save until you enter the secret header values again. This is intentional: someone who edits the URL cannot redirect your key to their own server.
What Botello sends
Each delivery is a POST request whose body is a JSON envelope that always has the same shape:
{
"id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
"type": "lead.created",
"apiVersion": "2026-10-07",
"createdAt": "2026-10-07T09:30:00.000Z",
"workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
"data": {
"lead": {
"id": "8f4c1b7e-5555-4a2b-9c3d-000000000005",
"name": "Jeanne Exemple",
"email": "jeanne@example.com",
"phone": "+41790000000",
"source": "handoff",
"chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
"visitorId": null,
"createdAt": "2026-10-07T09:30:00.000Z"
}
}
}The content of data for each type is described in the event catalog.
Prop
Type
Each request also carries these headers:
| Header | Content |
|---|---|
Content-Type | application/json |
User-Agent | Botello-Webhooks/2.0 |
X-Botello-Event | The event type, for example lead.created |
X-Botello-Event-Id | The event identifier (evt_…), same as id in the body |
X-Botello-Delivery | The identifier of this specific delivery (changes on every manual resend) |
X-Botello-Timestamp, X-Botello-Signature | The signature in Botello format |
webhook-id, webhook-timestamp, webhook-signature | The same signature in Standard Webhooks format |
Plus your own headers (Headers sent). Botello’s headers always take precedence over yours.
Ignore fields you don’t recognise
Within a given apiVersion, Botello adds fields but never renames or removes them. A breaking change will come with a new apiVersion value.
Delivery and retries
- Respond with a 2xx code in under 10 seconds. Do any long processing after responding, for example in a queue.
- Any other code, a timeout or a network error counts as a failure. Botello then retries up to 6 times: after 1 min, 5 min, 30 min, 2 h, 6 h and 12 h, ±20 %. In total, an event is attempted 7 times at most.
- If you respond
429or503with aRetry-Afterheader (in seconds or as an HTTP date), Botello waits that long if it is later than the next scheduled attempt, up to 6 h. - If you respond
410 Gone, the webhook is disabled immediately: you are saying the address no longer exists. - After at least 15 consecutive failures and no success for 24 h, the webhook is disabled automatically. Pending deliveries are marked as failed. Workspace admins are notified in the app.
- The same event can arrive twice (retry, manual resend). Deduplicate with
idor thewebhook-idheader. - Arrival order is not guaranteed, especially after a retry. Sort with
createdAt.
Test events (Send a test event) are never retried and do not count towards automatic disabling.
Rotate the secret without downtime
In the webhook menu:
- Regenerate secret creates a new secret. For 24 hours, every delivery is signed with the old and the new secret: the header contains two signatures separated by a space. Update your server during that time and nothing is lost. The “Rotation in progress” line shows until when the old secret still signs.
- Revoke immediately replaces the secret with no overlap. Only use it if the secret has leaked: your server will reject deliveries until it has the new one.
A second regeneration during the 24-hour overlap is refused. Wait until it ends, or revoke immediately.
Delivery log
The Delivery log keeps the last 100 deliveries of each webhook, for 30 days at most: date, event, status (Pending, Delivered, Failed), HTTP code, number of attempts. You can:
- filter by status;
- open a delivery to see the exact content sent;
- click Resend to send one specific delivery again;
- click Resend failures to retry the failed deliveries of the last 7 days (100 at most). The webhook must be active.
A resend keeps the same event id: your system can recognise the duplicate.
Examples
Troubleshooting
| What you see | Likely cause | Fix |
|---|---|---|
| The Webhooks card does not appear | Developer tools are not enabled for your workspace, or your role is not Admin | Write to support@botello.ch |
| “The URL must start with https://” | http:// URL | Use an HTTPS address |
| The URL is rejected even though it is HTTPS | It points to a private address or does not resolve | Use a public address, reachable from the Internet |
| Signature always invalid | The signature is computed on JSON that was parsed and re-encoded | Compute it on the raw request body |
| Signature invalid “now and then” | Your server clock is off | Sync the time (NTP): the tolerance is 5 minutes |
| Disabled status | Too many failures for more than 24 h, or your server responded 410 | Fix the server, click Enable, then Resend failures |
| Saving is refused after a URL change | The domain changed and the webhook has secret headers | Enter their values again |
| Nothing arrives | Event not ticked, or Channels filter too strict | Check Events sent and Channels, then send a test |
The name, email fields are null | Include personal data is off | Turn it on if your receiver needs it |
Frequently asked questions
Learn more
Recognize your signed-in customers (verified visitors)
Your server signs a token that says which customer is signed in. Botello verifies it and unlocks the actions reserved for verified visitors.
Webhook event catalog
Every event Botello can send, with its exact content and the fields removed when personal data is excluded.
