Organize 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

Add a parent flow

To add a new flow:

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

  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.

Move flows and blocks

Moving flows and blocks is flexible.

Change the subflow parent

You might want to move your flow to another parent flow. To do so:

  1. Click the three dots icon next to the subflow title.

  2. Click on Edit.

  3. Select the desired parent flow.

  4. Click on Update to complete the move.

Change a block flow

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.

  1. Create or choose the flow or subflow where you want to move the selected blocks.

  2. Click Move to complete the process.

Flows 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