Overview of the Interface
The Scripted Chatbot can be used via the graphical user interface. Each conversation, also called a script, is build up from flows. And flows are created by dragging a number of blocks (or steps) on a canvas.
Let's see how this theory relates to the real thing by looking at our script builder.
Conversation Owner: a conversation is held over a channel, with the conversation owner being the entity the end user will be contacting, e.g. a WhatsApp number or Instagram profile. A script can have one or multiple conversation owners belonging to one or more channels.
Flows: these are conversation parts. They are used to divide a conversation logically. For example, imagine having a bot for ordering pizza. One flow can be about choosing what pizza you want, the next will handle getting your address data and the last will be about the checkout and order completion.
Diagram: when selecting a flow it will be visualised in this screen. All blocks within the flow are laid out vertically, showing how the conversation progresses between the client and the bot. Steps can be selected, showing the applicable configuration fields in the menu to the right.
Blocks: or steps, how we most often refer to these. By dragging these steps onto the diagram they will be added to the currently selected flow, enabling you to build up the conversation.
While creating a conversation a YAML is created representing this conversation. It stores all changes as made by the user. This YAML can also be edited manually, giving flexibility for the people who feel comfortable working in a more technical way. To inspect and/or edit the YAML, click on the code icon.