> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/marketing/notification/create-notification/message.md).

# Message

When you want to configure the content of a notification message to be sent to customers, you can use the **Message** feature.&#x20;

In the **Message** section, there are two parts there are on the left side of the page is used to configure the message, while the right side serves as a preview that displays how the message will appear before it is sent to the customer, as shown in the image below.

<figure><img src="/files/vgnc3u8tfl0DBwy1cZPe" alt=""><figcaption><p>Message Form</p></figcaption></figure>

**Component Explanation:**

<table><thead><tr><th width="243.1666259765625">Name</th><th>Description</th></tr></thead><tbody><tr><td>Title</td><td>Indicates the name of the broadcast message or notification.</td></tr><tr><td>Notification Template</td><td>Indicates the list of notification templates that have been created on the <a href="/pages/-MUNn1uJDYrrxeMo1Rm1">Template</a> page. Select the template that matches the broadcast message you want to send.</td></tr><tr><td>Optimized delivery method</td><td><p>To specify whether the message is sent using <strong>Marketing Message API</strong> (true) or not (false). </p><p>By checking this, the Marketing Message API terms will be applied and image optimization and template optimization can be enabled.</p><p></p><p><strong>Note:</strong></p><p>By selecting this checkbox, the sent message will be recorded as Marketing Lite in WhatsApp Usage Analytics <a href="/pages/-MTcywX0L8nK9ciuK3jX">Analytics</a>.</p></td></tr><tr><td>Header Format </td><td>This section will only be displayed when the template header is configured as a media type (e.g. image, video, or document). The file name to be uploaded must not contain the following characters: %()[]{}</td></tr><tr><td>Template Variables</td><td><p>Indicates the field for filling in variable data at the broadcast message sending stage in the notification menu.<br><br><strong>Note:</strong></p><ol><li><strong>Static variable</strong> = The data sent to the audience is the same for all recipients.</li><li><strong>Personalized variable</strong> = The data sent or displayed is different for each recipient. The data will be retrieved from the input provided in the xls/csv document at the account &#x26; recipient stage in the previous step.</li></ol><p>For further explanation, you can refer to <a href="#broadcast-message-using-variable">this</a> page.</p></td></tr><tr><td>Trigger dialog on broadcast</td><td>Use this feature to add a dialog flow to your broadcast. <br><br>For example, if you want the bot to actively respond to message when the broadcast is sent. </td></tr><tr><td>Workflow Integration</td><td><p>To specify the workflow that will be executed when a broadcast message is sent.</p><p></p><p><strong>Note:</strong><br>The field will automatically be disabled if you have already configured <strong>'Require workflow when sending notifications'</strong> on the <a href="/pages/-MUNn1uJDYrrxeMo1Rm1">template</a> page.</p></td></tr><tr><td>Previous</td><td>Button for back to Account &#x26; Recipients setting.</td></tr><tr><td>Next</td><td>Button for continuing to Send or Schedule setting.</td></tr></tbody></table>

### Broadcast Message Using Marketing Message API

The **Marketing Message API** feature in Broadcast Message is designed to help deliver messages more optimally and efficiently to customers. By checking the **Optimized Delivery Method** option, the system will send the broadcast message by applying the image optimization features available on the Marketing template page.

