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

# Action Templates for Campaigns

Once you create a message, **action templates (AT)** that are linked to this message will be generated automatically in the project.

## When are action templates generated?

**Bulk campaign**: ATs are generated when a message is sent.

**Tailor-made flows**: ATs are generated once you finish editing and the status changes to **Automated campaign is ready**.

## What ATs are generated and when are they assigned to customers?

Let’s look at a **Double Opt-In** email as an example.

While it is being created, the ATs are generated automatically. You can find these listed in the screenshot below.

ATs are assigned to a customer once the customer’s status for the email changes:

<img src="https://mintcdn.com/maestraio/8PKiDbR3rMJsCzSE/images/imported/00_actionMessageTemplates.png?fit=max&auto=format&n=8PKiDbR3rMJsCzSE&q=85&s=96d8026b6d370f885fecbd1e2e489a4b" alt="00_actionMessageTemplates" width="2856" height="1572" data-path="images/imported/00_actionMessageTemplates.png" />

"**Message template**" — an email was composed. This does not mean it was sent.

"**Message template Sent**" — the email was sent to the mail server.

"**Message template Open**" — the email was opened.

"**Message template Click**" — a customer clicked on the link in the email.

"**Message template Unsubscribe request**" — a customer clicked on the Unsubscribe link in the email.

"**Message template Delivery failure**"— the email was sent but not delivered. Click on the **Action line** to find out why:

<img src="https://mintcdn.com/maestraio/-w5Ud9QNiG7Y4nor/images/imported/01_actionMessageTemplates.png?fit=max&auto=format&n=-w5Ud9QNiG7Y4nor&q=85&s=3f570dd2fdcd9cd76296c46b68091ed4" alt="01_actionMessageTemplates" width="1914" height="662" data-path="images/imported/01_actionMessageTemplates.png" />

"**Message template Not sent**" — the email was not sent:

<img src="https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/02_actionMessageTemplates.png?fit=max&auto=format&n=59KyfifOW7tLz5QR&q=85&s=d28df96a5eb9c34296c1cdab1588e061" alt="02_actionMessageTemplates" width="1930" height="660" data-path="images/imported/02_actionMessageTemplates.png" />

## How are ATs recorded in a customer’s profile?

A customer is assigned a relevant AT automatically every time the status changes for a message to the customer.

All the assigned actions are recorded in the customer’s profile along with the timestamp and touchpoint of the action.

For example, the customer has clicked a URL in a message.

If we look at their history of actions, we’ll see emails that were sent, as well as opens and clicks:

<img src="https://mintcdn.com/maestraio/59KyfifOW7tLz5QR/images/imported/03_actionMessageTemplates.png?fit=max&auto=format&n=59KyfifOW7tLz5QR&q=85&s=203db34efd68a700499fd73dd06b8999" alt="03_actionMessageTemplates" width="1998" height="1290" data-path="images/imported/03_actionMessageTemplates.png" />

Each action is clickable and allows you to view additional details:

<img src="https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/04_actionMessageTemplates.png?fit=max&auto=format&n=nXS6QsINTx63g9ke&q=85&s=3be6b854c894902c1fa704c81ee924db" alt="04_actionMessageTemplates" width="1910" height="554" data-path="images/imported/04_actionMessageTemplates.png" />

As you can see, you have a few links here:

* **Message**: this will take you to the page where you can edit the email template.
* **View**: click on this URL to view the personalized email that was sent to this specific customer.
* **Forward**: for email campaigns only. A customer will receive AT after sending.
* **Same actions**: all the events when this action template was assigned to any customer. If you click this link, you’ll be taken to the **Actions** page with this action applied in the filter.

## How to use message Action Templates:

1. Use the filter to select the customers that the message was sent to:

<img src="https://mintcdn.com/maestraio/nXS6QsINTx63g9ke/images/imported/05_actionMessageTemplates.png?fit=max&auto=format&n=nXS6QsINTx63g9ke&q=85&s=adafae0a02e34a6bec5dafda3f9a6119" alt="05_actionMessageTemplates" width="2600" height="652" data-path="images/imported/05_actionMessageTemplates.png" />

2. Select the customers that the message was delivered to.

There is no "Delivered" status available here. To find customers who the message was delivered to, add the following two conditions: that the message was sent + that the status is not "not delivered":

<img src="https://mintcdn.com/maestraio/5322-upQA3cGdluA/images/imported/06_actionMessageTemplates.png?fit=max&auto=format&n=5322-upQA3cGdluA&q=85&s=12ff1506574c763112d3c3be28c3e5cb" alt="06_actionMessageTemplates" width="2600" height="852" data-path="images/imported/06_actionMessageTemplates.png" />

3. Filter the customers who have opened the message:

<img src="https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/07_actionMessageTemplates.png?fit=max&auto=format&n=2_WUUqtXTQTrF_2i&q=85&s=dff05c3b6f0236d0ae3c4563a9a475f6" alt="07_actionMessageTemplates" width="2596" height="652" data-path="images/imported/07_actionMessageTemplates.png" />

4. Filter the customers who have **not** opened the message that was sent to them:

<img src="https://mintcdn.com/maestraio/2_WUUqtXTQTrF_2i/images/imported/08_actionMessageTemplates.png?fit=max&auto=format&n=2_WUUqtXTQTrF_2i&q=85&s=18135319526f7c84419cd22fbdce6d55" alt="08_actionMessageTemplates" width="2580" height="834" data-path="images/imported/08_actionMessageTemplates.png" />

5. Filter the customers who have clicked the URL in the message:

<img src="https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/09_actionMessageTemplates.png?fit=max&auto=format&n=hDwb_Ye73XB_-pfV&q=85&s=ef06d4fa0cfd894bbeb7dda46c96e40f" alt="09_actionMessageTemplates" width="2600" height="660" data-path="images/imported/09_actionMessageTemplates.png" />

6. Filter the customers who opened the message but did **not** click the URL:

<img src="https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/10_actionMessageTemplates.png?fit=max&auto=format&n=hDwb_Ye73XB_-pfV&q=85&s=2e867e1b33f191ace01f4edfd5e95414" alt="10_actionMessageTemplates" width="2580" height="840" data-path="images/imported/10_actionMessageTemplates.png" />

7. Filter the customers who have clicked on the unsubscribe link in the message:

<img src="https://mintcdn.com/maestraio/hDwb_Ye73XB_-pfV/images/imported/11_actionMessageTemplates.png?fit=max&auto=format&n=hDwb_Ye73XB_-pfV&q=85&s=d5dd70179dac0d492fcd96bd26a1748b" alt="11_actionMessageTemplates" width="2598" height="668" data-path="images/imported/11_actionMessageTemplates.png" />
