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

# How to Create an Email Automation

> Learn how to create a contact-triggered email automation in AutoSend, including setting up triggers, adding emails, configuring settings, and activating your automation.

## Prerequisites

Before creating an automation, make sure you have the following ready based on your trigger type:

* **For list/segment triggers:** [Create a contact list](https://docs.autosend.com/marketing-emails/contacts/lists.md) or [segment](https://docs.autosend.com/marketing-emails/contacts/segments.md) that represents your trigger condition.
* **For property-based triggers:** Ensure your contacts have the relevant [contact properties](https://docs.autosend.com/marketing-emails/contacts/contact-properties.md) set up. The automation will evaluate these properties to determine when to trigger.

## How to Create an Email Automation

### 1. Create Your Automation

Under **Marketing Emails** in the sidebar, select [**Automations**](https://autosend.com/automations) and click **New Automation**.

An untitled automation will be created. Give it a descriptive name that clearly identifies its purpose, such as "Pro Plan Onboarding" or "Welcome Series."

### 2. Set Your Trigger

Click on the **Trigger** card to configure what starts your automation. AutoSend offers four trigger types:

### New contact is added to

Select a [contact list](https://docs.autosend.com/marketing-emails/contacts/lists.md) or [segment](https://docs.autosend.com/marketing-emails/contacts/segments.md). When a contact joins this list or segment, they automatically enter the automation.

**Example:** Create a segment called "Pro Plan Members" with the contact property `plan: pro`. When a user purchases a Pro plan and enters this segment, the automation triggers.

![Trigger: New contact is added to a list or segment](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/trigger-contact-added.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=3a12dccf8f9dbe0fddde146f267628b9)

> [!WARNING]
>
> Only contacts added via API or manually after activation will enter this automation. Existing contacts and CSV imports are excluded.

### Contact property matches with

Select a list to scope the contacts, then define a property condition. The automation triggers when a contact in that list matches your condition(s).

1. Choose a **contact property** from the dropdown (e.g., `verified`)
2. Select an **operator** (e.g., `equals`)
3. Enter the **value** to match (e.g., `true`)
4. Click **Add** to include additional conditions if needed

**Example:** Set `verified` equals `true` on the "All Contacts" list. Any contact whose `verified` property becomes `true` will enter the automation.

![Trigger: Contact property matches with a condition](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/trigger-property-matches.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=14195773eb2eec3785074dfaae59a225)

> [!WARNING]
>
> Only contacts added via API or manually after activation and matching the condition(s) will enter this automation. Existing contacts and CSV imports are excluded.

### Contact property changes from → to

Select a list to scope the contacts, then define one or more property transitions. The automation triggers when a contact's property changes from one specific value to another.

1. Choose a **contact property** from the dropdown (e.g., `published`)
2. Set the **from value** (e.g., `unpublished`) and **to value** (e.g., `published`)
3. Click **Add** to include additional property change conditions
4. Use **AND** / **OR** logic to combine multiple conditions

**Example:** Trigger when `published` changes from `unpublished` to `published` in the "All Contacts" list. Perfect for sending a congratulatory email when a user publishes their first project.

![Trigger: Contact property changes from one value to another](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/trigger-property-changes.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=f15adb5eea1e1148d8da7927c23f6e9b)

### Event Received

Pick a custom event from the **Event** dropdown. The automation triggers whenever that event is recorded for a contact, using the data carried in the event payload.

Unlike the other trigger types, **Event Received** is not scoped to a list or segment. Any contact for whom the event fires enters the automation.

1. Select **Event Received** as the trigger type
2. Choose an event from the **Event** dropdown (lists every event defined in this project)
3. Save the trigger

**Example:** Trigger when `order_completed` is received. Then use a [branch](https://docs.autosend.com/automations/branching.md) on the event's `order_total` property to send different post-purchase sequences for small vs. large orders.

![Trigger: Event Received](https://mintcdn.com/autosend-13920f5c/BSgb4_UlBtho2KYl/images/email-automations/trigger-event-received.png?fit=max\&auto=format\&n=BSgb4_UlBtho2KYl\&q=85\&s=7200114fb26f80cecddfac9276752f67)

> [!NOTE]
>
> Only events received after the automation is activated will trigger it. Historical events are not replayed. Don't have an event yet? See [Events](https://docs.autosend.com/automations/events.md) to define one.

### 3. Add Emails to Your Automation

1. Click **Add Email** to create your first email in the sequence
2. Set the **Wait For** timing to determine when this email should be sent:
   * By default, the timing is set to 0 seconds (immediately)
   * Adjust the timing based on your email strategy (e.g., 30 mins, 6 hours, 3 days)
3. Design your email content, subject line, and preview text and select the sender
4. Repeat to add more emails to your sequence

![Add emails to your automation sequence](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/add-email.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=f5a7d43729aa62b868508dce78f15465)

> [!NOTE]
>
> You can add up to 10 emails in a single automation. Plan your sequence thoughtfully to deliver value without overwhelming your contacts.

### 4. Automation Settings

Configure the following settings for your automation:

* **Automation name**: Give your automation a descriptive name (e.g., "Onboarding Automation").
* **Unsubscribe group**: Select an appropriate [unsubscribe group](https://docs.autosend.com/others/unsubscribe-groups.md). Automations are treated as marketing emails and are required to include an unsubscribe link for compliance with email regulations.
* **Tracking**: Toggle tracking for:
  * **Open rate**: An invisible image is appended to HTML emails to track if they have been opened.
  * **Clicks**: AutoSend tracks clicks by rewriting links in your email. When clicked, they pass through an AutoSend server before redirecting to the original URL.

![Automation settings: name, unsubscribe group, and tracking options](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/automation-settings.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=1b5313301f22989f8b31c231312dd168)

### 5. Activate Your Automation

Once you've configured all settings and added your emails:

1. Review your automation flow to ensure everything is correct
2. Send test emails to verify content and personalization
3. Click **Activate** to make your automation live

![Activate your automation](https://mintcdn.com/autosend-13920f5c/ZSiT1dXnfiA-0Jho/images/email-automations/activate-automation.png?fit=max\&auto=format\&n=ZSiT1dXnfiA-0Jho\&q=85\&s=0648080e648c40c5efd720d6170647f3)

Your automation is now active and will begin triggering for contacts who meet the trigger conditions.

### 6. Exit Condition

The automation ends automatically once all emails have been sent or the contact no longer meets
the entry criteria. There's nothing to configure here. This is handled by default.

## Troubleshooting

> [accordion] Contacts aren't entering my automation
>
> <ul>
>   <li>Verify the automation is in **Active** state, not Draft or Paused.</li>
>   <li>Check that contacts are actually joining your trigger list or segment.</li>
>   <li>Ensure your list or segment criteria are correctly configured.</li>
>   <li>For property-based triggers, confirm the contact property exists and has the expected values.</li>
>   <li>Contacts uploaded via CSV won't trigger automations. Only contacts updated/added via API or from the dashboard will be enrolled in automations.</li>
> </ul>

> [accordion] Property-based trigger isn't firing
>
> <ul>
>   <li>Verify the contact property name matches exactly (property names are case-sensitive).</li>
>
>   <li>
>     For "matches with" triggers, check that the property value matches the condition you set.
>   </li>
>
>   <li>
>     For "changes from → to" triggers, ensure the contact's property actually transitions between
>     the specified values. Setting a value for the first time does not count as a change.
>   </li>
>
>   <li>Check that the contact belongs to the list you selected for the trigger.</li>
> </ul>

> [accordion] Event-triggered automation didn't fire
>
> <ul>
>   <li>
>     Confirm the automation was in **Active** state before the event was sent. Events received
>     while the automation is in Draft or Paused are not replayed when you activate it later.
>   </li>
>
>   <li>
>     Check that the `eventName` in your API call matches the event definition exactly (names are
>     case-sensitive).
>   </li>
>
>   <li>
>     Verify the event identifies a contact that exists in your project. Events sent with an `email`
>     or `contactId` that doesn't resolve to a contact are rejected.
>   </li>
>
>   <li>
>     Make sure the event still exists. If it was deleted, the automation's trigger no longer
>     resolves and won't fire.
>   </li>
> </ul>

> [accordion] Emails are sending at unexpected times
>
> <ul>
>   <li>Review your **Wait For** settings between each email.</li>
>
>   <li>
>     Remember that timing starts from when the contact enters the automation, not from a specific
>     time of day.
>   </li>
> </ul>

> [accordion] Contacts stopped receiving emails
>
> <ul>
>   <li>Check if they were removed from the trigger list/segment, or if their contact property no longer matches the trigger condition, or if the property changed away from the expected value.</li>
>   <li>Verify the automation hasn't been paused.</li>
>   <li>Confirm they haven't unsubscribed from these emails.</li>
> </ul>


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