🆕 New bot canvas
Based on your feedback and requests, we've built a brand-new linear-based bot canvas that is very flexible to use. Switch it on and off as you please to find which canvas view you like the best!
In this article, we will explain you how to try out the new bot canvas, what new functionalities come with it and how you can give feedback on it.
To briefly introduce it, the bot canvas went from a tree-based, automatically displayed view:
Former, tree-based bot canvas
... to linear-based, flexible view:
New, linear-based bot canvas
You can the new bot canvas on and off as you please by using the switch ribbon from any flow in your bot.
To switch on the new canvas:
- 1.Open your bot
Bot dialogsfrom the menu on the left, click on
- 3.Open any flow, for instance
- 4.Now what you see is your current bot canvas. Find the blue ribbon at the top of your screen and click
Try outto switch on the linear-based view.
Switch on the new canvas
You would rather return to the previous canvas? No worries! You can easily switch back to the tree-based canvas by clicking on Switch back from that same blue ribbon.
Switch off the new canvas
You can adjust the way you view the bot canvas per bot, so feel free to create a new bot to try out the new canvas and compare which view suits your needs.
Some new features are available within our new view. Let's go through them one by one:
If you try out the new canvas with an existing bot, your bot dialogs will appear as overlapping. The auto-layout functionality is there to solve that.
To use auto-layout:
- 1.From your canvas, click on the auto-layout button at the bottom left of your screen
- 2.Your dialogs are now spread over the canvas in a non-overlapping fashion.
- 3.Feel free now to drag and drop each dialog where you like it the best!
Use the auto-layout functionality to work around your dialogs appearing in piles.
To add new dialog states to your bot with the new canvas, simply drag and drop them directly from the top-right corner to anywhere you like in the canvas.
Drag and drop dialogs to the new bot canvas
By popular demand, the arrows connecting dialog states are now actual flow connections, which means that if a dialog is linked to another one with an arrow, that dialog is going to be followed by the second one. Therefore, an arrow is actually a go-to connection!
To link two components with arrows, click the Go To dot at the bottom right corner of a node, after which you're able to connect it with any other existing bot dialog or you can just create a new one if you don't have a dialog available yet.
Go To dot from where you can draw connections
From the Go To dots, draw connections between components.
The arrows can be deleted by hovering over them and clicking the trash icon. When doing that, the 'go to' condition at the bottom of your dialog will also be deleted.
Click on the trash icon from an arrow to delete a flow connection
You can draw arrows from and to the following components:
Example of connection between an intent and a dialog type
- Dialog types
Example of flow connection between several dialog types
- Go-To options
Example of connection between Go-To conditions and a dialog type
Example of connections between buttons in a dialog and other dialog types
With the new canvas, we wanted to bring to you as much information as needed from the first glance. Here is what you can see straight away from your flows:
Intents now appear in the actual flow of your bot within green boxes.
How an intent is displayed on the new canvas
Input and output contexts are represented on the intents boxes by an icon pointing inwards (for input context) or downwards (for the output context). You can read was context is there by hovering the icon.
Hover the context icon to see what context is required for that intent.
With the new canvas, you get previews of your bot messages, buttons, pictures and much more without needing to open the components!
Example of previews from a piece of a flow
By clicking on the three dots at the top right corner of a dialog box, you can now either duplicate a dialog, copy its name, or delete it.
The play button to the left of the three dots will trigger that dialog state in the Test your bot window allowing you to see what's happening.
Happy bot building and keep on bringing us great ideas! 👏