Links

How to organize your flows

Here are some best practices to visually optimize the organization of your flows
Is it unclear to you how to organize your flows with our new bot canvas? Check out our short video tutorial to know what to do 👇
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

Adding flows

To add a new flow, follow these steps:
  1. 1.
    Click the "Add flow" button at the top left side bar of the canvas
  1. 1.
    Enter the name of your new flow.
  2. 2.
    Click "Create" to add your new flow to the canvas.
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.

Adding subflows

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.
Adding a subflow is easy. Simply click the three dots icon next to your main flow title, and you'll be presented with the option to add a sub flow.
How to add sub flow

Move subflow between parent flows

Move subflows between main flows effortlessly with a few clicks.
  1. 1.
    Click the three dots icon next to the subflow title
  2. 2.
    Choose "edit," select the desired parent flow
  3. 3.
    Click "Update" to complete the move.

Move blocks other flows or subflows

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, follow these steps:
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. 2.
    After selecting blocks, click on the "Move to flow" icon in the top left corner of the toolbar.
  1. 3.
    Create or choose the flow or subflow where you want to move the selected blocks
  2. 4.
    Click "Move" to complete the process.
Move blocks to an existing flow
Move blocks to a new sub flow