Manage your flows
Learn how to add flows, subflows, move them, and organize them.
Last updated
Learn how to add flows, subflows, move them, and organize them.
Last updated
In Chatlayer, you organize your bot logic in flows and subflows. They function just like folders where you would organize your conversation logic.
To add a new flow:
Click the + button at the top left side bar of the canvas.
Enter the name of your new flow.
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.
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:
Click the three dots icon next to your main flow title.
Click on Add subflow.
Fill in the Name.
Click Save.
You can easily change the order of your flows and the blocks inside of them.
To drag and drop a flow:
Hold your mouse as you click on a flow from you list.
Drop it either underneath a subflow, or inside a parent 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
Click on the Move to flow icon in the top left corner of the toolbar.
Create or choose the flow or subflow where you want to move the selected blocks.
Click Move to complete the process.
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.