# Chapter 7: Your automation's page

> Find your way around one automation's page, publish a tested version, and go back to an earlier one when you need to. You will also change its inputs and settings, and rename, archive or delete it.

- **Canonical URL:** https://autoworklet.com/guide/automation-page
- **Part:** Build automations
- **Guide version:** 9.1 (updated 2026-11-26)
- **Full guide:** https://autoworklet.com/llms-full.txt

## 7.1 The page at a glance

Every automation has its own page.
You use it to run the automation, watch it, read its results, change its script, publish versions and change its settings.

1. In the header, click **Automations**.
   The list of automations opens (see [The Automations list](#nav-automations)).
2. Click the automation's row.
   Its page opens on the **Run** tab.
3. To go back to the list, click the **Automations** link at the start of the page title.
4. To switch to another part of the automation, click a tab in the tab strip.
5. To delete the automation, click **Delete** in the **Actions** menu.
   Only the automation's owner and organization admins see **Actions**.
   See [Rename, duplicate, archive or delete](#auto-manage).

*Figure: The page header: the Automations link, the eight tabs and the Actions menu*

If the automation was built in Teach, the header also has a **Teach session** button.
It opens the Teach session that built it.

In this chapter, the owner is the person who created or added the automation.
Admins, managers and members are organization roles (see [Roles](#org-roles)).

| Tab | What it is for | Who can use it |
|---|---|---|
| **Run** | Start runs and see each row's inputs, status and results in the **Inputs and results** table. Cards below it hold row retries, fixes waiting for review, background repair and engine upgrades. | Everyone can start runs. The owner, admins and managers change the cards. |
| **Watch** | See runs that are live now, plus counts of rows by stage, recent runs and recent outputs. | Everyone. |
| **Runs** | The run history: search, filter, export, open, restart and repair runs. | Everyone can read it. Admins and managers can delete runs. |
| **Results** | The newest run report as a step-by-step player, a comparison with another run, and notes for an AI fix. | Everyone can read it. The owner, admins and managers write notes and use **Edit this automation**. |
| **Script** | Read, download, edit and publish the script, and see earlier versions. | Everyone can read and download. The owner, admins and managers edit and publish. |
| **Schedules** | Make the automation run by itself at set times. | Everyone can see schedules. The owner, admins and managers add and change them. |
| **Triggers** | Start runs from email, Slack, webhooks and widgets, send results to Telegram, and manage API keys and sharing. | Everyone can see it. Who can add each kind is in [The Triggers tab](#triggers-tab). |
| **Settings** | Name, default inputs, engine, computer size, packages, retries, self-healing, state, duplicate and delete. | The owner, admins and managers. |

Each tab is covered in detail elsewhere in this guide.
Start with [The Run tab at a glance](#run-overview), [Watch a run live](#run-watch), [Run history](#results-history), [The run report](#results-report), [Read and edit the script](#script) and [Ways to start a run](#triggers-overview).

The eight tabs are only on the automation's own page.
A workflow page connects automations and shows how their rows move between them (see [What a workflow is](#workflows-what)).
When you click a step on a workflow page, its panel has the tabs **Overview**, **Rows** and **Settings**.
To open the eight tabs from that panel, click **Open automation**.

> **Tip:**
> If you have unsaved changes in the script editor, the page asks before it switches tabs.
> Save first if you want to keep them.

### If something goes wrong

- **Automation not found.** with a **Back to automations** button: the automation was deleted, or it belongs to another organization.
  Check the workspace switcher, then open the automation from the list.
- **Could not load this automation. Refresh to try again.**: click **Refresh**.

## 7.2 Draft and published versions

Every automation has a draft script, and after its first publish it also has numbered published versions (v1, v2 and so on).
Knowing which one runs tells you whether a change you saved is live yet.

- The **draft** is the copy you change.
  The script editor, the cloud computer editor and AI repair all write to the draft.
- A **published version** is a frozen copy of the draft.
  These run the published version:
  - schedules
  - triggers
  - the API
  - embedded widgets
  - public share pages
  - the **Run** tab
- Before the first publish, there is only the draft.
  Every run uses it, so saving a change affects the next run.

A ready-made automation starts unpublished.
An automation built in Teach gets v1 published by itself when its build passes.

You can see the state in three places:

1. On the **Automations** list, the line under each name starts with **Draft only** (never published) or **Published v2** (for example).
2. Near the top of the **Run** tab, one line says which script the buttons run, with a **Script tab** link.
   It reads **Runs execute Published v2.** or **Runs execute the draft folder directly (not published yet).**
3. On the **Script** tab, a badge reads **Published v2** or **Not published yet**.
   When the draft differs from the published version, an amber **Unpublished changes** badge appears next to it.

The **Runs** and **Results** tabs label each run with the script it ran, for example **v2**, **Draft**, **Draft · Teach**, **Draft · test** or **Draft · dry run**.

> **Important:**
> Saving a change to a published automation does not change what your schedules, triggers and API callers run.
> They keep running the published version until you publish again.

### If something goes wrong

| What you see | What it means | What to do |
|---|---|---|
| You changed the script, but runs still behave the old way. The **Run** tab says **Runs execute Published v2.** | Your change is in the draft only. | Publish it ([Publish, review and restore versions](#auto-publish)). |
| An amber line: **Runs execute the draft folder, not v2** | Runs use the draft, not the version you published. | Publish again to freeze the draft as the next version. |
| **This automation is a single file at ...** | The automation uses an older storage format. | On the **Script** tab, click **Convert to project**, then click **Convert**. The script itself does not change. If there is no **Convert to project** button, the engine is too old to convert. The message next to **Publish** names the version you need. Move to it with **Change** on the **Runtime image** card ([Settings](#auto-settings)), then convert. |

## 7.3 Publish, review and restore versions

Publish when the draft works and you want every schedule, trigger, API caller and embedded widget to use it.
History lets you compare versions, download one, or go back to an earlier one.

The owner, admins and managers find these controls on the **Script** tab.
They also find them on the **Results** tab, under **Edit this automation**.

### Publish the draft

1. Open the **Script** tab.
   Read the badge next to the heading: **Published v2** or **Not published yet**.
2. Optional: if **Unpublished changes** appears, click **Review changes**.
   A dialog titled **Changes since v2** shows the draft against the live version.
   You can publish from its **Publish v3** button, or click **Close**.
3. Click **Publish**.
4. A dialog opens.
   Its title is **Publish this automation?** the first time, and **Publish v3?** after that.
   The list says what changes from the moment you publish.
   These all get the new script:
   - schedules
   - triggers
   - the External Run API
   - MCP callers
   - embedded widgets
   - public share pages
5. Click **Publish** (it reads **Publish v3** after the first time).
   To stop without publishing, click **Cancel**.
   Clicking outside the dialog does not close it.
6. A message confirms **Published v3** with **Schedules, the REST API and every embed now run this version.**
   The badge changes.
   After the first publish, a **History** button appears too.

*Figure: The publish dialog lists what starts running the new script*

Your draft stays where it is.
Keep editing it for the next version.

> **Important:**
> A run that has already started finishes on the version it started with.
> Every run that starts after you publish uses the new version.

To take a copy of the draft with you, click **Download project** on the **Script** tab.
You get a zip of the script files plus a `RUN.md` file.
That file explains how to run the project on your own computer with the awl command line (see [The awl command line](#dev-cli)).

### When Publish is greyed out

Hover over **Publish** to see why.
The two reasons about the script itself (no script, no editable draft) are also written next to the button.
The reasons about an engine upgrade, a repair proposal or a fix under test show only when you hover.

| Message | What to do |
|---|---|
| **There is no script to publish yet. Open the Script tab and save one first.** | Save a script in the editor ([Edit and save](#script-edit)). |
| **This automation has no editable draft. Open it in a sandbox to create one.** | On the **Results** tab, open **Edit this automation** and click **Edit on a cloud computer**. |
| **An engine upgrade is in progress. Finish or cancel it first.** | Finish or cancel the upgrade on the **Engine upgrade** card at the bottom of the **Run** tab ([Runtime image and engine upgrades](#auto-settings)). |
| **A repair proposal is waiting. Approve or discard it on the Run tab first.** | Decide on the proposal ([Background repair and self-healing](#repair-background)). |
| **A fix is being tested in the draft. Publish once the test ends, or stop it.** | Wait for the test, or click **Stop the test** ([Review a suggested fix](#repair-review)). |

If publishing fails, a **Publish failed** message gives the reason, for example:

- **Another publish of this automation is already running. Try again in a moment.**
- A message that the script folder holds too many files.
  Publishing is limited to 200 files.
  Remove what the automation does not need, then publish.
- **Only the worklet owner or an org admin/manager can change this worklet.**

### Compare, download or restore a version

1. On the **Script** tab, click **History**.
   It appears after the first publish.
2. A dialog titled **Published versions** opens.
   With two or more versions, a bar at the top reads **Compare** with two version lists.
   To see what changed between two versions, select them in the two lists.
   Then click **Compare**.
3. Each row shows a version number and its file count and size.
   The version that runs now has a green **Live** badge.
4. Click **Download** on a row to get that version as a zip.
5. To go back to an older version, click **Restore** on its row.
   Restoring publishes that version's script again as a new version.
   For example, restoring v1 while v3 is live creates v4.
   A message confirms **Restored v1 as v4**, with **Schedules, the REST API and every embed now run it. Your draft is unchanged.**
6. Click **Close**.

*Figure: Version history: compare two versions, download one, or restore an older one*

> **Note:**
> There is no way to unpublish.
> To undo a publish, restore the version you want.
> Restoring never changes your draft, and no version on record is overwritten.

**History** is greyed out while an engine upgrade is in progress.
If **Restore** fails, a **Restore failed** message explains why, for example **v3 is already the version that runs. Nothing to restore.**

## 7.4 Inputs, outputs and default values

An automation's inputs and outputs are the columns of its grid.
The grid is the **Inputs and results** table on the **Run** tab, with one row per piece of work.
Input columns are what a person fills in before a run.
Output columns are what the run fills in.

- A new automation usually comes with its input columns.
  For example, the ready-made **Competitor price watch** asks for **Pricing page address** and **Plan to watch**.
- Output columns appear by themselves the first time a run records an output with a new name.
  How a script records outputs is in [Read inputs and publish outputs](#script-inputs-outputs).
- A grid holds at most 64 columns.
  Outputs past that limit are not added as columns.

### Change the columns

Admins and managers can change the columns.

1. Open the **Run** tab.
2. In the **Inputs and results** card, expand **Configure inputs and connections**.
3. Click **Columns**.
   A dialog titled **Input and result columns** opens.
4. Each row is one column.
   It has:
   - a key (the column's name in the script)
   - a type (**string**, **number**, **boolean**, **date** or **json**)
   - a role, which is **Input - people fill this** or **Output - the run fills this**
   - a remove button
5. To add an input column, click **Add column**.
   Fill in the new row.
6. Click **Save columns**.
   A **Columns updated** message appears.
   If some rows now miss a value for a new input, the message says how many rows need input again.

The owner also sees **Configure inputs and connections**.
If the owner is not an admin or manager, saving shows **Only an organization admin or manager can configure a grid.**

> **Important:**
> The script reads each input by its key.
> If you rename a key, change the script to use the new key, or runs will not find the value.

**Configure inputs and connections** also has two more buttons:

- **Connect in a workflow** helps you connect this automation to another one.
  Connections are drawn on a workflow page (see [Connect two steps](#workflows-link)).
  - If the automation is in one or more workflows, a dialog titled **Connect in a workflow** lists them.
    Click a workflow to open it, with this automation's step selected.
  - If the automation is in no workflow, admins and managers see **Start a workflow**.
    Click it to make a workflow with this automation as its first step, named after it.
    The workflow opens with the list **Add step after** and the automation's name, to select the step that comes next.
    For everyone else, the dialog says to ask an admin or manager to create a workflow with it.
- **Check script** checks whether the published script reads the rows the grid hands it.
  **The script reads the rows the grid hands it (params["rows"]).** means all is well.
  If it says **This script never reads params["rows"], so runs will ignore the rows the grid hands them.**, change the script or teach the task again.

An automation with no input columns titles the card **Run and results** instead of **Inputs and results**.
It shows **Run once** instead of **New run**, and has no **Configure inputs and connections**.

### Set default inputs

Default parameters are inputs that are sent with every run.
They also fill in the **New run** form and a new schedule's parameters, so people start from working values.

1. Open the **Settings** tab.
   The first card, **Name and description**, has its own **Edit** button for renaming (see [Rename, duplicate, archive or delete](#auto-manage)).
2. On the second card, **Default parameters**, click **Edit**.
   The current values turn into a text box.
3. Type a JSON object, with one entry per input key.
   For **Competitor price watch** it looks like this:

   ```json
   {
     "pricing_url": "https://www.netlify.com/pricing",
     "plan_name": "Personal"
   }
   ```

   Replace the values with your own, and keep the keys as they are.
4. Click **Save**.
   A **Default params saved** message appears.
   **Invalid JSON** means the text is not a valid JSON object.
   Check the quotes, commas and braces.

*Figure: The Name and description card and the Default parameters card on the Settings tab*

You can still type other values when you start a run by hand (see [Start one run](#run-one)).

The owner, admins and managers can save default parameters.
If your JSON is valid and you still see **Invalid JSON**, you might not have permission to change this automation.
Ask its owner, an admin or a manager.

## 7.5 Settings

The **Settings** tab holds the rest of the automation's setup.
The cards appear in this order.

| Card | What it controls | Who can change it |
|---|---|---|
| **Name and description** | The name shown everywhere, and a short description. | Owner, admins, managers |
| **Default parameters** | Inputs sent with every run. | Owner, admins, managers |
| **Runtime image** | The engine version the automation runs on. | Owner, admins, managers |
| **Engine features** | Which current features that engine supports. | Read only |
| **Compute configuration** | The cloud computer each run uses. | Owner, admins, managers |
| **Runs on** | Whether published runs go to the cloud or to one of the organization's machine pools. It shows only when the organization has a pool. | Admins, managers |
| **Packages** | Extra Python packages installed before each run. | Owner, admins, managers |
| **Retry settings** | Whether a whole failed run starts again by itself, up to 10 times. | Owner, admins, managers |
| **Self-healing** | What the engine does when a step fails during a run. | Owner, admins, managers |
| **Actions** | State, duplicate and delete. | Owner, admins, managers |

**Retry settings** re-runs a whole failed run.
It is different from **If a row fails** on the **Run** tab, which retries one row of the grid.
Both are explained in [Retries](#monitor-retries).

### Self-healing

Self-healing decides what the engine does when a step fails while a run is going.

*Figure: The Self-healing card: three switches and where each value comes from*

1. On the **Settings** tab, scroll to **Self-healing**.
2. Use the three switches:
   - **Self-healing**: "Retries and waits when a step fails, instead of stopping the run."
   - **Aggressive healing**: "Lets the healer try an LLM alternative action or skip a step."
     This switch is greyed out while **Self-healing** is off.
   - **Script modification**: "Lets the healer rewrite the script."
     This switch is also greyed out while **Self-healing** is off.
3. Under each setting's description, a label says where the value comes from.
   **Engine default: on** or **Org default: off** means the automation follows that default.
   **Override** means it was set here.
   To follow the default again, click **Use org default** next to it.
4. A switch saves as soon as you flip it.
   A message such as **Self-healing override saved** confirms it.

When nothing is set here, the automation uses the organization's defaults.
When the organization has no default either, Self-healing is on and the other two are off.
Admins and managers set the organization's defaults on the **Organization** page, in the **Self-healing** card (see [Organization settings](#org-settings)).

> **Warning:**
> Keep **Aggressive healing** and **Script modification** off for automations that move money, change records or do anything that cannot be undone.
> With them on, the engine might try a different action, skip a step or rewrite the script.

### Compute configuration

1. On the **Compute configuration** card, click **Edit**.
   A dialog titled **Configure compute settings** opens.
2. Change what you need:
   - **Cloud provider**: **Modal CPU**, **Modal GPU** or **Beam CPU**.
   - **Memory**: **8 GB (default)** or **16 GB**.
     Select 16 GB for heavy pages or large files.
   - **Inactivity Timeout (minutes)**: the cloud computer shuts down after this many idle minutes.
     Enter 1 to 1440, or leave it blank for the 10-minute default.
   - **VNC password**: the password of the cloud computer's remote desktop.
     It starts filled in.
     Leave it as it is unless you have a reason to change it.
   - **Allow pausing runs**: a run can be paused and resumed within 7 days, and paused time is not billed.
     These runs are not pinned to a US region, and a run with a GPU cannot pause.
3. Click **Save**.
   A **Configuration updated** message appears.

### Packages

**Packages** lists extra Python packages installed before each run, including any your organization adds by default.

1. Click **Edit**.
2. In the **Search the private autoworklet index…** box, type part of a package name.
3. Select the packages.
4. Click **Save**.
   A **Packages saved** message confirms it.

### Runtime image and engine upgrades

The engine is the software version an automation runs on.
The **Runtime image** card shows the version, or **Default (latest)** when none is set.
**Engine features** says whether that version supports every current feature.

**Change** on the **Runtime image** card switches the engine for every run from the next one, without a test.
When the card shows **Default (latest)**, the button reads **Set** instead.
Either one opens a dialog titled **Select image**.
When a newer engine can be tested first, the dialog links to the **Engine upgrade** card.

The safer way is the **Engine upgrade** card at the bottom of the **Run** tab, which the owner, admins and managers see.
It tests the draft on the new engine first, while schedules, API callers, embeds and shares keep the current engine.
The automation must be published to use it.

1. On the **Engine upgrade** card, click **Upgrade engine**.
   The card then walks you through three steps, from **Step 1 of 3** to **Step 3 of 3**.
2. Prepare the barriers.
   A barrier is a marked line in the script where a test run stops.
   It is placed above a step that sends, pays, submits or deletes.
   If the script has none yet, click **Prepare for dry runs**.
3. Mark each barrier **Duplicate-tolerant** (safe to do twice) or **Duplicate-sensitive**.
4. Click **Confirm barriers**.
5. Click **Start test run**.
   The draft runs one time on the new engine as a dry run.
   If the test fails, click **Run the test again**, or click **Fix for** followed by the version.
   **Fix for** has AI write a fix straight into the draft, with no review step.
   The card then asks you to confirm the barriers again before the next test.
6. When the test passes, click **Promote to** followed by the version.
   If the tested draft differs from the published version, Promote also publishes it as the next version (v3 after v2).
   For example, the draft differs after an AI fix or after edits you have not published.
   The dialog says whether it publishes a new version or changes only the engine.
7. Click **Promote**.
   Every schedule, API caller, embed and share uses the new engine from its next run.

To stop at any point, click **Cancel upgrade**, then click **Cancel upgrade** again in the dialog.
The engine stays where it was.
While an upgrade is in progress, **Publish** and **History** are held, and the test run uses minutes like any other run.

## 7.6 Rename, duplicate, archive or delete

These tasks keep your list of automations tidy.
The owner, admins and managers can do them from the page.

> **Note:**
> Some labels on the **Settings** tab use the older word "worklet".
> A worklet is the same thing as an automation.

### Rename an automation

1. Open the **Settings** tab.
2. On the **Name and description** card, click **Edit**.
3. Change **Name** and, if you like, **Description**.
4. Click **Save**.
   A **Details saved** message appears.
   An empty name shows **Give the automation a name**.

### The Actions card

*Figure: The Actions card: state, duplicate and delete*

The **Actions** card at the bottom of the **Settings** tab holds:

- **Worklet state**
- **Duplicate worklet**
- the **Danger zone** with **Delete worklet**

### Duplicate an automation

1. On the **Actions** card, click **Duplicate worklet**.
2. A **Worklet duplicated successfully** message appears, and the copy's page opens.
   The copy is named **Copy of** followed by the original name.

The copy gets:

- the description
- the default parameters
- the engine version
- the email trigger settings

If the automation uses an engine older than 0.62.3, or a snapshot, the copy uses the current engine instead.
The **Actions** card tells you this before you click.
The script of the copy can then need small changes.
The original automation keeps its engine.

It starts unpublished, with an empty grid of its own.
It does not get:

- the run history
- schedules
- Slack triggers
- widgets

Packages, retry settings, self-healing and compute settings are not copied either, so set them again if you need them.

### Archive an automation

1. On the **Actions** card, open **Worklet state**.
2. Select a state.
   It saves immediately, and a **State updated** message appears.

| State | What it means |
|---|---|
| **Active** | "Visible only within your organization." This is the normal state. |
| **Archived** | "Hidden from listings but preserved for reference." It no longer appears on **Automations** or in the list that **Add step** opens on a workflow page. |
| **Published** | "Shared with public." The automation's details become readable by anyone, not only your organization. |

An archived automation keeps its runs and settings.
Archiving does not stop it.
Its schedules, triggers, API keys and widgets still start runs, and those runs use minutes.
To stop it, disable or delete its schedules and triggers first (see [Run on a schedule](#triggers-schedule) and [The Triggers tab](#triggers-tab)), or delete the automation.
If you might need it again, keep its page address.
To bring it back, open that page and set **Worklet state** to **Active**.

> **Warning:**
> Select the **Published** state only if you mean to share the automation with people outside your organization.
> It makes the automation public, and it is not the same as publishing a version.
> A HIPAA organization cannot use it.

### Delete an automation

1. In the page header, click **Delete** in the **Actions** menu.
   Or, on the **Settings** tab, click **Delete worklet** in the **Danger zone**.
2. If the automation still belongs to a workflow, a dialog titled **Remove from workflows first** opens instead.
   It links to each workflow.
   Open each one and remove the automation from it (see [Create a workflow](#workflows-create)).
   Then try again.
3. Otherwise a dialog titled **Delete automation** opens.
   It says the delete also removes:
   - the grid and every row in it
   - its links to other grids
   - its run reports and files
4. Click **Delete**, or click **Cancel** to keep it.
5. An **Automation deleted** message appears, and you return to the **Automations** list.

> **Warning:**
> Delete an automation only when you are sure you no longer need it, because deleting cannot be undone.
> Links to the automation's run reports and files stop working, including links you already shared.
> Its schedules, triggers and widgets stop too.

If the delete fails, a **Could not delete automation** message gives the reason.

## 7.7 Delete runs and clear run history

Delete runs you no longer need, for example test runs or runs that captured the wrong data.
Only admins and managers see these controls, on the **Runs** tab.

### Delete one run

1. Open the **Runs** tab.
2. Find the run.
3. Click its red trash icon (**Delete run**).
   It appears only on runs that ended at least 10 minutes ago.
4. A dialog titled **Delete this run?** explains what goes: the run with its report, screenshots, files, chat and attempt history.
5. Click **Delete run**.
   A **Run deleted** message appears.

### Clear old runs

1. On the **Runs** tab, click **Clear history** next to **Export CSV**.
2. In the **Clear run history** dialog, select an age under **Delete runs older than**: **30 days**, **90 days** (the default), **120 days**, **180 days** or **1 year**.
3. Click **Delete runs older than** followed by the age you selected.
   The dialog counts as it goes, for example **Deleted 40 runs so far**.
   You cannot close it while it works, but you can click **Stop**.
4. A summary such as **Deleted 150 runs. Kept 2: 2 Teach build tries.** appears.
   Click **Close**.

Runs still going and Teach build tries are always kept.

> **Warning:**
> If you want a record, click **Export CSV** first (see [Run history](#results-history)).
> Deleted runs cannot be brought back.
> Links to their reports and files stop working, including links you already shared.

> **Note:**
> Deleting runs does not change your billing or usage totals.

### If something goes wrong

If a run cannot be deleted, the dialog says why.

| Message | What to do |
|---|---|
| **This run is still going. Terminate it first, then delete it.** | Stop the run first (see [Stop, pause, resume and restart](#run-control)). |
| **This run ended less than 10 minutes ago, and its billing and report are still being written. Try again shortly.** | Wait 10 minutes. |
| **This run is a Teach build try. It belongs to its Teach session and is not deleted here.** | Leave it. It belongs to the Teach session. |
| **An engine upgrade trial or a repair proposal still uses this run. Finish or cancel it first.** | Finish or cancel the upgrade or the repair proposal. |
| **This run's overage minutes are still being reported to billing. Try again in about 15 minutes.** | Wait about 15 minutes. |
| **This run changed while it was being deleted, so it was kept. Reload and try again.** | Reload the page and try again. |
