Skip to content
Kaizena FlowDocs
Search

Search the docs

deal.stage_changed

Deal moved: a deal moved to another stage of its pipeline: by a person, or because its quote or contract was sent.

  • Topic: deal.stage_changed, in the Kaizena-Webhook-Topic header and the body's topic

  • Sent to: Your own endpoints, and apps

  • About: the deal, under data.deal

  • Payload version: 1

Payload

FieldTypeDescription
idstring (uuid)The delivery's id: the same when a delivery is sent again, so a receiver can do it once.
topic"deal.stage_changed"
version1The payload's version; a change to a shape raises it.
storeobject
store.slugstring
store.namestring
created_atstring (date-time)When the event happened.
dataobject
data.dealobject
data.deal.idstring (uuid)
data.deal.titlestring
data.deal.statusone of open, won, lost
data.deal.pipelineobject
data.deal.pipeline.idstring (uuid)
data.deal.pipeline.namestring
data.deal.stageobject
data.deal.stage.idstring (uuid)
data.deal.stage.namestring
data.deal.stage.positionintegerIts place in the pipeline, from 0.
data.deal.valuenumber or nullWhat the deal is worth in currency: its linked orders', quotes' and Work assignments' amounts, or the estimate while nothing is linked; null when there is neither.
data.deal.currencystringThe store's main currency, which value is in.
data.deal.customer_idstring (uuid) or null
data.deal.company_idstring (uuid) or null
data.deal.owner_idstring (uuid) or nullThe staff member who owns the deal.
data.deal.expected_close_onstring or nullA date, YYYY-MM-DD.
data.deal.closed_atstring (date-time) or null
data.deal.closed_viaone of person, order, work_invoice, platform, contract or nullWhat closed it: a person, a paid order, an issued Work invoice, Kaizena Flow's own records or a signed contract.
data.deal.stage_entered_atstring (date-time)
data.deal.created_atstring (date-time)
data.deal.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "deal.stage_changed",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "deal": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "title": "Linen shirt",
      "status": "open",
      "pipeline": {
        "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
        "name": "Example"
      },
      "stage": {
        "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
        "name": "Example",
        "position": 1
      },
      "value": 1,
      "currency": "NOK",
      "customer_id": "0af2dcd1-60e1-45c6-9774-425ae857a555",
      "company_id": "81fce656-4030-4f84-ad6f-c3bd6e5b8285",
      "owner_id": "8f3a55b2-b201-4e08-8de8-8bd1c4eb0b69",
      "expected_close_on": "example",
      "closed_at": "2026-11-03T09:30:00Z",
      "closed_via": "person",
      "stage_entered_at": "2026-11-03T09:30:00Z",
      "created_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

Each delivery carries the headers every topic has and is signed: check the signature before you trust it. One not answered with a 2xx status is tried again.

Made from the API contract, version 1.57This page as Markdown

Was this page helpful?