Get started

Reference Workflows 06 / 06

AI continue step

Let the AI decide and take the next actions toward a goal. A step a recorded Writ workflow can run, with its fields and an example.

Runs on Writ CloudWrit Desktop

Open in Claude Open in ChatGPT

The ai_continue step hands control to the AI to choose and perform the next actions toward a stated goal — useful for recovery when a page changed and a recorded step no longer matches.

In a workflow, this step is a JSON object with "type": "ai_continue". Steps run in order, and each step can read the outputs of the steps before it.

Fields

Set these inside the step’s config object.

description string required
What the AI should accomplish before returning control.

Example

One ai_continue step, as it appears in the steps list of a workflow.

Step
{
  "type": "ai_continue",
  "config": { "description": "Reach the order confirmation page" }
}

How it behaves

  • A recorded recipe replays deterministically and only pays for AI where an ai_* step runs.
  • State the goal narrowly so the AI hands control back as soon as it is reached.

Where it runs

The step runs wherever its workflow runs. On Writ Desktop, runs are free and can reach systems that only your own network can reach.

On Writ Cloud, each call costs credits: 20 when the run needs a browser, 2 when it does not. A call that fails because of the site or Writ costs nothing.

Next