Skip to Content
GuidesDevelopersResources
Webhooks

Webhook event catalog

Every event Botello can send, with its exact content and the fields removed when personal data is excluded.

On requestThe Botello team turns this feature on for your workspace. Contact us to get it.
Plans
All plans
Roles
Owner, Admin
In the admin
Integrations › Webhooks

This page lists every event you can tick in Events sent. For each one: when it is sent, whether it carries a channel (for the Channels filter), the fields set to null when Include personal data is off, and a complete example as your server receives it.

The examples are the ones the admin shows and lets you copy (Copy example). Format version: apiVersion = 2026-10-07.

Best for

Preparing your receiver code, mapping fields in Zapier, Make or n8n, deciding which events to tick.

Before you start

  • You have created a webhook: see Receive events.
  • All envelopes have the same shape: id, type, apiVersion, createdAt, workspaceId, data (and test: true for a test). Only data changes from one event to another.

Overview

EventSent when…ChannelVolume
lead.createdA visitor left their contact detailsnonormal
conversation.startedA new conversation startsyesnormal
conversation.handoff_requestedA human is requested (by the customer or after the assistant failed)yesnormal
conversation.assignedA conversation was assigned to a team memberyesnormal
conversation.closedThe team closed a conversationnonormal
message.receivedEvery message from a customeryeshigh
products.recommendedThe assistant showed productsyeshigh
order.attributedAn order is attributed to the assistant (direct or assisted)yesnormal
cart.recoveredAn abandoned cart was recoveredyesnormal
contact.updatedA contact (WhatsApp, Instagram…) was changedyeshigh
contact.consent_changedA contact gave or withdrew marketing consentyesnormal
action.executedAn API action succeedednonormal
action.failedAn API action failednonormal
webhook.testYou clicked Send a test eventno—

Channel: the possible values are web, whatsapp, instagram and messenger. An event without a channel is sent whatever the Channels filter.

High volume: the admin flags these with “one call per message, high volume”. They are not ticked by default.

Conversations and leads

lead.created

A visitor left their contact details, for example in the pre-chat form, in the team contact form, or to the assistant during the conversation.

Without personal data: lead.name, lead.email, lead.phone are null.

{
  "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": "chatbot",
      "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
      "visitorId": "v_7d2f9a1c3e5b",
      "createdAt": "2026-10-07T09:30:00.000Z"
    }
  }
}

visitorId is the visitor’s anonymous identifier, or null. source takes the same values as in the REST API: see GET /leads.

conversation.started

A new conversation starts. Internal test conversations trigger nothing.

Without personal data: no field removed.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "conversation.started",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
      "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
      "channel": "web",
      "createdAt": "2026-10-07T09:29:12.000Z"
    }
  }
}

conversation.handoff_requested

A human is requested. reason is customer_request (the customer asked for it) or engine_failure (the assistant could not answer). excerpt is an excerpt of the customer’s message, or null.

Without personal data: excerpt is null.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "conversation.handoff_requested",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
      "channel": "whatsapp"
    },
    "reason": "customer_request",
    "excerpt": "I'd like to speak to someone from the team"
  }
}

conversation.assigned

A conversation was assigned to a team member. assignee.id is the Botello user who receives it, assignedBy the person who assigned it.

Without personal data: assignedBy.name and contact.name are null.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "conversation.assigned",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
      "channel": "web"
    },
    "assignee": {
      "id": "8f4c1b7e-6666-4a2b-9c3d-000000000006"
    },
    "assignedBy": {
      "id": "8f4c1b7e-8888-4a2b-9c3d-000000000008",
      "name": "Marie"
    },
    "contact": {
      "name": "Jeanne Exemple"
    }
  }
}

conversation.closed

The team closed a conversation. closedBy is the team member who closed it.

Without personal data: closedBy.name is null.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "conversation.closed",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003"
    },
    "closedAt": "2026-10-07T10:02:00.000Z",
    "closedBy": {
      "id": "8f4c1b7e-6666-4a2b-9c3d-000000000006",
      "name": "Marie"
    }
  }
}

message.received

Every message written by a customer. Preview (Studio) conversations and internal tests trigger nothing.

Without personal data: message.text is null.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "message.received",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
      "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002"
    },
    "message": {
      "id": "8f4c1b7e-7777-4a2b-9c3d-000000000007",
      "role": "user",
      "text": "Do you have this model in size 40?",
      "createdAt": "2026-10-07T09:31:40.000Z"
    }
  }
}

The real delivery also adds conversation.channel (for example "web").

Commerce

products.recommended

The assistant showed products in its answer. products contains 20 products at most. Each field of a product can be null. Nothing is sent for the preview or internal tests.

Without personal data: no field removed.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "products.recommended",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "conversation": {
      "id": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
      "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
      "channel": "web"
    },
    "messageId": "8f4c1b7e-9999-4a2b-9c3d-000000000009",
    "products": [
      {
        "id": "8f4c1b7e-aaaa-4a2b-9c3d-00000000000a",
        "title": "Classic Watch 40 mm",
        "variantId": "4410022",
        "url": "https://shop.example.com/products/classique-40"
      }
    ]
  }
}

order.attributed

