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

# Automate

> See everything that runs on your ads for you in one list, create new automations, and approve or decline the changes waiting for your answer.

Click **Automate** in the left menu. The page shows what runs on your ads for you, and what is waiting for your answer. Everything else opens in a pop-up and closes back to this page.

You need a connected Meta ad account. See [Connect Meta](https://docs.adstellar.ai/getting-started/connect-meta.md).

## What is on the page

| Part of the page | What you do there |
| - | - |
| **Needs you** | Approve or decline the changes your rules want to make. This part only appears when something is waiting. |
| **Automations** | One list of every rule and scheduled task, with a switch to turn each one on or off. |
| **Activity** button | See what the Agent ran and every budget and on / off change made to your ads. |
| **New automation** button | Create a rule or a scheduled task. |

## Rules and tasks

An automation is one of two things. The **Type** column in the list says which.

| Type | What it is | Example |
| - | - | - |
| **Rule** | A check on your ads that runs on a schedule. When your numbers cross a line you set, it pauses, turns back on, archives, changes a budget, duplicates to a new audience, or just notifies you. | Pause any ad set that spends \$50 with no sales |
| **Task** | Work the Agent does on a schedule, such as a report or a check. | Send me a performance report every Monday at 9:00 AM |

These are the same rules and tasks you see under **Agent**, on its **Rules** and **Tasks** tabs. Automate shows them together in one list. See [Tasks](https://docs.adstellar.ai/agent/tasks.md) for how the Agent runs tasks, the built-in tasks and the Activity feed.

## Read the list

Each automation is one line.

| Column | What it shows |
| - | - |
| Switch | On or off. Click it to change. |
| **Name** | The name of the automation. Click it to open the details. |
| **Type** | **Rule** or **Task**. |
| **Runs** | For a rule: **Asks first**, **Runs automatically** or **Notifies you**. For a task: its schedule, for example **Every day at 8:00 AM**. |
| **Latest** | What it last did, for example **2 changes are waiting for your approval** or **Ran about 2 hours ago**. |

Automations that need your attention are listed first, then those that are on, then those that are off.

When there is one thing to do to fix a problem, a button appears at the end of the line. For example, **Reconnect ad account** when a rule's ad account is disconnected.

## Create an automation

Click **New automation**. You can describe what you want, start from an example, or build it yourself.

> [tab] Describe it
>
> **1. Write what you want**
>
> Type in **Describe the automation you want**, for example *Pause any ad set that spends \$50 with no sales*. Click **Create**.
>
> **2. Answer a question if there is one**
>
> If something is missing, you are asked one question. Type your answer and click **Continue**.
>
> **3. Check it and turn it on**
>
> A rule opens on a screen titled **Here's your automation**. Check it over and click **Turn it on**, or click **Customize everything** to change any part.
>
> A scheduled task opens in the task form. Check it over and click **Create task**.
>
> Nothing is switched on until you do it. Describing an automation does not use credits, and there is a limit on how many you can describe each day.

> [tab] Start from an example
>
> Under **Or start from an example**, click an example. A rule example opens a short setup: answer a couple of questions, such as which ad accounts it runs on and **How should it run?**, then click **Turn it on**.
>
> The schedule example fills the description box for you. Change the wording if you like, then click **Create**.

> [tab] Build it manually
>
> Click **Build it manually**, then pick what you are building.
>
> * **A rule that watches my ads** opens the full rule editor. You say what it watches, when it acts and what it does.
> * **Something on a schedule** opens the task form. Give it a **Title**, write the **Instruction** for the Agent, and pick the schedule under **Pattern**: every N minutes, every N hours, daily, weekdays, weekly on the days you choose, or monthly.

## Asks first or runs automatically

Every rule that changes your ads runs one of two ways. You choose when you create it, and you can change it in the rule's details.

* **Asks first.** The rule proposes each change and waits. Nothing changes on Meta until you approve it.
* **Runs automatically.** Changes are made for you, within the rule's limits.

A task has the same choice, as the **Run automatically** switch in the task form. With it off, the Agent posts what it wants to do and waits for your answer. With it on, the Agent makes changes that can be undone (pause, resume, budget) itself and tells you. New creative and launches still ask first.

## Rules that only notify you

A rule whose action is **Just notify me** changes nothing on your ads. It sends you a notice as soon as its conditions are met, and there is nothing to approve.

Under **Notify me by**, choose **Email**, **Slack** or both. At least one stays selected.

* **Email** goes to the person who created the rule.
* **Slack** posts in the workspace's Slack channel, or sends a direct message when the workspace has no channel. To post in a channel, type `/adstellar workspace` in that channel. If Slack is not connected, the option is greyed out with a **Connect Slack** link.

A notice that cannot be posted in Slack is sent by email instead. See [Use the Agent in Slack](https://docs.adstellar.ai/getting-started/use-agent-in-slack.md).

## Approve or decline a change

When a rule that asks first finds something, the change appears under **Needs you**. Each row says what would change, on which campaign, ad set or ad, which rule asked, and when.

* Click **Approve** to make the change. If it can raise what you spend, you see the amount and confirm it first.
* Click **Decline** to turn it down. You are asked for a reason.
* Click **Details** to see the numbers behind it.

The page shows the first three rows. Click **Show all N** for the rest. There, changes are grouped into **Won't increase spend** and **Changes spend**, and you can approve a whole group at once.

If Meta refuses a change, its row stays with the reason on it until you click **Dismiss**. Nothing was changed.

## Open an automation

Click an automation's name to open its details.

For a rule, you see what it does in plain words, the **Asks first** or **Runs automatically** choice, and:

| Line | What it tells you |
| - | - |
| **Checks** | How often the rule checks your ads. |
| **Last check** | What came of the latest check. |
| **Applies to** | Which campaigns, ad sets or ads, in which ad accounts. |
| **Only when** | Extra conditions that must also be true. |
| **Safety limits** | The limits the rule stays within. |
| **Data it reads** | The period of data it looks at. |

For a task, you see when it runs, how it runs and how its last run went.

Both show their history below. From here you can turn the automation on or off, click **Edit** to change it, or click **Delete**.

> [!NOTE]
>
> Only a team owner or admin can delete a rule. The tasks that come with AdStellar can be turned off or given a new schedule, but not deleted.

## Activity

Click **Activity** at the top of the page. The pop-up shows two things:

* **What the Agent ran.** Its recent runs. Click a run that produced a result to read it.
* **History.** Every budget and on / off change made to your ads, with when it happened and who made it.

## Pause everything

To stop every rule at once, or to set the workspace-wide **Safety caps**, go to **Agent**, open the **Rules** tab and use **Pause all automations** or **Safety caps**. While rules are paused, a banner on the Automate page says so. See [Tasks](https://docs.adstellar.ai/agent/tasks.md#the-rules-tab).

> [card] [Tasks](https://docs.adstellar.ai/agent/tasks.md)
>
> How the Agent works on its own: scheduled tasks, the built-in tasks and the Activity feed.

> [card] [Use the Agent in Slack](https://docs.adstellar.ai/getting-started/use-agent-in-slack.md)
>
> Connect Slack so approvals and results reach you there too.


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