flow ▸ steps compiled 0

Any site becomes an API.

Describe the goal in one sentence, or record the difficult part. Writ publishes it as a versioned REST endpoint and an MCP tool at /v1/{slug}/{path}, running on your own accounts.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.
Steps5 steps · illustrative example
1Navigateopen example.com/search
2Fillsearch box ← {{query}}
3ClickSearch button
4Extractproduct titles + prices
5End Pointreturn results

Published as /v1/{slug}/extract

bld ▸ four ways to build 4
01
pick a door

Describe it, or record the difficult part

From one sentence to a code-driven pipeline. Pick the door that fits the task; every one ends as the same callable API.

Need list, detail, and pagination? Compose an extract step that walks a list, opens each detail page, and follows pagination into structured records.See web data extraction.

Run 1
◉opens a browser
◉signs in · 2FA
◉banks the session
model calls 3
Run 200
⚡reuses the session
—no browser
⚡plain HTTP
model calls 0
⚒ When the site changes
  1. a function fails: the site changed under it
  2. the failing request and the live page go to the builder
  3. the rewritten function is tested on the live site — or rejected
  4. the call completes; every installed copy gets the fix

Ready-made APIs are repaired for everyone. For an API you built yourself, repair is one switch, off by default. It runs in Writ Cloud on every plan; on Writ Desktop it uses your own AI key, from Starter up.

cap ▸ what it captures 8
02
the full step

It records the intent, not just the click

When you do record the difficult part, the recorder recognizes real-world UI patterns and writes resilient steps, so the saved steps survive the site, not just the demo.

Stable element targetingThe recorder picks robust selectors as you click, so a run finds the same element even after small layout changes, and self-heals common drift.
Auto-detected interactionsDate pickers, autocompletes, custom dropdowns, scroll-into-view, and multi-tab flows are recognized and recorded as the right step, not raw clicks.
Two-factor, recorded onceRecord a sign-in with authenticator or mailbox-OTP on your own account; Writ converts the code-fill into a proper twofa step automatically.
Network-aware optimizeWrit sees the underlying network calls and can suggest a faster, more reliable path, with a preview you Apply or Discard, never a silent rewrite.
Inline AI assistAsk the AI to add a step, fix a brittle one, or extract data. It works from your recorded steps and the page context.
Click-to-convert API captureSpot a request that returns the data you need and convert it into an API Call step. Skip the UI entirely where a clean call exists.
cop ▸ ai copilot 12
03
built into the builder

A copilot that turns a rough recording into a clean endpoint

While you record, an AI copilot reads your recorded steps and page context. Ask it to add or fix a step, write an extraction from a description, replay the underlying API, or split a recording into reusable functions. Every change lands as a preview you Apply or Discard.

AI Optimize, network-awareTurn a slow click-by-click recording into a faster, sturdier one. Where a clean call exists, the copilot replays the underlying API instead of re-driving the UI.
Chat copilot in the recorderAsk it to add, modify, or explain a step, with full context of your recorded steps and page context. It reasons about your actual recording, not a generic snippet.
Extraction from a descriptionDescribe the data you want in plain language; the copilot writes the Extract step that reads it from the page, ready to run and edit.
Robust selectors + reusable functionsIt finds element targets that survive small UI changes and detects repeated segments, so you can split a recording into callable functions you reuse across workflows.
Advanced & streaming scriptsFor the parts that need real code, the copilot drafts a raw Script Block (or a handler for a warm streaming session), so you drop into scripting without a blank file.
Preview, then Apply or DiscardEvery AI change lands as a preview. The copilot suggests; you stay in control of what the workflow actually does.

Included with every plan; past the month’s count, a flat credit price, charged in full only when it delivers. The in-recorder copilot, AI Optimize, and AI-generated steps are Writ-AI builds: 5 a month on Free, more on paid plans and past the month’s count 1,500 credits a build, charged in full only when it delivers a working API; a build you stop pays what it used, never more. Building with your own AI key stays free and unlimited.

pal ▸ 30+ step types 16
04
the step palette

Building blocks for the real, messy web

Grouped the same way as the in-app step palette: composable steps that handle logins, forms, tabs, and code on any site.

Navigation
Move through the site.
  • Navigate (go to a URL)
Interaction
Drive the page.
  • Click
  • Hover
  • Press Key
  • Scroll
  • Scroll to View
Input
Fill forms and fields.
  • Fill
  • Type
  • Select
  • Check
  • Uncheck
Control
Flow, waits, and assertions.
  • Wait
  • Wait for Change
  • Screenshot
  • Assert
  • Verify
  • End Point
Data
Read and compute.
  • Extract (read data from an element)
  • Evaluate JS (run JavaScript on the page)
  • API Call (make an HTTP request)
AI
Judgment where it's needed.
  • AI Fill (fill a form from instructions)
  • AI Continue (perform a task autonomously)
  • AI Navigate (navigate toward a goal)
Tabs
Multi-tab flows.
  • Tab Opened by Site
  • Open New Tab
  • Tab Closed
Advanced
Drop down to code.
  • Script Block (raw Playwright script)

Plus twofa for authenticator (TOTP) and mailbox-OTP sign-in on your own accounts.All step types in the docs.

rel ▸ survives the site 20
05
durability

Survives the site, not just the demo

Writ pairs saved, deterministic steps with AI steps where judgment is needed, so an API keeps working through UI updates without hallucinating actions.

