Skip to main content

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

Both paths produce the same result: a task you can test and call from your application.

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

1

Open the Tasks page

Go to Tasks and click Create Task.
2

Set up identity and describe the task

The creation wizard walks you through four steps:
  1. Identity — enter the application URL (and an identity, if the task requires login).
  2. Task Definition — describe what the task should do in natural language.
  3. Demonstration — choose to demonstrate the task yourself.
  4. Review — confirm the task name, inputs, and outputs before saving.
3

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.
Pro tip: Right-click anywhere to investigate elements or data. Those inspection moments give richer context to your final task.
4

Finish and create the task

Click Finish Demonstration when you’re done. Review the generated inputs and outputs on the Review step, then save the task.

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 your taskPrompt.
Example prompt
Add edge cases when they matter — e.g. “If no exact match is found, use the closest result.”

In the UI

  1. Open Tasks and click Create Task.
  2. Enter a name and describe the task — what site to visit, what to click, what data to return.
  3. Wait for generation to finish, then test with sample inputs.

Via API

Call POST /v2/tasks/generate, then poll GET /v2/tasks/{taskId}/generation-status until status is ready.
Optional fields on POST /v2/tasks/generate:

Next steps