{% hint style="info" %}
To learn more about the template feature used as a Marketing Message API template, you can visit [this](/marketing/template/request-template/marketing-template/standard-message/header-template.md#document) page.
{% endhint %}

<figure><img src="/files/hUPXjKT1Vwygm2EUK36x" alt=""><figcaption><p>Optimized Delivery Method</p></figcaption></figure>

After you send the message, the notification received by the customer will appear as shown in the image below.

<figure><img src="/files/frp8BugynfCPVBfN9EjN" alt="" width="188"><figcaption><p>Broadcast Marketing lite on Customer Side</p></figcaption></figure>

When the notification is successfully delivered to the customer, the broadcast data will be displayed on the Analytics WhatsApp page with the status **“Delivered”** and the **Origin Type** set to **Marketing Lite**, as shown in the image below.

<figure><img src="/files/sp2AvMdY2ZxGnP1Zfdtp" alt=""><figcaption><p>Analytic - WhatsApp Usage</p></figcaption></figure>

### Broadcast Message Using Header

As an example, if you want to send a greeting message that includes an image to your customers, you can select the **“skincare\_promo”** template. In the **Header Format** section, there is a field available for uploading the image you want to display in the message, as shown in the image below.

<figure><img src="/files/auTvLAogIkLsEaenhRuM" alt=""><figcaption></figcaption></figure>

When the notification is successfully executed, the image will appear on the customer’s side, as shown in the image below.

<figure><img src="/files/NIOKnmg8XVVPWGwh9kzj" alt=""><figcaption><p>Broadcast Message Image on Customer Side</p></figcaption></figure>

### Broadcast Message Using Variable&#x20;

When you want to send a broadcast using a template that contains variables, you are required to fill in the variables in the message section of the notification. You can choose from 2 variable types: **Static** or **Personalized**.

**Static** data can be used when the data sent to all recipients is the same, as shown in the following image.

<figure><img src="/files/DeZ7sURmCGjx68tQ7Xs5" alt=""><figcaption><p>Variable Static</p></figcaption></figure>

**Personalized** data is data that is displayed differently for each recipient. The data is retrieved from the input provided in the xls/csv document at the **account & recipient** stage.

For example, the xls/csv file entered at the [account & recipient](/marketing/notification/create-notification/account-and-recipients.md) stage is shown in the following image.

<figure><img src="/files/pWnPS8zS8hfKrRScIrDq" alt=""><figcaption><p>Example File XLS/CSV on account &#x26; recipient</p></figcaption></figure>

When you select the Personalized variable, the display on the Message page is shown in the following image.

<figure><img src="/files/vHcD82AXumxxsLylFZ4X" alt=""><figcaption><p>Varibel Personalized</p></figcaption></figure>

For example, if you fill in variable {{1}} with the recipient's name, the message display that will be sent to the recipient will appear in the Preview as shown in the image below.

<figure><img src="/files/aUaWtyY9KvV013qhwm30" alt=""><figcaption><p>Broadcast Message Using Variable</p></figcaption></figure>

After you send the message, the notification displayed to the customer will appear as shown in the image below.

<figure><img src="/files/gP1Duxan9nUhy6wzPSCk" alt=""><figcaption></figcaption></figure>

### Broadcast Message Using Bot Dialog

You can also use **Dialog Flow** to reply to messages from customers. This allows the bot to automatically respond based on the customer’s message content through a defined trigger when they reply to your broadcast.

{% hint style="info" %}
Make sure you have created a dialog flow beforehand on [this](/bot-settings/dialog-flows.md) page and ensure he bot has been activated on the WhatsApp channel.&#x20;
{% endhint %}

For example, you can create a dialog about end-of-month promotions. Within the dialog flow, you may add an intent named **"end of September promotion"**. When this intent is triggered, the system will activate the dialog associated with that intent. An example of the intent can be seen in the image below.

After successfully creating the dialog, make sure you have added the dialog ( <img src="/files/oo8g2LNRFkYJYOqR1E94" alt="" data-size="line"> ) and attached it to the intended bot on the [Bot Manager](/bot-settings/bot-manager.md) page. For example, you attach it to the **Bella** bot with the dialog title **Promo Akhir Bulan**, as shown in the image below.

<figure><img src="/files/7I5otsfVZu8oysR23frF" alt=""><figcaption><p>Attach Dialog</p></figcaption></figure>

On the [**Message**](/marketing/notification/create-notification/message.md) page, you can click the dropdown menu or type the Dialog Flow title in the trigger dialog field, as shown in the image below.

<figure><img src="/files/Ys8slyycg2tXvcaqGic1" alt=""><figcaption><p>Message Page</p></figcaption></figure>

When the notification is successfully sent to the customer and the customer submits a question related to the intention, the dialog will be triggered, and the bot will respond to the question based on the content of the dialog flow, as shown in the image below.

<figure><img src="/files/4WoV1mm7KefGCkL3rQai" alt=""><figcaption><p>Trigger Dialog on Broadcast Message</p></figcaption></figure>

### Broadcast Message Menggunakan Workflow&#x20;

{% hint style="info" %}
Available only on 3Dolphins SRM version 7.
{% endhint %}

You can also send messages directly using a workflow to automate the message delivery process to customers without requiring any customer interaction.

On the **Message** page, you can select the desired workflow by clicking the **dropdown menu** or typing the workflow title in the **Workflow Integration** field, as shown in the image below.

<figure><img src="/files/BzX4qb8GVVVq9lU5nQrJ" alt=""><figcaption><p>Workflow Integration</p></figcaption></figure>

After the workflow is selected, the system will automatically execute the message delivery process according to the logic and conditions you have defined within the workflow.
