# Automations

> Set a rule once so Budgetox labels a transaction, reserves money into your Funds or sends you a message at the point you chose.


An automation is a rule you set once. When something happens with your money, it labels the transaction, reserves money into your Funds or sends you a message. An automation never moves money between accounts and never pays anything.

## What an automation is made of {#parts}

Every automation has three parts:

- **When it starts** is what sets it off: a recorded transaction, a balance that crosses an amount, a recurring payment coming up, a recurring payment that changes its amount or stops arriving, a budget reaching a share of its limit, a Fund reaching its target or falling behind its plan, an account that stops covering its Funds, a vehicle reaching a mileage, a value that was not updated for a while, a day in the calendar or the end of a month.
- **Only if** narrows it down, for example to one account, one payee, a text in the description or an amount.
- **What it does** is a label on the transaction, a reservation into Funds, a suggested change to a recurring payment, a notification in the app, an email, or several of these.

## Start from a recipe {#recipe}

:::steps
1. Open **Automations** and choose one of the **Recipes**.
2. Fill in what is yours, such as the account, the amount or the text.
3. Read **On your data**. It shows what the automation would do with your own records before you save anything.
4. Choose **Add automation**.
:::

To build one from nothing, choose **Add automation** at the top of the page and pick the **Trigger** first.

## Label transactions {#labels}

An automation that starts with a recorded transaction can set its category, its payee, a note and the tax mark. It works the same for a transaction you enter, one posted from a recurring payment and every row of an import.

A label fills only what is still open: a transaction without a category, payee, note or tax mark. What you chose yourself always stays. When two automations want to set the same thing, the one you created first wins.

After you save, the automation shows under **Earlier transactions** how many older transactions it could still label. Choose that number to apply it to them.

## Reserve into Funds {#reserve}

An automation can reserve money that is still Unallocated on an account into the Funds on that account. Three things can start it:

- Income recorded on the account, such as a paycheck. Each Fund gets a fixed amount, a percentage of the income or its own monthly pace.
- A balance that rises above an amount. A percentage counts from what is above that amount.
- A day in the calendar, for a regular reservation.

Under **Reserve into Funds** choose how it behaves:

- **Suggest it** changes nothing. The suggestion appears under **Waiting for you** on the **Automations** page, where you choose **Confirm** or **Decline**. The menu shows next to **Automations** how many suggestions wait, and **Needs attention** on the **Dashboard** and the **Weekly overview** remind you of them.
- **Reserve right away** reserves in the same step and shows it in the history, where **Take back** releases the money again.

Funds are filled in the order you set. An automation never reserves more than is Unallocated on the account and never fills a Fund above its target. What a full Fund cannot take passes to the next Fund in the list, so your regular amount moves on by itself once a target is reached.

An automation for a Fund that falls behind its plan reserves what the Fund is missing, once in a month for each Fund. Reserving for recorded income happens only for recent income, so importing old statements moves nothing.

## Keep recurring payments up to date {#recurring}

Budgetox compares recurring payments that have a payee with the bank statements you import. Two automations build on that check:

- **A recurring payment changes its amount** starts when a statement shows a payment at a new amount twice in a row. Its message says how much more or less that is in a year.
- **A recurring payment goes missing** starts when the last two payments are missing from the statement, which usually means a subscription has ended.

For each, turn on **Send an email**, the suggestion, or both. The suggestion is called **Suggest updating the recurring payment** or **Suggest pausing the recurring payment** and appears under **Waiting for you** on the **Automations** page. There, **Confirm** sets the recurring payment to the amount from the statement, or pauses it, and **Decline** leaves it as it is. Until you confirm, nothing changes.

Budgetox already notifies you in the app about a new amount and a missing payment, so these automations have no notification of their own. A newer suggestion for the same payment replaces one that is still waiting. A suggestion the statement no longer supports can only be declined.

## Get a message {#messages}

Turn on **Notify in the app**, **Send an email** or both. You can add your own sentence to the message.

- A balance automation writes when the balance crosses the amount, and again only after the balance has returned.
- A payment reminder writes the chosen number of days before a recurring expense, in the morning. With **Only when the account will not cover it** it stays quiet unless the account would run short that day.
- A budget automation writes once in each budget period, when spending first reaches the percentage.
- A monthly close writes on the first morning of a month with the income, the expenses and what you kept in the month that ended.
- A Fund automation writes when a Fund reaches its target, or in the morning when a Fund is behind its plan. For the Funds it follows, its notification replaces the one Budgetox sends on its own.
- A coverage automation writes when an account no longer covers its Funds and Budgetox lowers them, with the amount each Fund lost.
- An automation for recorded transactions writes only about recent ones, so importing old statements stays quiet.
- A mileage automation writes once, when a refueling or a charging records an odometer at or above the mileage you set. Change the mileage after a service to hear from it again.
- A value reminder writes in the morning about an asset or a debt whose value was not updated for the number of days you set, once in a month for each.

Emails from automations have their own topic in the [notification settings](https://budgetox.com/docs/settings/notifications).

## See what it did and take it back {#history}

**What they did** lists every time an automation started. A label can be undone with **Take back**: the transaction returns to what it was, and that automation does not label it again. A reservation can be taken back the same way while the Funds still hold the money.

Open an automation to turn it off, edit it or delete it. What starts an automation cannot be changed later; create a new one instead.

## What Budgetox already does on its own {#built-in}

The last list on the page shows what runs without any setup, such as low balance warnings, budget alerts and contract reminders. Each entry opens the place where it is set.
