> ## Documentation Index
> Fetch the complete documentation index at: https://www.zite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test and Monitor Automations

> Run an automation before you publish, check each run, and fix, resume, or replay a run that failed.

Every automation keeps a **History** of its runs: what started each one, what each step did, and why a run failed. Use it to test a draft, confirm the first live run, and investigate problems. You need **edit access** to the workspace.

> [!NOTE]
>
> **New workspaces only for now:** Automations aren't enabled in existing workspaces yet. They're coming to existing workspaces in the next few days. See [Who can use automations](https://www.zite.com/help/platform/automations/overview.md#who-can-use-automations).

> [!NOTE]
>
> Test runs perform the automation's real actions. They change real records and send real messages. Use sample records and your own email address when testing.

## Test before you publish

A test runs the **current draft**, so you can check changes before they go live. Any waits between steps are skipped, so a seven-day reminder goes out immediately in a test.

| Automation starts | How to test |
| - | - |
| **On a schedule** | Select **Schedule** in the editor header, then **Run now**. It runs exactly as the next scheduled run would. |
| **When data changes** or **from an event in a connected tool** | Select **Trigger**, then **Test run**. For Slack, Intercom, Linear and similar, Test run opens on a sample of the service's event. If you type in the sample, that text is kept. Once a real event has arrived, Test run uses the last real event. |
| **From a webhook** | Send a test event from the other tool to the **Webhook URL**, or open **History** and select **Test run** to enter a sample event. |
| **A tool Zite checks on a timer**, such as Stripe | Open **History**, then **Test run**. |

**Run now** on a schedule starts the run straight away and shows **Test run started**. The **Test run** dialog first confirms that it runs the current draft once and that any changes it makes are real; select **Run now** to start. Then check the new run in **History** and the result in your database or inbox.

Test runs don't count toward your workflow-run allowance. AI steps that use Zite's AI account still use credits.

## Read the run history

Open the automation and select **History**. Each row shows:

* **Status:** **Success**, **Error**, **Running**, **Waiting**, **Retrying**, **Cancelled**, or **Skipped**. A run that ignored its input shows as **Skipped**, with the reason.
* **Triggered by:** **Schedule**, the data change or event, **Webhook**, or **Test run**.
* **Integrations:** the tools the run used.
* **Time** and **Duration**.

![History list with Filter and Test run buttons and two successful runs, one triggered by Schedule and one by Test run](https://mintcdn.com/zite/TvxASFVq0ccvt0kh/help/images/automations/run-history@2x.png?fit=max\&auto=format\&n=TvxASFVq0ccvt0kh\&q=85\&s=7e636b65dffd52b9c4e242b03b260cab)

The History list of a published automation. Select a row to open the run.

Select **Filter** to narrow the list by **Triggered by**, **Status** (**Success** or **Error**), or **Time range**. The list shows the last 7 days by default; you can go back up to **90 days**, which is how long runs are kept.

Select a run to open its details. The summary says whether it succeeded, how long it took, and whether it was a **Live** or **Test** run. Below it, each step shows what it did. Expand a step to see what it read, changed, or sent, and the error that stopped it. Steps that reused a saved result from an earlier attempt are marked, as are waits that were skipped in a test.

For runs from 25 Nov 2026 on, the run also lists the calls to connected services and the web requests it made, with each call's name, status and timing.

## Fix a failed run

1. Open the failed run and find the step marked as failed. Check the steps before it too: a record may already have been saved before a later email step failed.
2. In the chat, tell Zite which run failed and ask it to explain before changing anything. For example:

   > The run at 9:00 today failed. Check its history and tell me which step failed and why before making changes.

   When the last live run has failed, the editor also shows a notice with **View in History** and **Ask the agent to fix it**.
3. After a fix, test again, then **Publish**.

To finish the work from the failed run, open it and choose one of:

* **Resume failed step:** continues from the step that failed, using the current draft. Steps that already completed aren't run again, so an email that was sent isn't sent twice. If the run's saved results have expired, Zite asks you to replay instead.
* **Replay:** starts a new run with the same input, using the current draft. Every step runs again, including messages that were already sent, so check what the failed run completed first.
* **Cancel run:** stops a run that is still running, waiting, or retrying.

## Retries and waits

When a step fails, Zite retries it after **30 seconds**, then **2 minutes**, then **10 minutes**. The run shows **Retrying** in between. If every retry fails, the run ends with **Error** and you can fix the automation and resume it. A step's completed work is saved before the next step starts, so retries don't repeat it.

A run can also **wait** between steps for up to 30 days, for example to send a reminder a week after an invoice. It shows **Waiting** with the time it resumes. Waiting runs keep the version of the automation they started with. If you turn the automation off, waiting and retrying runs end.

A scheduled automation whose previous run is still waiting or retrying skips the next scheduled time by default. See [On a schedule](https://www.zite.com/help/platform/automations/triggers.md#on-a-schedule).

## Loops and limits

An automation that writes to the table it watches doesn't start itself again. If one automation's change starts another, and so on, the chain stops after **5 runs** and the editor shows **Stopped a loop**. Check whether an automation writes to a table whose trigger or database webhook runs it again, then ask Zite to add a condition that stops the loop.

For the limits on how many records one change can start runs for, see [When data changes](https://www.zite.com/help/platform/automations/triggers.md#when-data-changes).

## Runs and credits

Each run of the published automation counts as one workflow run, including runs that fail after they start and however many retries or waits they contain. Test runs, replays, and resumed runs from the editor don't count. If your organization goes over its monthly run allowance, published automations keep running, but you can't publish changes or turn an automation back on until the allowance resets or you upgrade.

AI steps that use Zite's AI account use credits on live and test runs. Zite's AI pauses once your organization uses **more than 150% of its credit allowance**; AI through your own provider key isn't affected. See [App usage](https://www.zite.com/help/platform/getting-started/usage.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.