# Automation trigger types

> The list of Mail Niaga automation triggers, when each trigger starts, the fields to fill in and the trigger names in the automation table.
>
> Source: https://docs.mailniaga.com/automation-triggers/

A trigger is the event that puts a subscriber into an automation. You choose the trigger in the **Trigger** step of a new automation. In the editor, use the **Change** button on the **TRIGGER** card.

## List of triggers

Each trigger has a card name (when you choose it) and a short name in the **Trigger** column of the **Automations** table.

*(Screenshot: All the trigger cards in the Trigger step)*

| Trigger card | Name in the table | When the automation starts |
|---|---|---|
| **Welcome new subscribers** | **New subscriber** | A new subscriber confirms the subscription to the list. |
| **Say goodbye to subscriber** | **Unsubscribe** | A subscriber unsubscribes from the list. |
| **Say \`Happy birthday\`** | **Birthday** | On the birthday of the subscriber, or some days before it. |
| **Subscriber added date** | **Anniversary** | Some days after the date when the subscriber joined the list. |
| **Specific date** | **Specific date** | On a date and time that you set. |
| **API 3.0** | **API trigger** | Your application sends a POST request to the automation endpoint. |
| **Weekly recurring** | **Weekly** | On the days that you choose, each week. |
| **Monthly recurring** | **Monthly** | On the dates that you choose, each month. |
| **Tag based** | **Tag added** | A tag that you set is added to a subscriber. |
| **Remove Tag** | **Tag removed** | A tag that you set is removed from a subscriber. |
| **Contact Attribute Update** | **Attribute update** | A subscriber field changes to a value that you set. |

## Fields for each trigger

In the **Configure** step, each automation needs an **Automation name** and a **Mailing list**. **Segment (optional)** limits the trigger to one segment. Some triggers need the additional fields that follow.

| Trigger | Additional fields |
|---|---|
| **Welcome new subscribers**, **Say goodbye to subscriber** | None. |
| **Say \`Happy birthday\`** | **Date of Birth field**, **Send how many days before?** (0 to 30 days) and **Send at time**. |
| **Subscriber added date** | **Delay (days after)** (0 to 30 days) and **Send at time**. |
| **Specific date** | **Trigger date** and **Send at time**. |
| **Weekly recurring** | **Days of the week** and **Send at time**. |
| **Monthly recurring** | **Days of the month** (1 to 28) and **Send at time**. |
| **Tag based**, **Remove Tag** | **Tags**. Type the tag name, then press Enter or a comma. Do this again for each tag. The automation starts when one of the tags is added or removed. |
| **Contact Attribute Update** | **Subscriber field** and **New value**. |
| **API 3.0** | **API endpoint** (read-only). |

*(Screenshot: The Configure step of the Tag based trigger, with the tag webinar-2026)*

In the editor, the labels of the trigger fields are a little different. For example, **Days of the week** becomes **DAYS OF WEEK** and **Send at time** becomes **AT TIME**. For the birthday trigger, **Send how many days before?** becomes **SEND BEFORE**. That field is a text box: type `P0D` for the birthday itself, or `P1D` for one day before.

## A subscriber enters only one time

Each subscriber enters an automation only one time. If the trigger occurs again for the same subscriber, Mail Niaga does not start the flow again for that subscriber.

The automation must also be active when the trigger occurs. A subscriber who joins while the automation has the status **Inactive** does not enter the flow later.

## Welcome trigger & double opt-in

The **Welcome new subscribers** trigger starts immediately when a subscriber confirms the subscription to the list of the automation. If your list uses double opt-in, the subscriber must click the confirmation link first. After that, the automation sends the first email.

## Date triggers: birthday & date added

The **Say \`Happy birthday\`** trigger reads a date type list field in your list. Do these steps to set it up.

1. Make sure that your list has a date type list field for the date of birth.
2. Choose the list in **Mailing list**.
3. Choose the list field in **Date of Birth field**.
4. Choose the number of days in **Send how many days before?**. Choose **0** for the birthday itself.
5. Set the time in **Send at time**.

*(Screenshot: The Configure step of the birthday trigger, with the date field Tarikh lahir)*

If the list does not have a date type list field, the **Date of Birth field** list shows "No date fields found for this list. Add a date field to your list first."

The **Subscriber added date** trigger uses the date when the subscriber joined the list. Choose the number of days in **Delay (days after)**, and the time in **Send at time**.

## API trigger

The **API 3.0** trigger is for developers. Your application starts the automation with a POST request to the endpoint in the **API endpoint** field. The endpoint looks like this example (the uid is only an example):

```text
POST https://manage.mailniaga.com/api/v1/automations/a1b2c3d4e5sample/execute
```

*(Screenshot: The Configure step of the API 3.0 trigger, with the API endpoint field)*

Authenticate the request with the API token of your account in the `Authorization: Bearer` header. Do not share your token in code that other people can see.

## Tips

This advice helps you choose and set up triggers:

- **Choose the correct trigger before you build the flow.** If you change the trigger later, check all the steps after it again.
- **Use a segment to limit the recipients.** For example, send birthday wishes only to active subscribers.
- **Add a date type list field before you start.** You cannot choose the birthday trigger without this field.

## Common issues

### Why is the trigger name in the table different from the card name when I create an automation?

The Automations table uses short names. For example, the Welcome new subscribers card shows as New subscriber in the Trigger column. The table in List of triggers shows all the names.

### Can a subscriber who went through an automation enter it again?

No. Each subscriber enters an automation only one time, even if the trigger occurs again.

### Why does the birthday trigger not show a date field?

Your list does not have a date type list field. Add a date type list field to the list first, then choose the list again in Mailing list.
