# Smart Wait Block

The **Smart Wait Block** helps your bot create more natural and human-like conversations. Instead of sending multiple messages continuously, this block pauses the flow and waits for the user’s input before proceeding.

This prevents the automation from feeling robotic and allows the conversation to progress based on the user's response.

#### How to Use the Smart Wait Block

1. Open your **Chat Flow**.
2. Click **Add Node**.
3. Go to **Native Tools**.
4. Select **Smart Wait**.

#### Configure the Smart Wait Settings

**1. Exit Keywords**\
Define keywords that allow users to exit the waiting state manually.\
For example: `cancel`, `stop`, `exit`.\
If the user sends any of these keywords, the bot will immediately exit the Smart Wait block and move to the defined exit path.

**2. Answer Type**\
Choose how the bot should accept responses:

* **Single Reply** – Accepts one response.
* **Multiple Reply** – Allows multiple responses from the user.

**3. Save Response**\
You can store the user's reply in a **Super Field or B Field** that you created earlier.\
If the field does not exist, you can create a new one directly from the field manager.

**4. Expected Answer Type (Validation)**\
Define what type of response the bot should accept.\
For example:

* Text
* Image
* Other supported message formats

**5. Retry Message**\
If the user provides an invalid response, this message will be sent.\
Example: *“Please enter a valid reply.”*

**6. Validation Attempts**\
Set how many times the user can retry before the flow moves forward.

**7. Response Waiting Time**\
Define how long the system should wait for the user's reply.\
You can configure the time in **minutes or hours**, depending on your requirement.

#### Save the Configuration

After configuring the settings, click **Save**.

The **Smart Wait Block** acts as a conversation control system, ensuring that the bot waits for valid user input and maintains a smooth and natural chat experience.

{% embed url="<https://www.youtube.com/watch?v=7v2OYjuUb4I>" %}


---

# 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://helpdocumentation.gitbook.io/user/bot-builder/smart-wait-block.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.
