> For the complete documentation index, see [llms.txt](https://docs.suvvy.ai/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suvvy.ai/en/main-settings/newsletters.md).

# Newsletters

## Setting

{% stepper %}
{% step %}

### Select Mailings on the left side of the menu

<figure><img src="/files/K9HjJmxTPEdyVBDJtCRF" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Setting up the mailing list itself

To do this, click the Create mailing list button:

<figure><img src="/files/9A5R0xOTnpezGkZPyQlV" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Select the bot for which you want to create a mailing list

<figure><img src="/files/Fg701N16ErU2vYIAl7Rz" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### The bot must have a channel connected

<figure><img src="/files/DYRtgE2tjHUDrXlPyA8E" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Setting up filters

We set up filters that will send newsletters to dialogs that meet the criteria:

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

We can configure:

1. The time interval for the last message in the dialog
2. Conditions: we can choose from standard variables, channel variables, or custom ones.

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

{% hint style="warning" %}
For example, we can select only those dialogues that took place in the Bitrix24 channel and those that took place only in the WhatsApp channel.\
Or we can select only those dialogues in which the required #TAG was triggered.
{% endhint %}

After selecting the conditions, don't forget to click "Save"

<figure><img src="/files/jXOQvi96SZIf3PXSHow4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Then the number of dialogues that meet the specified criteria will be displayed:

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

When you click on the dialog button, a modal window will appear where we can see the dialogs that will be used for the mailing:

<figure><img src="/files/FzcZXpL3YGzeZjtiepUj" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Setting the date for sending a dialogue

Here we can set the date and time of sending, as well as the Time range of delay before sendings:

<figure><img src="/files/62mAM8tjgo3XkMtoV6Yf" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Customizing the newsletter text

We have two options:

1. We can write the text that will be sent to the user ourselves.
2. We can use the LLM model's message generation.

<figure><img src="/files/3Oml5Ctt9wJyvwS9l4gT" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Preservation stage

Once we've configured all the parameters for our newsletters, we need to click the "Save" button at the bottom so that all the settings are taken into account and the newsletter is created:

<figure><img src="/files/jKHw2f8vyiZKgH3Hruas" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
