---
title: "Configure an Autopilot"
description: "Give one agent a repeatable task, a trigger and an output, then turn the Autopilot on and check its first run."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.aiagent.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure an Autopilot

An Autopilot gives one agent a repeatable task. You describe what should happen, choose the agent, choose what each run produces, and choose when it runs.

> **Test while the Autopilot is Paused**
>
> **Run now** works while the Autopilot is **Paused**, and a manual run does not
> turn the Autopilot on. A paused Autopilot does not fire its schedule or event
> trigger. Test with **Run now**, check the result, then turn the Autopilot
> **Active** to arm the trigger.

1. **Create the Autopilot**

   1. In **Workflows**, click **New**.

   ![The New button at the top of the Workflows page.](/screenshots/guides/autopilot-new-button.webp)

   2. Click **Autopilot**.

   ![The New automation dialog with the Autopilot option.](/screenshots/guides/autopilot-choose-type.webp)

   3. In **Name**, enter a name for the Autopilot.
   4. In **What should happen?**, describe the task, the sources to use, the result you expect, and when the agent must ask for review. This field is optional and holds up to 8,000 characters.
   5. In **Who does the work?**, choose an agent.
   6. In **Trigger**, choose when the Autopilot runs. For a schedule, choose **On a schedule**, then set **Repeat**, the time and the timezone.
   7. In **What should it produce?**, choose **Save the run output** or **Create tickets**.
   8. Click **Create autopilot**.

   ![The New autopilot form with Name, What should happen?, Who does the work? and Trigger filled in.](/screenshots/guides/autopilot-form.webp)

   To start from a prepared task instead, choose one in **Start from a recipe**, then click **Use recipe**. A recipe replaces the instructions, the schedule and the output choice. It never connects accounts or starts runs.

   A new Autopilot starts paused.
2. **Check access and approvals**

   Make sure the agent has the connections and tools the task needs. Keep external writes behind an approval step, and leave destructive tools turned off unless the task needs them.
3. **Test it, then turn it on**

   1. Save the Autopilot, and publish any draft. In **Workflows**, open it.
   2. Leave the switch on **Paused**, then click **Run now**.
   3. In **Recent runs**, open the run and check the result.
   4. When the result is right, click the **Paused** switch. It changes to **Active**, and the trigger is armed.

   ![The top of an Autopilot page with the Paused switch and the Run now button.](/screenshots/guides/autopilot-activate-run.webp)

   **Run now** is disabled while the Autopilot has an unpublished draft. While AI Agent starts the run, the button reads **Running…**. Check that the steps, output and approvals of the run match what you expect.

   If the result is wrong, fix the task and run it again. If the Autopilot is already **Active**, click the switch first to pause it, so the trigger does not fire while you fix the task.

   If your plan's limit for runs at the same time is reached, the run waits in a queue and **At your concurrency limit** opens. The run starts when another run finishes.
4. **Change a live Autopilot**

   1. Click **Edit**.
   2. Make your changes, then click **Save draft**.
   3. In the **Unpublished draft** bar, click **Review changes**, then publish the draft.

   Until you publish, the Autopilot keeps running its published configuration. To drop your changes, click **Discard draft**.

## When an Autopilot pauses itself

AI Agent pauses an Autopilot when its runs keep failing: after 10 failed runs in a row, or when 8 of its last 10 runs failed, including the latest one. A failed run that you start with **Run now** counts too. Any successful run resets the count. Org admins who have **Run failure** notifications turned on get an email.

## Expected result

**An Autopilot is ready when**

One manual run completes or waits at the approval point you intended, its
trigger is correct, and the Autopilot is active.

## Continue from here

- [Build and test a workflow](/guides/build-and-test-a-workflow)
- [Inspect runs](/core-concepts/runs)
- [Understand approvals](/core-concepts/approvals)
- [Workflows and Autopilots](/core-concepts/workflows-and-autopilots)

Source: https://docs.aiagent.app/guides/configure-an-autopilot/index.mdx
