Manage your flows

Learn how to add flows, subflows, move them, and organize them.

In Chatlayer, you organize your bot logic in flows and subflows. They function just like folders where you would organize your conversation logic.

Add flows

Flows and subflows example.

Add a parent flow

To add a new flow:

  1. Click the + button at the top left side bar of the canvas.

Create a new flow.
  1. Enter the name of your new flow.

  2. Click on Create.

You can also create subflows allowing you to implement more logic in the flows overview.

Remember, an orange connection on the canvas indicates that the conversation will jump to a block from a different flow.

Add a subflow

To enhance readability, you have the option to create subflows and break up a large flow into smaller, more manageable parts. By doing so, you can improve the overall flow structure and make it easier for fellow botbuilders to follow and understand the conversational flow.

To add a subflow:

  1. Click the three dots icon next to your main flow title.

  2. Click on Add subflow.

  3. Fill in the Name.

  4. Click Save.

Add a subflow.

Reorder your flows

You can easily change the order of your flows and the blocks inside of them.

🆕 Drag and drop your flows

To drag and drop a flow:

  1. Hold your mouse as you click on a flow from you list.

  2. Drop it either underneath a subflow, or inside a parent flow.

Reorder your flows by dragging and dropping them.

Move multiple blocks

If you have a bot with complex flows, you may find it necessary to move certain blocks from one flow to another.

To move a block from one flow to another:

1. Select the blocks that you want to move.

You can select multiple blocks in two ways: holding the CMD key (or CTRL key on Windows) to individually click and select, or holding the shift key to create a rectangular selection of multiple nodes

  1. Click on the Move to flow icon in the top left corner of the toolbar.

Move multiple blocks to another flow at the same time.
  1. Create or choose the flow or subflow where you want to move the selected blocks.

  2. Click Move to complete the process.

Move blocks to a new subflow.

Tips of flow management

Are you encountering difficulties when organizing your flows because of all the overlapping path connections and blocks?

One way to make your life easier is to structure your canvas in flows, i.e. different topics:

  • Make smaller, manageable flows that gather a piece of conversation about the same 'topic'.

  • Bear in mind that an orange representation on the canvas means that your conversation will jump to something that lies in a different flow.

  • Use subflows to break up a large flow into smaller, manageable conversations.

  • Move selected block or intent blocks to organize your flows.

Last updated

Was this helpful?