Record a website task
writ_record_websiteRecord repeatable website tasks as workflows that replay on demand. Capture browser actions to automate and repeat site interactions without AI cost.
Instructions
Record a repeatable website TASK as a workflow that replays on demand. Use whenever the user asks to record, capture, teach, automate or repeat actions on a site and the point is the TASK, not an API surface. Writ opens a real cloud browser and returns an observation; YOU are the brain: drive it with writ_browser_act, author what the recorder cannot see with writ_browser_compose (inputs a caller passes, explicit steps, named functions), and call writ_browser_save when the goal is complete — the saved workflow then replays at zero AI cost (writ_run_workflow, or its own run_ tool once pinned with writ_pin_workflow_tool) and can be scheduled. A goal that asks for an API ("turn into an API", "an endpoint for") is routed to writ_website_to_api's intelligent ladder automatically (static crawl, rendered crawl, then Writ's AI browser rung), so the recording is a real build. Before anything runs it proposes the user's OWN matching workflows (existing_workflows) and ready-made marketplace APIs (marketplace_candidates); skip_existing / skip_marketplace bypass those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Website URL to start on (required). | |
| goal | Yes | What should be recorded on the website, in plain language | |
| device | No | A linked Writ desktop's agent_id (writ_devices): act ON it. Omit to use the desktop this connection chose with writ_devices action='use' (if any). | |
| persona_id | No | Saved identity to sign in with (list them with writ_personas). Required for sites behind a login with 2FA — the one-time code is then minted server-side and never shown to you. A desktop persona ('device:…') records on its own desktop, which fills its values itself. | |
| skip_existing | No | API builds first propose the user's OWN matching workflows (replaying is instant and free); set true after the user declined those. | |
| use_residential | No | Open on the platform residential network (premium) for a site that blocks datacenter IPs or shows a bot wall. Default off (free datacenter egress). | |
| skip_marketplace | No | API builds then propose compatible ready-made marketplace APIs; set true to skip that and record fresh. | |
| residential_country | No | Two-letter ISO country the residential exit should be in (e.g. 'us', 'fr') — for a site that serves a different page per country, or throttles foreign traffic. Omit for an automatic exit. Ignored unless the session egresses residential. |