> For the complete documentation index, see [llms.txt](https://docs.noqo.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.noqo.ai/main-settings/additional-settings/follow-ups.md). Agents can also search and read this documentation through its [MCP server](https://docs.noqo.ai/~gitbook/mcp).

# Follow-ups

Follow-ups (pings) are automatic messages that are sent after a set period of time if the client has not responded to the bot’s last message.

#### **Sending a follow-up**

To configure this section, go to **Additional Settings**, open the **Follow-ups** section, and click **Add**.

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FiA6BDYMGEFSEQ6dO1t4Q%2FFollow-ups_1.jpg?alt=media&amp;token=6246a755-bd8f-4a56-9bdb-4bc4a21a10f8" alt=""><figcaption></figcaption></figure>

The **follow-up group settings** will open

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FZpYgKhxX5u8rngy9YzPB%2FFollow-ups_2.jpg?alt=media&amp;token=122e2bd8-3eb2-4fdc-966a-70a897ae08fa" alt=""><figcaption></figcaption></figure>

> * **Time after which the message will be sent** – the delay before the message is sent.
> * **Set exact time** – send the message at a specified time.
> * **Reschedule an event if the time for which it was scheduled turns out to be cut of order** – if the follow-up is set for non-working hours, it will be rescheduled and sent during working hours.
> * **Set call limit in dialog** – the maximum number of times a follow-up can be sent in one sending cycle.
> * **LLM instruction** – used to determine whether certain actions should be performed in the client dialogue based on information provided in the conversation.
> * **Fixed message** – if selected, you should enter the specific message to be sent to the user in the input field below.
> * **Message generation by existing bot** – if selected, you can provide instructions for additional bot actions and message generation in the input field below. Example: “Remind the client about yourself, based on the conversation context, and call the function get\_file\_text(file=Administrator)".
> * **Message generation by LLM model** – if selected, you should provide an instruction for message generation in the input field below. Example: “Remind the client about yourself, based on the conversation context.”
> * **Call Knowledge Base file** – allows you to send a specific knowledge base file. If this option is enabled, select the required file in the 'File to be called' field below.

#### **Additional follow-up sending parameters:**

1. **Follow-ups are only sent if the client has not replied to the bot’s message:**
   * If the last message in the dialogue was from the bot and the client has not responded, follow-ups will be sent after the specified interval.
   * If the last message was from the client, follow-ups will not be sent.
2. **Resetting follow-ups when the client responds:**
   * If the client replies, all scheduled follow-ups are canceled.
   * After the client’s reply, if the bot sends a new message, the follow-up timer starts over.

#### **Examples:**

> 1. **Scenario 1: The client does not respond:**
>
> * The bot sends a message.
>
> * The client does not reply within 20 minutes.
>
> * A follow-up is sent 20 minutes after the bot’s message.
>
> 2. **Scenario 2: The client responds:**
>
> * The bot sends a message.
> * The client replies after 10 minutes.
> * All scheduled follow-ups are reset.
> * If the bot sends another message, the follow-up timer starts over.

#### **Instructions in follow-ups (LLM instruction):**

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2F13hDEZlOqxqUXwwYGCnw%2FFollow-ups_3.jpg?alt=media&amp;token=f399b5a3-8fc6-431f-b4a2-4fc9602bd817" alt=""><figcaption></figcaption></figure>

* **Pass function calls** — to check the condition, the dialogue history will be sent to the LLM; this setting determines whether to include function call events in the history.

#### **Follow-up Sequences**

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FOIgnNfTl0MHxxO9wVAyC%2FFollow-ups_4.jpg?alt=media&amp;token=e103f148-3502-4120-8964-f2e34789a092" alt=""><figcaption></figcaption></figure>

This is a sequence of different follow-ups (pings) that are sent at specific intervals. Instead of sending the same follow-up multiple times, you configure several distinct messages that are delivered one after another depending on the conditions.

**How does it work?**

1. **First follow-up:**
   * Sent after a set period (for example, 10 minutes after the bot’s last message).
   * If the client does not reply, the next follow-up is sent.
2. **Second follow-up:**
   * Sent after the next interval (for example, 20 minutes after the first).
   * If the client still does not reply, a third follow-up is sent.
3. **And so on:**
   * The sequence continues until all follow-ups have been sent or until the client responds.

#### **Call Limits in dialog**

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FQ2ElAg8DW7u6FVy0OEz2%2FFollow-ups_5.jpg?alt=media&amp;token=b079b4b6-b716-4fca-baed-666edcfdb1ff" alt=""><figcaption></figcaption></figure>

* The call limit applies to the entire duration of the dialogue, not just to a separate cycle.
* If a call limit is set at any step (for example, 1), then after that follow-up has been successfully sent, it will no longer be sent in this dialogue.
* If the limit is reached, all subsequent follow-ups in the chain will also not be sent, since they depend on the successful completion of the previous step.

**A follow-up sequence** is a convenient way to send different messages at specific intervals. Limits help control at which step the sequence should stop.

**How a follow-up sequence works**

1. **Each follow-up in the sequence has its own execution condition:**
   * Each follow-up has its own condition.
   * If the condition is met, the follow-up is sent.
   * If the condition is not met, the follow-up is not sent, but it is still considered successfully processed by the system. The next follow-up’s timing is calculated from when the previous one was queued.
2. **Queue and reset:**
   * All first-level follow-ups are queued after the bot’s response, a knowledge base file call, or another follow-up.
   * If the client or agent writes in the chat before the follow-ups are triggered, all scheduled follow-ups are canceled, and the queue restarts from the first level.
3. **The send time for each follow-up depends on the previous one:**
   * If the previous follow-up was sent, the next is scheduled for the set interval after the previous follow-up.
   * If the previous follow-up was not sent (condition not met), the timing for the next is counted from the original time (the last message time).

**Here’s the English translation of your summary:**

* A follow-up sequence allows you to send messages one after another, taking execution conditions into account.
* Call limits control how many times a follow-up can be sent within a single dialogue.
* If a follow-up is not sent because the condition was not met, the next follow-up is scheduled from the original time (the last message time) or from the last follow-up.
* The follow-up queue resets when the client or agent responds and starts again from the first level.

#### **Schedule**

<figure><img src="https://1782981877-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKvUDH16L29QcaH0CuUhn%2Fuploads%2FUt1Kb0n25JOYZg46NhfJ%2FFollow-ups_6.jpg?alt=media&amp;token=97de8ccb-0332-4c38-9cfe-83705569ca20" alt=""><figcaption></figcaption></figure>

> * **Trigger follow-ups after an agent’s message** — means that the bot will send follow-ups not only after its own messages, but also if the client does not respond after an agent’s message.
> * **Follow-up schedule** — an option for configuring working hours. It ensures follow-ups are not sent at night if you have follow-ups set to send after a certain interval, rather than at an exact time.
