> For the complete documentation index, see [llms.txt](https://docs.loopit.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loopit.co/automations/automations.md). Agents can also search and read this documentation through its [MCP server](https://docs.loopit.co/~gitbook/mcp).

# Automations

Let Loopit send the email, notify the team or create the task when something happens, so no one has to remember.

An automation tells Loopit what to do when something happens. It has a trigger, optional conditions, and one or more actions. Start from a ready-made template, or build your own from scratch.

```mermaid
%%{init: {'theme':'neutral'}}%%
flowchart LR
    T["Trigger: always"] --> C["Conditions: optional"] --> A["Actions: at least one"]
```

***

### What you can automate

#### Start from an event

A trigger can be an event in any of these areas of Loopit.

| Area                     | Examples of what can start an automation                                                                                                 |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **Bookings**             | A booking is created, changes status or is ending soon. A deposit release is upcoming. A contract is signed. An inspection is completed. |
| **Billing and payments** | An invoice is created, issued or changes status. A payment fails. A payment method is expiring. A refund succeeds or fails.              |
| **Fleet and assets**     | An asset's registration is expiring. A service reminder is created. Telematics tracking stops.                                           |
| **People and companies** | A person or company is created.                                                                                                          |
| **TruPass**              | A license check or face verification passes or fails. A TruPass request is completed.                                                    |
| **Documents**            | A document expires.                                                                                                                      |

See [Triggers and conditions](https://docs.loopit.co/automations/automations/triggers-and-conditions.md) for every event.

#### Narrow it down

Conditions limit an automation to some cases, such as one booking location or one invoice type.

#### Respond with an action

When the event happens, Loopit can do one or more of these.

| Action          | What it does                                                        |
| --------------- | ------------------------------------------------------------------- |
| **Send email**  | Emails a customer or your team using one of your email templates.   |
| **Send SMS**    | Texts a customer, if SMS is enabled on your account.                |
| **Notify**      | Sends an in-app notification to a user or everyone with a role.     |
| **Create task** | Assigns a task to a team member, with a due date.                   |
| **Wait**        | Pauses before the actions below it run, for minutes, hours or days. |

See [Actions](https://docs.loopit.co/automations/automations/actions.md) for each action's settings and who it can be sent to.

{% hint style="info" %}
**Automations only react to new events.** They run for events that happen after you publish, not for past bookings or invoices.

Some automations come as **Loopit defaults**. If you edit one and save it as a draft or publish it, it becomes your own and Loopit stops managing or updating it.
{% endhint %}

***

### Where to go next

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-bolt" style="color:$primary;">:bolt:</i></h3></td><td><strong>Create an automation</strong></td><td>Start from a template or from scratch.</td><td><a href="https://docs.loopit.co/automations/automations/create-an-automation.md">Create an automation</a></td></tr><tr><td><h3><i class="fa-gear" style="color:$primary;">:gear:</i></h3></td><td><strong>Manage automations</strong></td><td>Find, edit and pause what you've built.</td><td><a href="https://docs.loopit.co/automations/automations/manage-automations.md">Manage automations</a></td></tr><tr><td><h3><i class="fa-list" style="color:$primary;">:list:</i></h3></td><td><strong>Check what ran</strong></td><td>Run history and the activity log.</td><td><a href="https://docs.loopit.co/automations/automations/run-history-and-activity-log.md">Run history and activity log</a></td></tr></tbody></table>
