# lead.deal_made

> Lead made a deal: someone made a deal of a lead: the person became a customer if they were not one, and a deal about them opened.

- **Topic:** `lead.deal_made`, in the `Kaizena-Webhook-Topic` header and the body's `topic`
- **Sent to:** Your own endpoints, and apps
- **About:** the `lead`, under `data.lead`
- **Payload version:** 1

## Payload {#payload}

| Field | Type | Description |
|---|---|---|
| `id` | string (uuid) | The delivery's id: the same when a delivery is sent again, so a receiver can do it once. |
| `topic` | `"lead.deal_made"` |   |
| `version` | `1` | The payload's version; a change to a shape raises it. |
| `store` | object |   |
| `store.slug` | string |   |
| `store.name` | string |   |
| `created_at` | string (date-time) | When the event happened. |
| `data` | object |   |
| `data.lead` | object |   |
| `data.lead.id` | string (uuid) | The decision's id: one per person and store, the latest decision. |
| `data.lead.decision` | one of `dismissed`, `deal` | Set aside, or made a deal of. |
| `data.lead.deal_id` | string (uuid) or null | The deal made of the lead. |
| `data.lead.customer_id` | string (uuid) or null | The store's customer with the lead's address, when there is one: always, once a deal is made. |
| `data.lead.requests` | list of objects | What the person asked for in the 90 days before the decision, newest first, as ids. |
| `data.lead.requests[].kind` | one of `quote`, `question`, `chat`, `subscriber` | What they asked for: a quote, a question (a form or the email form), a chat, or to join the email list. |
| `data.lead.requests[].source` | one of `draft`, `form`, `conversation`, `subscriber` | Where it is kept: a draft order, a form's response, a support conversation or a subscriber. |
| `data.lead.requests[].id` | string (uuid) | That record's id. |
| `data.lead.requests[].at` | string (date-time) |   |
| `data.lead.decided_by` | string (uuid) or null | The staff member who decided. |
| `data.lead.decided_at` | string (date-time) |   |
| `data.lead.admin_url` | string | Where it is in the store's admin; empty in a sample. |

## Example {#example}

```json
{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "lead.deal_made",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "lead": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "decision": "deal",
      "deal_id": "52d64847-0f21-406e-b255-6970165ca371",
      "customer_id": "0af2dcd1-60e1-45c6-9774-425ae857a555",
      "requests": [
        {
          "kind": "quote",
          "source": "draft",
          "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
          "at": "2026-11-03T09:30:00Z"
        }
      ],
      "decided_by": "a6d22feb-ec8c-4284-a98b-73d0ddf9c721",
      "decided_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}
```

Every value is an example of its type, not a real store's.

## Signature and retries {#signature}

Each delivery carries the [headers](https://docs.kaizenaflow.com/reference/webhooks#headers) every topic has and is signed: [check the signature](https://docs.kaizenaflow.com/reference/webhooks#signature) before you trust it. One not answered with a 2xx status is [tried again](https://docs.kaizenaflow.com/reference/webhooks#retries).

---

https://docs.kaizenaflow.com/reference/webhooks/lead-deal-made · made from the API contract 1.57
