Docs

Scheduled reports and webhooks

Get a test's results by email, and notify your own tools when a test starts, ends or finds a winner.

Both are set up per test, on the test's Settings tab.

Scheduled reports

Send a test's current results to an email address on a schedule.

  1. Choose how often

    Under Scheduled reports, choose Daily report or Weekly digest. Disabled turns reports off.

  2. Enter the recipient

    Enter an address under Recipient email and click Save report settings.

  3. Confirm the address

    The recipient gets an email asking them to confirm. They click the link and see "Email Verified". Reports only go to confirmed addresses, so nobody gets them without agreeing.

  • A daily report goes out about a day after the test starts, then every day.
  • A weekly digest goes out about a week after the test starts, then every week.
  • Send test email sends a report right away, to check what it looks like. You can use it again after a short wait.

When a test ends on its own, ab.one also sends a report that it has ended.

Webhooks

A webhook sends a message to an address of yours when something happens in a test. Use it to post into Slack through a tool like Zapier or Make, update a project board, or start your own automation.

  1. Turn it on

    Under Webhooks, switch on Enable webhooks.

  2. Enter your endpoint

    Paste the address that should receive the messages under Endpoint URL.

  3. Add a signing secret (recommended)

    Enter a long random text under Signing secret. ab.one then signs every message, so your endpoint can check it really came from ab.one.

  4. Pick events and save

    Choose which events to send: Test started, Test ended, Winner declared, Significance reached. Click Save webhook.

What ab.one sends

A POST request with a JSON body:

{
  "event": "winner_declared",
  "testId": "3f1c…",
  "storeId": "9a2e…",
  "data": { "testId": "3f1c…", "variantId": "b71d…" },
  "sentAt": "2026-11-02T09:14:03.120Z"
}
eventWhendata
test_startedThe test goes live through Launch now on a scheduled test, Start test in the list menu, or Resume.testId, status
test_endedYou end the test with End test, or it ends on its own.When you ended it: testId, status. When it ended on its own: reason (significance or visitor_cap)
winner_declaredYou declare a winner. This also ends the test, without a separate test_ended.testId, variantId
significance_reachedThe test reaches significance and ends on its own.confidence, winner (variant ID)

Headers:

  • X-Abone-Event: the event name.
  • X-Abone-Signature: sha256= followed by the HMAC-SHA256 of the raw body, using your signing secret. Only sent when you set a secret.

To check a message, compute the HMAC of the body you received with your secret and compare. In Node.js:

import crypto from "node:crypto";

function isFromAbone(rawBody, signatureHeader, secret) {
  const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
  return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signatureHeader ?? ""));
}

Delivery

ab.one sends each message once and waits up to 5 seconds for an answer. It doesn't retry, so make sure your endpoint answers quickly, and don't rely on webhooks as the only record of what happened: the test page always has the full history.

More detail for developers: Webhook reference.