# Create an email automation

> Create an automation that sends emails automatically, for example a welcome email to new subscribers in your list.
>
> Source: https://docs.mailniaga.com/automations/

An automation sends emails automatically when an event occurs for a subscriber. An example is a new subscriber who joins your list. You choose a trigger and a list. Then you build the email flow in the automation editor.

## Before you start

You must have these items:

- A list. If you do not have a list, create one first.
- A subscription plan that allows automations. If you are at the automation limit, Mail Niaga shows a message to upgrade your plan.

## Create an automation

Do these steps to create a new automation.

1. Click **Campaigns** → **Automation**.
2. Click **New Automation**.

   *(Screenshot: The Automations page with the New Automation button)*

3. In the **Trigger** step, click the trigger card that you want, for example **Welcome new subscribers**. The page goes directly to the **Configure** step.

   *(Screenshot: The trigger cards in the Trigger step, with the Welcome new subscribers card)*

4. Type a name in **Automation name**.
5. Choose a list in **Mailing list**.
6. If necessary, choose a segment in **Segment (optional)**. Keep **All subscribers** for all the subscribers in the list.
7. Fill in the other fields for the trigger, if there are fields. For example, the birthday trigger needs a date field and a send time.
8. Click **Create automation**.

   *(Screenshot: The Configure step with the automation name, the list and the Create automation button)*

Mail Niaga opens the automation editor. A new automation has the status **Inactive** and does not send emails yet. The list of all the triggers and their fields is in [Automation trigger types](https://docs.mailniaga.com/automation-triggers/).

## Example: a welcome email for new subscribers

This example sends one welcome email, then one follow-up email three days later.

1. Create an automation with the **Welcome new subscribers** trigger and your list.
2. In the editor, click **+** below the **TRIGGER** card.
3. In **Add node**, choose **SEND EMAIL**. Fill in the subject, the sender name and the sender email. Then choose a template.
4. Click **+** below the **SEND EMAIL** card and choose **WAIT**. Choose **For a duration**. Then choose **3 days** in the **COMMON WAITS** list.
5. Click **+** below the **WAIT** card and add a second **SEND EMAIL** for the follow-up email.
6. Click **Activate**.

This picture shows the completed flow, with one **WAIT** and one **SEND EMAIL** after the trigger. This automation is not active yet, so the top bar shows **PAUSED** and the **Activate** button.

*(Screenshot: The automation editor with the TRIGGER, WAIT and SEND EMAIL cards)*

To add, save and delete steps, see [Build an automation flow](https://docs.mailniaga.com/automation-editor/).

## From the autoresponder of the old system

The old Mail Niaga system had autoresponders: a series of emails for one list. The current Mail Niaga has no autoresponder menu. You now build the same series as one automation. Put **SEND EMAIL** and **WAIT** steps one after the other, as in the example above.

## Tips

This advice helps you set up automations with more confidence:

- **Test the flow on a test list first.** Create a small list with your own email address. Then you can see each email before real subscribers get it.

- **Give the automation a clear name.** For example "Shop list welcome" or "Birthday wishes". A clear name helps you find the automation in the table.
- **Each subscriber enters an automation only one time.** A subscriber who completed the automation will not get the same series again.

## Common issues

### Why are no emails sent after I create an automation?

A new automation has the status Inactive. Open the automation, add a minimum of one step after the trigger, then click Activate. See Build an automation flow (/automation-editor/).

### Where is the autoresponder function from the old system?

In the current Mail Niaga, you build a series of automatic emails as one automation. Put SEND EMAIL and WAIT steps one after the other in the automation flow.

### Why do new subscribers not get the welcome email immediately?

The Welcome new subscribers trigger starts when a subscriber confirms the subscription. If your list uses double opt-in, the automation waits until the subscriber clicks the confirmation link in the email.