A store order is attributed to the assistant. tier is direct or assisted. order.id is the order identifier in your store.

Without personal data: no field removed.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "order.attributed",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "order": {
      "id": "5839201934",
      "amount": 249,
      "currency": "CHF",
      "occurredAt": "2026-10-07T11:15:00.000Z"
    },
    "tier": "assisted",
    "channel": "whatsapp",
    "conversationId": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
    "contactId": "8f4c1b7e-4444-4a2b-9c3d-000000000004",
    "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002"
  }
}
  • direct: the order contains the products the assistant added to the visitor’s cart. This is the strongest link.
  • assisted: no cart from the assistant, but the same customer (same email or same phone number as a lead or a contact) ordered within the Assisted window following their last message: 72 hours by default, adjustable from 1 to 168 hours. This is a correlation, not proof.

A direct order is never also assisted. An order from the same customer outside the window sends no event. The event is sent only once per order; amount is the item total after line discounts, without shipping, in the order’s currency.

cart.recovered

An abandoned cart was recovered thanks to the reminders. stepsSent is the number of reminders sent before the purchase.

Without personal data: no field removed.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "cart.recovered",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "checkout": {
      "id": "chk_7Yh2Q"
    },
    "orderId": "5839201934",
    "total": 249,
    "currency": "CHF",
    "channel": "whatsapp",
    "contactId": "8f4c1b7e-4444-4a2b-9c3d-000000000004",
    "stepsSent": 2,
    "at": "2026-10-07T11:15:00.000Z"
  }
}

Contacts

contact.updated

A contact on a messaging channel (WhatsApp, Instagram, Messenger) was created or changed: name, number, language, tags, consent.

Without personal data: contact.name, contact.username, contact.phone are null.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "contact.updated",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "contact": {
      "id": "8f4c1b7e-4444-4a2b-9c3d-000000000004",
      "channel": "whatsapp",
      "name": "Jeanne Exemple",
      "username": null,
      "phone": "+41790000000",
      "language": "fr",
      "tags": ["vip"],
      "marketingConsent": "opted_in",
      "updatedAt": "2026-10-07T09:45:00.000Z"
    }
  }
}

contact.consent_changed

A contact gave (opt_in) or withdrew (opt_out) their marketing consent. source says where the change came from, for example checkout.

Without personal data: no field removed.

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "contact.consent_changed",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "contact": {
      "id": "8f4c1b7e-4444-4a2b-9c3d-000000000004"
    },
    "channel": "whatsapp",
    "action": "opt_in",
    "source": "checkout",
    "at": "2026-10-07T08:00:00.000Z"
  }
}

API actions

These two events track the API actions run by the assistant in a real conversation. They never contain the values sent or your API’s response: only the action, the HTTP code and the duration. Tests (Test), the Studio preview and calls rejected by the call limit trigger nothing.

action.executed

An API action succeeded (2xx response).

{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "action.executed",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "action": {
      "id": "8f4c1b7e-bbbb-4a2b-9c3d-00000000000b",
      "name": "order_status"
    },
    "conversationId": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
    "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
    "httpStatus": 200,
    "durationMs": 184
  }
}

action.failed

An API action failed. httpStatus is null when no response arrived. error is one of:

errorMeaning
http_errorYour API responded with a non-2xx code
timeoutNo response within the action’s timeout
unreachableServer unreachable (DNS, network)
blocked_addressThe address points to a private network: rejected
invalid_configurationInvalid configuration (missing secret, rejected value)
auth_failedThe OAuth token could not be obtained
{
  "id": "evt_3f9a0c1d2e4b4c5d8e7f6a5b4c3d2e1f",
  "type": "action.failed",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "data": {
    "action": {
      "id": "8f4c1b7e-bbbb-4a2b-9c3d-00000000000b",
      "name": "order_status"
    },
    "conversationId": "8f4c1b7e-3333-4a2b-9c3d-000000000003",
    "chatbotId": "8f4c1b7e-2222-4a2b-9c3d-000000000002",
    "httpStatus": 503,
    "error": "http_error",
    "durationMs": 10003
  }
}

Test

webhook.test

Sent when you click Send a test event, whatever events are ticked. It carries "test": true. The data.message text is sent as is, in French.

{
  "id": "evt_0b6d2c41a9e84f0c9d3b7a1e5f2c8d40",
  "type": "webhook.test",
  "apiVersion": "2026-10-07",
  "createdAt": "2026-10-07T09:30:00.000Z",
  "workspaceId": "8f4c1b7e-1111-4a2b-9c3d-000000000001",
  "test": true,
  "data": {
    "message": "Événement de test envoyé depuis Botello."
  }
}

Troubleshooting

What you seeLikely causeFix
An expected event never arrivesIt is not ticked, or the Channels filter excludes itTick it, or clear the Channels filter
message.received does not arrive during your testsYou are testing in the Studio previewTest on your website, or use Send a test event
Too many deliveriesA high-volume event is tickedUntick message.received, products.recommended or contact.updated
Your code crashes on a missing fieldYour code requires a specific fieldRead each field leniently: fields can be added, and some are null

Frequently asked questions

Learn more

Was this page helpful?
Checked against the product on 14 November 2026 Suggest a fix

On this page