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

# Create an automation

Automations let you run actions automatically when a specific event happens in your store.

For example, you can create an automation that:

* Sends a confirmation email right after an order.
* Waits a few hours and sends the customer an SMS.
* Sends a cart recovery sequence by email and SMS.
* Runs several consecutive steps within the same flow.

Each automation has two parts:

1. **Trigger:** the event that starts the automation.
2. **Steps:** the actions that run afterwards.

***

## Step 1. Create the automation

Go to the **Automations** section and click **New Automation**.

Before adding steps, set up the automation's main information.

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-57.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=c0525c799039f297296026a0be1d670f)

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-58.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=165a26369a157fd209f6ce472eff8102)

### Name

Enter a name that makes the automation easy to identify.

For example:

* Order confirmation
* Cart recovery
* Post-purchase sequence
* Customer follow-up

The name is internal and is used to identify the flow within Hurry.

***

### Trigger

The **Trigger** is the event that starts the automation.

For example, if you select **Order Paid**, the automation starts every time an order from the selected store is paid successfully.

Choose the trigger that matches the automation's goal.

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-59.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=75ae15acd4d75a77d1712f1a56883147)

***

### Status

Select whether the automation is **Active** or **Inactive**.

An active automation starts running when the configured trigger occurs.

If you're still preparing the messages or setting up the steps, you can keep it inactive until the flow is finished.

***

### Store

Select the store you want to associate the automation with.

The trigger only runs for events that happen in the selected store.

***

## Step 2. Save the automation

Once you've set the name, trigger, status and store, click **Save**.

After saving the automation, the **Steps** section appears, where you can build the complete flow.

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-60.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=b9c411c9e37ab786810bd22037f8cd8c)

***

# Add Steps

**Steps** are the actions Hurry runs once the automation is triggered.

You can add as many Steps as you need and combine them to build complete communication flows with your customers.

There are currently two types of Steps:

* **Email:** sends a previously created email template.
* **SMS:** sends an SMS template to the customer's phone number.

Each Step can run immediately or after the wait time you set, so you can combine emails and SMS within the same automation.

To add a new Step, click **Add Step**.

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-61.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=d67f139ec31029c442227a18e2f09a60)

Steps run in the order and with the timing set on each one.

***

## Example 1: Order confirmation

A simple order confirmation automation could be set up like this:

**Trigger:** `Order Paid`

| Step | Timing | Type | Action |
| :- | :- | :- | :- |
| 1 | Immediately | Email | Send the **Order Confirmation** template |

Flow:

```text theme={null}
Order paid
        │
        ▼
Automation is triggered
        │
        ▼
Confirmation email is sent
```

***

## Example 2: Abandoned cart recovery

A typical sequence to recover abandoned carts could be:

**Trigger:** `Cart Abandoned`

| Step | Timing | Type | Action |
| :- | :- | :- | :- |
| 1 | 1 hour | Email | Send the first abandoned cart reminder |
| 2 | 12 hours | SMS | Send an SMS with the cart link |
| 3 | 24 hours | Email | Send a final recovery email |

Flow:

```text theme={null}
Cart abandoned
        │
        ▼
1 hour → Email
        │
        ▼
12 hours → SMS
        │
        ▼
24 hours → Final email
```

These are just two examples. You can create as many Steps as you need and combine **Email** and **SMS** to build fully customized flows.

***

## Edit or delete a Step

From the Steps list you can edit or delete any step in the automation.

Use the **edit** icon to change the Step's settings or the **delete** icon to remove it from the flow.

![Image](https://mintcdn.com/hurrypay/iaudAYyejoZ00YD2/images/image-62.png?fit=max\&auto=format\&n=iaudAYyejoZ00YD2\&q=85\&s=259324a50982574fa0ef1108708e32a9)


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