Get started

Reference Workflows 06 / 06

Press key step

Press a keyboard key or shortcut. 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 press step sends a single key or a key combination to the page, for example Enter to submit a search, or a shortcut the site exposes.

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

key string required
A key name such as Enter, Tab, ArrowDown, or a combination like 'Control+A'.

Example

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

Step
{
  "type": "press",
  "config": { "key": "Enter" }
}

How it behaves

  • Use Enter on a focused search field instead of hunting for a submit button.
  • Modifier combinations use + syntax, e.g. Control+Shift+K.

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