Overview
Automation Tasks are reusable browser automations you define once and run reliably in production. Anchor generates a versioned task from your input — combining deterministic automation with AI-assisted steps where needed.Automation Tasks Overview
Visual tour of prompts, demonstrations, the workflow UI, runs, editing, and self-healing.
Ways to create a task
| Method | Best for |
|---|---|
| Demonstration | Show the flow once in a live browser |
| Prompt | Describe what the task should accomplish in natural language |
Create from a demonstration
Demonstrate a task in a live browser. Anchor captures your actions and builds a reusable task.
Create from a prompt
Describe what the task should accomplish. Anchor generates the task from your description.
Create from a demonstration
Demonstrate a task in a live browser — navigate, click, fill forms, download files. As you work, Anchor captures every browser event and compiles them into deterministic, repeatable code.In the Anchor UI
Open the Tasks page
Go to Tasks and click Create Task.
Set up identity and describe the task
The creation wizard walks you through four steps:
- Identity — enter the application URL (and an identity, if the task requires login).
- Task Definition — describe what the task should do in natural language.
- Demonstration — choose to demonstrate the task yourself.
- Review — confirm the task name, inputs, and outputs before saving.
Start the demonstration
On the Demonstration step, select the option to demonstrate the task manually, then click Continue.A live browser opens at your start URL. Perform the task — navigate, click, fill forms, download files. Anchor captures every browser event as you go.
Shareable demonstrations
To collect a demonstration from someone who works outside your Anchor workspace, use the Demonstrations API to issue a secure demonstration link. They complete the task in a hosted browser session; Anchor processes the session and delivers the generated task to your workspace.Demonstrations API
Create demonstration links, monitor session status, and retrieve the generated task.
Create from a prompt
Describe what the task should do. Anchor generates the automation from youruser_task.
How to structure your prompt
How to structure your prompt
| Section | Include |
|---|---|
| Objective | What the task should accomplish |
| Start URL | Where the browser opens |
| Inputs | Runtime values as {{parameter_name}} |
| Steps | Ordered actions, one per line |
| Output | Fields to return when the task completes |
In the UI
- Open Tasks and click Create Task.
- Enter a name and describe the task — what site to visit, what to click, what data to return.
- Wait for generation to finish, then test with sample inputs.
Via API
CallPOST /v2/tasks/generate, then poll GET /v2/tasks/{taskId}/generation-status until status is ready.
POST /v2/tasks/generate:
| Field | Purpose |
|---|---|
application_id | Tie the task to a managed application |
identity_id | Pre-authenticate with a saved identity |
input_schema / output_schema | Define typed inputs and outputs up front |
human_intervention | Allow the task to pause for human input |
task_browser_default_configuration | Default browser session settings for runs |
Next steps
- Run a Task — execute a task via API with inputs, identity, and session options
- Which task type? — compare Automation Tasks with Perform Web Task
- Demonstrations API — shareable links for demonstrating a task
- Task Examples — browse ready-made tasks in the library

