Get started

Reference Workflows 06 / 06

Fill step

Set a field's value in one operation. 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 fill step sets an input, textarea, or content-editable field to a value in one operation. It is the fastest way to populate a form, and the place where run inputs and secrets are injected.

In a workflow, this step is a JSON object with "type": "fill". 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.

selector selector required
The input to fill.
value string required
The value. Placeholders resolve at run time: {{key}} from the workflow’s declared inputs, {{vault:name}} for secrets, {{file:slot}} for file assets.

Example

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

Step
{
  "type": "fill",
  "config": { "selector": "input[name='email']", "value": "{{email}}" }
}

How it behaves

  • Secrets are never a step of their own: reference {{vault:name}} inside a fill value and the secret resolves at run time, outside the recipe.
  • Use type instead of fill when a field reacts to each keystroke (autocomplete, masked inputs).

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