Skip to content
Kaizena FlowDocs
Search

Search the docs

experiment.answered

A/B test has an answer: a running A/B test has an answer for the first time: its verdict, the version that did best and each version's figures.

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

  • Sent to: Your own endpoints, Zapier, Make and Slack, and apps

  • About: the experiment, under data.experiment

  • 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"experiment.answered"
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.experimentobject
data.experiment.idstring (uuid)
data.experiment.namestring
data.experiment.goalone of orders, revenue, cart, checkout, click, form, signup, pageWhat the test counts: paid orders, revenue per visitor, adding to the cart, reaching checkout, a click, a form sent, going on to a chosen page or (Kaizena Flow's own store only) a sign-up to Kaizena Flow.
data.experiment.targetobject
data.experiment.target.kindone of page, layout, header, footer, roleA page, a product layout, the header, the footer, or a page with a place of its own (the front page, the cart, …).
data.experiment.target.titlestring
data.experiment.target.addressstring or nullA page's address on the site, such as /about; null for a page with a place of its own, a header, footer or product layout.
data.experiment.target.partstring or nullThe row or component tested, when only a part of the page was.
data.experiment.statusone of running, stopped, applied, discardedWhere the test is when the event is sent: still running, stopped, a version applied, or the original kept.
data.experiment.verdictone of better, worse, even, broken, early, fewbetter: a version did clearly better; worse: the original did; even: no clear difference; broken: the visitors were not divided as planned; early or few: no answer (yet), which an answered test only shows when it was built again later.
data.experiment.beststring or nullFor better: the version that did clearly better (b, c, …); null otherwise.
data.experiment.headlinestringThe verdict in one sentence, in English.
data.experiment.daysintegerDays the test has run.
data.experiment.versionslist of objects
data.experiment.versions[].keystringa is the original.
data.experiment.versions[].namestring
data.experiment.versions[].visitorsintegerVisitors counted in the version: only those who accepted statistics cookies.
data.experiment.versions[].conversionsinteger or nullVisitors who did the goal; null for revenue per visitor.
data.experiment.versions[].ratenumber or nullconversions / visitors as a share (0.112 is 11.2 %); null for revenue per visitor.
data.experiment.versions[].revenue_per_visitornumber or nullRevenue per visitor without VAT, in the store's main currency; null for the other goals.
data.experiment.currencystring
data.experiment.answered_atstring (date-time) or null
data.experiment.learningstring or nullWhat the owner wrote the test taught, once they have.
data.experiment.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "experiment.answered",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "experiment": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "name": "Example",
      "goal": "orders",
      "target": {
        "kind": "page",
        "title": "Linen shirt",
        "address": "/about",
        "part": "example"
      },
      "status": "running",
      "verdict": "better",
      "best": "example",
      "headline": "example",
      "days": 1,
      "versions": [
        {
          "key": "example",
          "name": "Example",
          "visitors": 1,
          "conversions": 1,
          "rate": 1,
          "revenue_per_visitor": 1
        }
      ],
      "currency": "NOK",
      "answered_at": "2026-11-03T09:30:00Z",
      "learning": "example",
      "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?