# Flow Builder: Flow Control

Source: https://helpcenter.saysimple.com/flow-builder/flow-builder-flow-control

The **Flow Control** section contains actions that control how your flow behaves. You can use these actions to collect information from customers, create different paths, add delays, check conditions, and control when a flow ends.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859041_6abe5721b1ed1.png)

## 3.1 Wait for User Reply

Use **Wait for User Reply** when you need the customer to provide information before the flow continues.

For example, you can ask the customer:

> “What is your name?”  
> “What is your company name?”  
> “What date would you prefer?”

The action has two possible paths:

- **Green connector:** The customer replies within the configured time. Connect this path to the next step in your flow.
- **Red connector:** The customer does not reply within the configured time. Connect this path to the action you want to take next.

Common actions for the **No response** path include **Archive conversation**, **End flow**, or sending the customer the question again.

You can also use a **Counter** to limit how many times the flow asks the customer to respond. See [Counter](#36-counter) below for an example.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859061_6abe5735a16b4.png)

## 3.2 Wait for File Upload

Use **Wait for File Upload** when you want the customer to upload a file.

You can specify which file types are accepted and configure a fallback path for unsupported file types.

Base64-encoded files are also supported.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859082_6abe574a2d539.png)

## 3.3 Variable Flow

Use **Variable Flow** to create different paths based on the value of a variable.

You can define conditions for the variable and configure an **Else** path for cases where none of the conditions are met.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859106_6abe57629e884.png)

## 3.4 Wait

Use **Wait** to add a delay between two steps in your flow.

You can set the delay in:

- **Seconds**
- **Minutes**
- **Hours**

For example, you could wait 5 minutes before sending a follow-up message.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859119_6abe576fa31c6.png)

## 3.5 Variable Branch

Use **Variable Branch** to create two possible paths based on the value of a variable:

- **Match:** The variable matches the value or condition you specified.
- **Non-match:** The variable does not match.

This is useful when you want the flow to take one path when a condition is met and another when it isn't.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859134_6abe577e693c4.png)

## 3.6 Keyword Branch

Use **Keyword Branch** to create a path that is triggered when the customer enters a specific keyword.

For example, if you set the keyword to **“Saysimple”**, the flow will follow this branch when the customer enters that keyword.

You can also use a keyword as a **flow trigger** at the beginning of a flow. This can be useful for testing a flow internally without triggering it for every incoming message.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859150_6abe578eb481b.png)

#### **3.7 Opening Hours**

This option allows you to set **working hours** for interaction between the flow and the customer.

You can add specific **days** and adjust the **time range** as needed.

- If the customer sends a message **within** the configured time frame, the **green connector** will continue to the next step.
- If the customer messages **outside** of the configured hours, the **red connector** will continue to the next step.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859168_6abe57a00937c.png)

## 3.8 Counter

**Counter** lets you limit how many times a flow can repeat a specific path.

This is particularly useful when you want to send a reminder and then either repeat a question or end the flow after a certain number of attempts.

### Example

Imagine you ask the customer:

> “Hi, how are you?”

You then use **Wait for User Reply** with a 5-minute timeout.

If the customer doesn't respond, the flow follows the red connector to the Counter.

With a **limit of 1**:

1. The Counter detects the first missed response and follows the **green connector**.
2. You can connect this to a reminder such as:  
    *“Please answer the question to continue.”*
3. The flow then returns to the original question.
4. If the customer still doesn't respond after another 5 minutes, the Counter detects the next attempt and follows the **red connector**.
5. You can connect this path to **End Flow** or another action.

This prevents the flow from repeatedly asking the same question indefinitely.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859191_6abe57b7ad578.png)![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859196_6abe57bc9e091.png)

## 3.9 End Flow

Use **End Flow** to stop the automated flow.

Once this action is reached, the bot stops interacting with the customer. The conversation is **not automatically assigned to an agent** and **is not archived**.

![image.png](https://cdn.eniston.com/bases/db94b40b-7f64-4bcc-bb47-41f90c88ffa2/attachments/1790859211_6abe57cba9712.png)
