Reference Workflows 06 / 06
AI fill form step
Let the AI complete a whole form from the available data. A step a recorded Writ workflow can run, with its fields and an example.
On this page
The ai_fill_form step hands an entire form to the AI: it reads the fields on the page and fills them from the run inputs and credentials — useful for long or frequently rearranged forms.
In a workflow, this step is a JSON object with "type": "ai_fill_form". 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.
-
descriptionstring - What the form is for and any constraints, in plain words.
Example
One ai_fill_form step, as it appears in the steps list of a workflow.
{
"type": "ai_fill_form",
"config": { "description": "Complete the checkout address form from the run inputs" }
} How it behaves
- Field values come from the declared inputs and credentials; the AI decides which value belongs in which field.
- For a single stubborn field, ai_fill is the smaller tool.
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.
Related steps
- AI fill
ai_fillLet the AI fill a field when a selector is not enough. - Fill
fillSet a field's value in one operation. - AI continue
ai_continueLet the AI decide and take the next actions toward a goal.
Next
- 01 All workflow steps The full step list, grouped by family.
- 02 Record a workflow Show Writ the clicks once in a real browser, then replay them with new inputs on demand or on a schedule.
- 03 Call your API Run an API over REST from any language: endpoints, keys, waiting for results, caching and responses.
- 04 Credits and plans What each call, page and check costs in credits, what plans include, and what happens at zero.