Product · Side effects

A worker crashes on “Pay now”.Kaabist doesn’t press it again.

Mark the steps that change something (a submit, a payment, an order) as side effects. Kaabist writes each one down just before it runs and again once it has worked. If a server crashes in between, Kaabist never presses the button again on its own: it pauses and asks you to check.

How it works

  1. 01

    Mark the step

    A side-effect step can be neither retried nor optional, and the linter warns when no checkpoint follows it. That checkpoint is where everything after the submit resumes from.

    example
    { "click": "#order-form button[type=submit]",
      "side_effect": true,
      "expect": { "url": "**/orders/*" } },
    { "checkpoint": "order-placed" }
  2. 02

    The fence

    Before the click, Kaabist writes the step down as about to execute; once its expectation holds, as executed. A server that picks the job up and finds the fence still open does not click. It pauses the job as side_effect_ambiguous and notifies you, so you can check what happened.

  3. 03

    Retries never go back past it

    A retry can never restart from a checkpoint earlier than the last side effect that ran. Whatever goes wrong after the order is placed, the order is not placed again.

  4. 04

    And no duplicate jobs either

    Send an Idempotency-Key when you create a job. The same key with the same body within 24 hours returns the original job instead of starting a second one.

    example
    const idempotencyKey = `order-${orderId}`;
    const job = await kaab.jobs.create({
      program: "place-order",
      inputs: { sku: "HP-1037", qty: 2 },
      idempotencyKey,
    });
  5. 05

    Test up to the button

    A dry run executes the whole flow and stops before the first side effect, so you can test a checkout without buying anything.

Questions

You were going to ask. So here’s the answer.

What happens after side_effect_ambiguous?

You, or the teammate you chose, check the site and decide: skip the step if it went through, or abort the job. Kaabist never guesses.

Does this replace idempotency on my own side?

It complements it. The fence protects the browser step; the Idempotency-Key protects the API call that starts the job.

More of Kaabist

  • Resumes where it stopped

    Some steps only you can finish: a one-time code, a captcha, an approval. Kaabist pauses the run right there and emails a link to you, or to the teammate or customer you choose. Once they answer, the program continues from its last checkpoint. Nothing starts over.

    Learn more about Resumes where it stopped
  • Visual builder and recorder

    Record the task in a live Kaabist browser, pick the data you want, and edit the steps and the JSON side by side. Test any step against the real site before you publish. No agent and no code needed, and nothing hidden when you want them.

    Learn more about Visual builder and recorder
  • Built by your coding agent

    Connect Claude Code, Codex or Cursor to mcp.kaab.ist. Your agent opens a real Kaabist browser, works through the site with you, and what it does becomes a program: versioned, linted, and tested with a dry run before it ever submits anything.

    Learn more about Built by your coding agent

Stop fixing selectors.Ship the automation.