# Flow

### Applications of Flow:

* Creating smaller manageable flows for each path.
* Easier navigation between the conversation flow.
* Easier onboarding of teams to the chatbot.

### Setting up the block:

1. Add an action block on canvas by clicking on **‘+’.**\
   Ideally, you should use the sub-flow function where you expect a long flow to come in.

2. &#x20;Search for the **"Flow"** action block and select it.

   <figure><img src="https://1047404187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeyvV4WfyYBGZdBoAuetg%2Fuploads%2FahdcdGXfPKX9W5EMastF%2Fflow%201.png?alt=media&#x26;token=ca2b13f4-f743-478d-94bf-887afae78627" alt=""><figcaption></figcaption></figure>

3. Enter the flow.\
   \
   Now, to enter this sub-flow, you can either double click on the **'Flow'** action block.\
   You can also enter the sub-flow on the action panel and click on **'Enter flow'.**

   <figure><img src="https://1047404187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeyvV4WfyYBGZdBoAuetg%2Fuploads%2FDbnZQHnIcp5YVt2VzWaf%2Fflow%202.png?alt=media&#x26;token=2c0f0758-3b18-49f3-88b3-03f341270e99" alt=""><figcaption></figcaption></figure>

4. Build flow on the canvas.\
   \
   When you enter the sub-flow, it would look like this. Here you can continue building your chatbot flow by clicking on “+”.

5. For instance, you can add the send message block in the sub-flow and so on...

   <figure><img src="https://1047404187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeyvV4WfyYBGZdBoAuetg%2Fuploads%2FBCjtsXkHKbZDLAFThNh7%2Fflow%203.png?alt=media&#x26;token=b2f049ff-1fa6-4e90-9c83-5e58e86d2ce6" alt=""><figcaption></figcaption></figure>

6. You can navigate back to main flow by clicking on the home button on top left corner.

   <figure><img src="https://1047404187-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeyvV4WfyYBGZdBoAuetg%2Fuploads%2F3FYHhrCjIWDuxyEruRki%2Fflow%204.png?alt=media&#x26;token=1870a753-8f40-45a5-be87-921eb4e3e78c" alt=""><figcaption></figcaption></figure>
