# Auto funnel settings

{% hint style="warning" %} <mark style="color:red;">**Attention!**</mark>

<mark style="color:red;">**The maximum number of scheduled messages per client is 32 messages.**</mark>
{% endhint %}

## Message chains

Message chains are a popular tool in messenger marketing. This is a planned series of messages sent at a certain interval. They warm up users' interest. This approach is also effective for event reminders. For example, you can send messages a week in advance, a day in advance, and so on before the scheduled time.

### Timer connection

Timer connections are connections that are clicked through after the time period specified in the editor. The arrow is displayed as dotted lines.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcI1HwTD0PX_07ZHy2j7NRkV_529HzDHkntjQ6G7OuMMXIZOo7M4Mv65P979x_0FZOS0oTBfLMZa19xy00K3jIAFx19vlkVmIg32j8LltzVzvWcjl5P60XgWLdcDIzMohLzm9x4Sw?key=_VJcbaDlafJuggKO1X25oIlq" alt=""><figcaption><p>Picture 1. Timer arrow</p></figcaption></figure>

To specify a timer, you can fill in the first field of the "Delay before response" arrow settings with a value. Specify a number and select  the unit of measurement applied to the number, which can be seconds, minutes, days, hours, and even months. The bot will send a message after the time you specified in the delay field.&#x20;

Variables work in this field, for example, you can ask "In how many minutes should I write to you?" and save this value to a variable and specify it in the "Delay before response" field. You can also create an alarm clock by asking for the exact time

### Example

Step 1. We create a block in which we ask when to call back and set the buttons for the client selection:

<figure><img src="/files/j267I1Nuc7lB7Kk9PJTo" alt="" width="563"><figcaption><p>Рис 2. Создание блока с кнопками</p></figcaption></figure>

Step 2. In arrow settings:

а) Activating the "User enters data" checkbox;\
б) We prescribe a variable in which the value selected by the client will be written;\
в) We specify a variable in the "Delay before response" field:

<figure><img src="/files/SDpJeANWJyrKY7q13Yuf" alt="" width="563"><figcaption><p>Рис 3. создание стрелки</p></figcaption></figure>

Now the bot will work only depending on the time selected by the client.

{% hint style="warning" %}
Please note!&#x20;

If such connection leads from the block, the transition will be automatically, regardless of the user's response.
{% endhint %}

#### Accidental delay

You can specify a random delay by specifying the function call a random(x, y) in the field, where x is the minimum delay size and y is the maximum size. Usage example:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfUQP9sq9JjNLPFAr9_wrXhv6i6a935I90h7irf9quIyM4Q2YsBnJRPiebAvEUpNPRVbPR00owiE7xfJKpJGb7gyY4OqCM4E3HhPtcSCRxkUa8O9haVN9fr_LRbVCap2kPxERt3?key=_VJcbaDlafJuggKO1X25oIlq" alt=""><figcaption><p>Picture 4. Accidental delay</p></figcaption></figure>

#### Cancel during switching to another block. The arrow is a reminder to respond.

Activating this slider will cancel the transition to this block if the client has moved to another block. This is convenient when you need to arrange a reminder if the client does not respond to the message from the previous block for a long time, or when you need to follow one or the other message thread, depending on the value of a certain user variable , as in the example in Picture 5:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdXL2G6y_uRBBv9q_zfcWgZV_KzbdGZTAXjvau4JxXO-kpl_AoauGT5qCNbfQzGs9VyE5aHUe0yfTLqebEOhEQdiOhJO85hxspIWElN5r-YGTF7zF9KjpqAdlGMb9jaDOx9P5I8CQ?key=_VJcbaDlafJuggKO1X25oIlq" alt=""><figcaption><p>Picture 5. An example of creating a response reminder. If the client does NOT <br>shift to the block below, it receives a message from the "Not status" block after 5 seconds.</p></figcaption></figure>

#### Cancel timer messages

When this slider is enabled, all other timer messages are canceled.

#### Not cancel

When "Do not cancel" is enabled, this transition to the block will not be canceled at all. Even if the condition "Cancel timer messages" is set in the other arrows of the funnel.

#### Sending time including delay

Bot will send the message at the specified time and add a delay from the "Delay before reply" field. If the day of sending the message has passed but you have set the "Send if the date has passed" flag, it will be scheduled for tomorrow\.You can use a variable to set the time. To do this, enter the required variable in the field. An example is shown in Picture 7.

#### Dispatch date including delay

Bot will send the message on the specified date, adding time and delay. It is convenient when holding promotions on a certain day. If the day of sending the message has passed and you have set the "Send if the date has passed" flag, it will be scheduled for tomorrow.

The mechanism works as follows: timer messages are messages that do not require user action to click through them. You specify the interval or the exact time when you want to send the message. As a result, the mailing list goes through the stages independently. Combining it with regular connections, you can implement any message chain.

You can use a variable to set the time. To do this, enter the required variable in the field. An example is shown in Picture 7.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfljvYYp7ujVW8-Ue0CXmmleJ9uXc4VLMQzL3IymM69dKmFZ4mDFB1TxJGStE_rH6DqYDoAewgzCClPNdzi9ieLTMCCF3PnAmp9JZEk0xwmLjFHfnWyRA0FvqTOgdTIyjb3xRJP?key=_VJcbaDlafJuggKO1X25oIlq" alt="" width="563"><figcaption><p>Picture 5. An example of a given date in the number and date format.</p></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfr2fghm128bC_urzAdjR-uTJS5NMl7BX2sZPiA4AmvH4P--5hoCrPY-eOEDdXiEpEKY4MWIsgD9713HAE25rCOASGJGMSoCgGs72GLiYbVCrXJge2vFmEkGCNihtMtShJE-Qh0Tw?key=_VJcbaDlafJuggKO1X25oIlq" alt="" width="563"><figcaption><p>Picture 7. Option for specifying date and time sending in variables</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mavibot.ai/mailings/auto-funnel-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