vs brittle selector scriptsSaved steps capture stable element targets and self-heal common drift; AI steps recover when the page changes. No constant maintenance.
vs one-off RPABuilt to be called repeatedly and parameterized, not run once. Each workflow is a durable, versioned endpoint.
vs prompt-only agentsSaved steps give deterministic structure; AI handles only what needs judgment. It works through login and two-factor on your own accounts.
heal ▸ auto-repair 24
06
ai auto-repair

When the site changes, the AI repairs the step and the run continues

Turn on AI auto-repair per workflow. If a layout change breaks a step mid-run, Writ re-derives that step against the new page and keeps going, instead of failing the run. Every repair is recorded.

Opt-in per workflowTurn on ai_repair_enabled in a workflow's Settings. It stays off until you choose it; nothing repairs itself behind your back.
The run continuesWhen a step breaks, the AI re-derives it against the new layout and the run keeps going. No crashed run, no 3am page-out.
Simple or complex repairsSimple repairs re-resolve a moved selector; complex repairs reason over the page to rebuild a broken interaction. Each is recorded with its type.
A full repair historyEvery fix is logged (repair_count, last_repaired_at, and the before/after), so you can see exactly what the AI changed and when.
app.usewrit.app/settings
AI auto-repair ai_repair_enabled Repair broken steps automatically and continue the run.
on
Repair historyrepair_count · 3
"Export report" → button[data-test="export"]Selector moved · "Export report" → button[data-test="export"]2d ago
results panel restructured · interaction re-derivedStep rebuilt · results panel restructured · interaction re-derived5d ago
input#email → input[name="login"]Field renamed · input#email → input[name="login"]1w ago

last_repaired_at · 2 days ago

Illustrative: the Settings panel as the app draws it, not a live account.

How a repair happens

  1. A step fails because the site changed: a button moved, a field was renamed, a panel was restructured.
  2. If ai_repair_enabled is on, the AI re-derives that step against the new page, a simple selector fix or a complex rebuild.
  3. The run continues from the repaired step, and the fix is written to the workflow's repair history.

Free to repair. AI auto-repair is never charged: a repair that fires costs no credits, and neither does the run that confirms it. It runs in the cloud on every plan, and on Writ Desktop with your own AI key from Starter up. Seehow credits work.

api ▸ rest + mcp 28
07
the callable surface

One workflow, a REST endpoint and an MCP tool

A workflow's functions are its callable units: each becomes a REST operation and an MCP tool. Publish at /v1/{slug}/{path}, then call it from your app, a script, or an AI agent with an API key.

cURL

curl -X POST https://api.usewrit.app/v1/your-org/top-stories \
  -H "Authorization: Bearer $WRIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 3}'

MCP config

{
  "mcpServers": {
    "writ-cloud": {
      "url": "https://api.usewrit.app/mcp",
      "headers": { "Authorization": "Bearer wt_your_api_key" }
    }
  }
}
wt_ API keysScoped keys for your own code.
wto_ OAuth tokensDelegated access for apps.
Webhook HMACSigned callbacks you can verify.
MCP-nativeUse Writ as a tool in Claude, Cursor, any MCP client.

Call it with a wt_ key, verify webhooks with HMAC, and pin it as an MCP tool. See how to call your API and MCP.

run ▸ local or cloud 32
08
run it your way

Run it on your machine (free) or on the cloud

Run it on your own computer with Writ Desktop for 0 credits (free, no account needed on that computer), reaching intranet, localhost and VPN-only systems the cloud can't; or hand it to Writ Cloud, charged in credits per call. Reaching that Desktop from other devices (LAN mode, public tunnel) is Starter and up.

Your machineWrit Desktop · 0 credits
  • 0 credits: you provide the computer
  • Reaches intranet, localhost, and VPN-only systems
  • Credentials and secrets stay on your machine
Managed cloudcredits per call
  • Always-on fleet: runs while your computer is off
  • Charged in credits per call, 0 when a call fails
  • Included credits first, then your prepaid balance

cloud plain call 2 cr browser call 20 cr +10 cr when a CAPTCHA was solved (Pro and up) 0 cr when the call fails your machine any call 0 cr pricing →

Runs on your own machine cost 0 credits on every plan; the cloud is charged in credits per call. See Writ Desktop.

obj ▸ object map 36
09
what a run captures

One page for the whole workflow

Every workflow has Overview, Steps, Data, Runs, Connect, and Settings: edit steps, watch runs, see extracted data, publish endpoints, and list it on the marketplace, all in one place.

OverviewStepsDataRunsConnectSettings

Explore the data explorer, orlist it on the marketplace.

faq ▸ common questions 44
11
common questions

Workflows FAQ

Do I need an API from the site?
No. Writ works through the browser like a person where it must, and calls the site directly where a clean request exists, so it works on sites with no API at all, including ones behind a login. You get the REST endpoint the site never shipped.
Can AI agents call my workflows?
Yes. Every published workflow is an MCP tool and a REST endpoint, callable by Claude, Cursor, or any MCP client, and from your own code with a wt_ key.
Is it allowed?
Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use. Use it for public data, your own data, or your own accounts, respecting each site's terms and rate limits.
What happens when the site changes?
Saved steps self-heal common drift on every plan. With AI auto-repair on, a broken step is rebuilt mid-run and the run continues instead of failing. Repairs are free: in the cloud on every plan, and on Writ Desktop with your own AI key from Starter up.
Where do my credentials live?
In an encrypted secrets vault and reusable Personas. On Writ Desktop they stay on your machine, and your own AI keys never reach Writ's servers.