Flow Builder

Flow Builder is an intuitive tool designed for creating, designing, and managing Conversational Apps with ease and visual clarity. It allows users to build conversational flows from the ground up by simply dragging and dropping elements onto the screen, connecting them, and then customizing the content to fit the desired conversation. Once your Conversational App flow is established, you can easily manage the content, make adjustments and add support for new languages; all within a single, centralized interface. This tool empowers non-technical users to independently create, manage, and maintain Conversational Apps, offering autonomy throughout nearly the entire development process.

What will you find in this documentation?

This documentation is organized into three major sections, providing you with all the information you need to understand and effectively use Flow Builder. The sections include:

1. How to create a new bot using Flow Builder

Learn how to kickstart your Conversational App project, from initial setup to building the conversation flow.

2. Flow Builder structure overview

Gain a comprehensive understanding of Flow Builder’s structure by exploring the main interface, identifying key elements, and learning their functions.

3. Build a Conversational App

Discover how to design and build a Conversational App using Flow Builder. This section dives deep into the features and elements, guiding you on how to configure them to create seamless conversations with ease.

1. How to create a new Conversational App with Flow Builder

Flow Builder tool is located on the Hubtype Dashboard, so the first thing you have to do to create a new Conversational App is to log into your account and then access the bots section. Once there, you will find a screen with all your bots, if you have already created some, and a button (+NEW BOT) to create a new one.

Once you click on the (+NEW BOT) button, a pop up will appear where you can choose to create a new bot using Flow Builder or with Code.

In this case, to create a new bot with Flow Builder you will need to choose the Flow Builder option on the left and then click on next.

A pop up will appear informing you that to start a new project with Flow Builder you have to contact support@hubtype.com so they can activate Flow Builder on your account. You can contact them by clicking the (CONTACT US) button and a new tab will be opened with an email addressed to support from your account.

We know that this is not the ideal user experience and it’s something that we are working on to allow you to be autonomous, stay tuned!

Once support has activated Flow Builder for your account, to be able to edit a bot with Flow Builder, return to the bot section again and click on the bot you want to start or continue building.

Once you click on it, a new screen will appear with the bot details and in the top right you will find a button (Edit in Flow Builde), click on it to access Flow Builder.

It may take a few seconds to load, during which a Loading screen will appear.

Once the flow has loaded, you will arrive at the Flow Builder screen and you can start building or editing 🥳

Now that you’ve accessed the Flow Builder screen for the first time, it’s time to familiarize yourself with its various elements and their functions. If you’re already acquainted with these, feel free to skip ahead to the Build a Conversational App section, where you’ll find in-depth guidance on each feature and its possible configurations.

2. Flow Builder structure overview

The main Flow Builder screen is organized into seven key areas:

2.1 Top Bar

The bar at the top of the screen provides access to several important actions:

  • Set an AI Model: Select the AI model that will power your Conversational App.
  • Choose the language: Specify the language for your conversation.
  • View version history: Access and review the history of changes made to your app.
  • Preview: Test the conversational experience before publishing.
  • Publish: Finalize and deploy your Conversational App.
  • Exit Flow Builder: Leave the Flow Builder.

2.2 Conversational flow list

Located on the top right corner. It’s used to navigate through different flows and create new ones.

When a Conversational App is created it will include two flows:

  • Main: Is where the conversation starts when the end-user opens the conversational app.
  • Fallback: Learn more about what the Fallback content is, and how to configure it in the "Build a Conversational App" section.

This flows can not be deleted as they are key for the conversational experience.

2.3 Search box

Located on the right of the conversational flow list. It can be used to search for specific content in the flow.

2.4 Build panel

The vertical panel located on the left hand side of the screen. It contains all the content that you can drag and drop to the flow board to build your Conversational App.

2.5 Flow board

Covers almost the entire screen and has a grey background with white dots. This is where you’ll build your conversational experience, beginning with the Conversation Start. In the bottom-right corner, you’ll find a navigation menu that allows you to zoom in and out, view the entire flow, and undo or redo your recent changes. Some flows include notes that provide guidance on their purpose, when to use them, and best practices for defining them.

2.6 Edit panel

The vertical panel located on the right hand side of the screen when you have selected content in the flow. It contains all the configurations that you can add to the selected content. You can see the specific configurations for each content in the Build a Conversational App section.

3. Build a Conversational App

Now that you’re familiar with what Flow Builder is, how to access it, and its core structure, it’s time to start building your conversational experience. In this section, you’ll learn how to use, connect, and configure various elements to create a seamless and engaging conversation flow.

This section will guide you through:

  • How to use each content element: Understand the purpose of each element and when to use it effectively.
  • Channel-specific previews: See how your configurations will appear across different channels, such as web chat and WhatsApp.
  • Configuration tips: Learn how to tailor each element to suit your specific needs.

3.1 Start building - Initial flow state

When you open Flow Builder for the first time, you will be located on the “Main” flow with the starting point where you will have to start building your conversational experience. Take into account that the message connected to the “Conversation start” will be the first message that will be shown when the end-user starts a conversation with your Conversational App.

You will also find a note explaining the conversational model. When a user submits a query, our conversational model processes it through a sequence of steps: first, it identifies Keywords, then checks for Smart Intents, followed by Intents, and finally consults the Knowledge Base. If none of these steps return a result, the fallback message is triggered.

If you open the conversational flow list, you will see that the Fallback flow is also created and if you access to it, you will see that the Fallback component is already included.

Learn more about what the Fallback content is and how to configure it in the "Build a Conversational App" section.

3.2 Create contents

Creating new contents is super easy, you just have to decide which content from the build panel you want to include in your Conversational App, click on it, and drag & drop it onto the board. Once you drop the content into the flow, it will be added to the board. It will appear in purple colour which means that you have it selected, and the edit panel will be opened so that you can configure this content.

To learn more about the configuration of each content you can jump into the Contents section.

3.3 Select contents

To select any content, click on it, it will turn purple and the edit panel will be opened. If you want to select several contents, you have to press the shift key on your keyboard, then click on the board and drag your mouse over as many contents as you want to select.

3.4 Connections

Once you have added contents to your Conversational App, you may want to connect them to design the conversational flow. To do this, we will use connections, so let’s see how to use them.

3.4.1 Connect contents

You will see that each content has purple triangles attached to it, on both the left and right. These triangles are the points where the contents can be connected to each other.

Each content will have several triangles that you can connect with other contents:

  1. The triangle on the left is called the source, as it is where you will connect the content with the one before it.
  2. The triangle on the right is called the target, as it is where you will connect the content with the one after it. This connection allows you to connect messages that will be displayed on the Conversational App one after the other without needing user interaction.
  3. If the content has buttons it will have one triangle per button, as each of them can be connected with different contents to create different paths during the conversation.

To connect contents from a content or button target, click on the target, drag & drop it onto the source and a connection will be created.

3.4.2 Delete connections

To delete the connections, select the connection you want to remove by clicking on it. Then a button with a trash icon will appear, click on it and the connection will be deleted.

3.5 Edit contents

Once you have added the contents you want to the conversational flow board, you will be able to edit and configure them in the edit panel that appears on the right of the screen when you select them.

In this section you will learn what is each content and how to edit them. You will also be able to see how each of them will be displayed in different channels (Web chat & WhatsApp).

Common information that applies to all contents

  • Each content type requires a unique Content ID that you must assign. This ID makes it easy to locate content and appears in logs and tracking reports, so it’s important to choose a name that is recognizable and easy to remember. If any Content IDs are left undefined, you can use the AI Assistant to fill them in by clicking on the notification center.
  • Some of the contents have one or more notes where you can find more information about the content, what it is and how to use it.

3.5.1 Fallback

What is Fallback?

The fallback message allows you to set the behaviour that the Conversational App will follow in case the end-user asks something that it doesn’t know how to answer.

You can set one or two answers to the questions that the Conversational App can not answer. This allows you to set a unique message that will be repeated every time the bot does not understand something, or you can set two different paths:

  • The first one tries to conduct the user to rephrase the question or to use the buttons.
  • In the second one, you can include an agent handoff that will allow the user to speak with an agent. This way you assure that the end-user gets a response, even if the Conversational App is unable to answer.

3.5.2 Messages

Messages are the contents that you can use to build the conversational experience. You can add as many as you want, then edit and connect them in order to create the desired conversation.

3.5.2.1 Text & Text buttons

What is Text?

The text message is the content you should use when you want to add text into the conversational flow.

How to edit the Text

On the Text content you can edit:

  • Content ID
  • Message text: Using text, emojis & variables
  • Add button: Here you can add the buttons you need (it is not recommended to include more than 5 or 6 buttons in Text content).

How the Text content is displayed in each channel

What are Text buttons?

In the Text content you can add buttons to show the end-user different options that, once clicked, will each follow different paths.

How to edit the Text buttons

On the Text buttons you can edit:

  • Button text: the text that appears on the button that the end-user will click on. You can use text and emojis.
  • Button URL: add a web address that you want to redirect the user to once they click on the button.
  • Show buttons as quick replies: You can choose to show the buttons as quick replies, so they will appear at the bottom of the conversation screen. Bear in mind that this kind of button will disappear from the web chat once the user clicks on one of them.
☝️ Important information: Quick reply buttons are available on web chat, Facebook, Twitter & Telegram. On WhatsApp all kinds of buttons will be displayed as buttons.

How the Text buttons are displayed in each channel

3.5.2.2 Carousel

What is a Carousel?

A carousel is a type of content in which you can include several elements next to one another. They can include elements such as: an image, title, subtitle, description and/or button. The user will be able to navigate through the elements by sliding right and/or left. They can be used to display a list of products, features, or any other type of information you choose.

☝️ Important information: Carousel content is only supported on web chat channels.

How to edit a Carousel

You can add as many elements as you desire to the carousel content, and in each one you can edit:

  • Content ID
  • Title: edit the title of the element using text and emojis
  • Subtitle: edit the subtitle of the element using text and emojis
  • Image: add an image to enrich the content
  • Button text: the text that will appear on the button that the end-user will click on. You can use text and emojis.
  • Button URL: add a web address that you want to redirect the user to once he/she clicks on the button.

How the Carousel content is displayed in each channel

3.5.2.3 Image

What is Image?

Image content allows you to add images to the conversational flow.

How to edit Image

In the Image content you can edit:

  • Content ID
  • Image: upload an image from your computer by clicking the Image input. A pop-up will appear and you will need to select the image you want to upload from your computer.

How the Image content is displayed in each channel

3.5.2.4 Video

What is Video?

Video content allows you to add videos to the conversational flow.

How to edit Video

In the Video content you can edit:

  • Content ID
  • Video embed: You can include a link to a video file.
☝️ Important information: To add a video from a streaming platform such as Youtube or Vimeo, you have to use the Text content. Add text content to the flow and paste the video link into the Message text input.

How the Video content is displayed in each channel

3.2.5 Button list

WhatsApp has its own components that give you the ability to make the user interact with the Conversational App easily. You have to take into account that this kind of content is only available on WhatsApp and on other channels they will be displayed in a different way.

What are Button list?

Button list allows you to include a menu of up to 10 options. These options can be grouped by a maximum of sections. This type of message offers a simpler and more consistent way for users to make a selection when interacting with the conversational app.

How to edit Button list

In the Button list you can edit:

  • Content ID
  • Message text to introduce the list: The message that will be displayed to the user to inform him/her that has to choose an option from the list.
  • Button to open list text / List header: the call to action text that will appear in the button to open the list.
  • Section title: this field is optional and will appear as a title of a group of rows.
  • Row title: each of the options you want to provide to the user to choose from.
  • Row description: each row can be accompanied by a description to give users more information so that they can make a better decision on which option to choose.

How is the List messages displayed in each channel

3.5.3 Actions

Actions are contents that you can use to trigger some action during your conversational expereince.

3.5.3.1 Agent handoff

What is Agent handoff?

Agent handoff content allows you to transfer the user to a human agent in a specific queue. You can use it in moments where the Conversational App is not capable of solving user queries.

How to edit the Agent handoff

In the Agent handoff content you can edit:

  • Content ID
  • Queue: when you click on the queues drop-down menu, you will see the queues already configured in your Organization divided by Projects, and can select the one you want. Queues are where cases will be created so that human agents can be assigned to them and talk to the user.
  • Bot action after agent assistance: set a bot action that has been defined previously in the bot's code that will be triggered once the user clicks on the button.
  • Auto-assign cases to agents: by checking this box the new cases will be automatically assigned to any available agent.

3.5.3.2 Go to flow

What is Go to flow action?

Go to flow action allows you to connect a specific path of a conversational flow to another flow. It also allows you to jump from one flow to another in one click.

How to edit Go to flow action

In the Go to flow action you can choose the flow you want to connect with. You just have to open the drop-down menu and select the desired flow.

If you don’t have it created yet, you can do it from the drop-down as well, clicking on the Add flow button.

Once you click on it, a modal will appear that will allow you to set the name of the new flow and add it to your conversational experience.

3.5.3.3 Bot action

What is Bot action?

Bot action allows you to set a payload with specific parameters that will trigger some bot logic during the conversational flow.

How to edit Bot action

In the Bot action you can edit:

  • Content ID
  • Payload: When you click on the payload drop-down menu, you will see the payloads already added and you can select the one you want to trigger. You can add new ones, but be sure that they are defined in the bot code as well.
  • Once the payload is included you can add Payload parameters in JSON format.

3.5.4 Conditions

Condition content allows you to set different paths that the end-user will follow during the conversation. You may be interested in setting different paths depending on the queue status or the channel that the end-user is interacting with.

3.5.4.1 Queue status condition

What is Queue status condition?

Queue status condition allows you to set different paths depending on whether the queue that you’ve selected is opened or closed. This way you can set up two different paths for the user to follow, for example:

  • If queue is opened: Include an agent handover to transfer the user to a human agent.
  • If queue is closed: Inform the user that it’s outside of service hours and that they need to return later to be attended to.

How to edit Queue status condition

In the Queue status condition you can edit:

  • Content ID
  • Queue: when you click on the queues drop-down menu, you will see the queues already configured in your Organization divided by Projects, and can select the one you want.
  • Distinct flow based on agent availability: Check this box if you want to specify a different flow if the queue is open but there are no agents available at the moment.Once you select it, the queue status condition will change its structure and will allow you to create different paths depending on the agent availability if the queue is open.

3.5.4.2 Channel condition

What is Channel condition?

The Channel condition allows you to set different paths depending on the channel. Whether it's because you want to define different actions depending on the channel or, for example, create a different flow for channels that allow components that others don't. You will see that by default the WhatsApp channel is set to follow a different path. This is because it has its own components that can not be used in other channels, so you will need to define different paths depending on the channel.

How to edit the Channel condition

In the Channel status condition you can edit:

  • Content ID
  • Channel: when you click on the drop-down, you will see a list of the available channels and you can select the ones that you want to follow a different path. Any other channels that you have not selected will follow the same path.

3.5.4.3 Country condition

What is Country condition?

The Country condition allows you to set different paths depending on the country from which the end user contacts you. This way you can manage differences in content that is in the same language, but it’s different depending on the country (e.g: return policies or costs).

How to edit the Country condition

In the Country status condition you can edit:

  • Content ID
  • Countries: when you click on the drop-down, you will see a list of the available countries and you can select the ones that you want to create different paths. Any other countries that you have not selected will follow the “Other” path.

3.5.4.3 Custom condition

What is Custom condition?

The Country condition allows you to set different paths depending on the country from which the end user contacts you. This way you can manage differences in content that is in the same language, but it’s different depending on the country (e.g: return policies or costs).

How to edit the Custom condition

In the Custom status condition you can edit:

  • Content ID
  • Condition variable: To use condition variables you need to define them in the conversational app's code and then add them in the “Condition variable” dropdown by using the exact same name. Once yoy have defined, you will be able to select the one you need.
  • Variable format: Once you have added the variable, you have to select the variable format. It can be string, boolean or number:
    • String: With this format you will be able to include as many values as desired and each of them will follow a different path.
  • Boolean: With this format you will be able set different paths depending if the variable is true or false.
  • Number: With this format you will be able to include as many values as desired and each of them will follow a different path.

3.5.5 Inputs

Input content allows you to understand and manage user inputs. This means that you can set intents or keywords which, when asked by the user via text, the Conversational App will be able to answer.

3.5.5.1 Keywords

What are Keywords?

You can use Keywords to set a list of words that when included in a user's question,  will cause the content connected to that Keyword to be displayed.

How to edit the Keywords

In the Keywords you can edit:

  • Content ID
  • Keywords selection: add as many keywords as you want by typing on New keyword input and then hitting enter. You can finely tune your criteria to precisely match patterns by entering standard regular expressions.

3.5.5.2 Smart Intents

What are Smart Intents?

Smart Intents will allow you to identify the user intention. You just have to provide a brief and precise description of the intention you wish to detect and the AI will automatically recognize it whenever the user types any related content.

How to edit the Smart Intents

In the Smart Intents you can edit:

  • Content ID
  • Title: Include a title that identifies the user intention you are setting.
  • Description: describe the user intention you want to detect in a few words. Be as much precise & accurate as you can. If you have various Smart Intents in the same conversational flow, it would be possible that you will have to review and improve this descriptions to identify the user intention accurately.

3.5.5.3 Intents

What are Intents?

An intent is the action, goal, or response that the customer wants to accomplish. Using an intent component, you can set an intent that you want the Conversational App to answer when the user asks a certain question.

How to edit the Intents

Before you can start editing the intents, you have to create a new AI Model in the Models section. Once you have a model created, you can set it to this Conversational App in two different ways:

  • Adding AI Model via the bar at the top
  • Clicking on the edit panel, then on the “Select AI model” button. This will open a pop-up with a drop-down to select the model you want to use.

Once you have selected an AI Model, the edit panel will change and you will see everything that is editable:

  • Intents title: include a title to identify intents.
  • Intent selection: click on the 'Select an intent' drop-down to select the intent that you want to use.
  • Intent confidence: set the intent confidence using the slider to change the percentage manually, or by using the up and down arrows.

3.6 Add variables to messages

You can add the variables you have defined on the conversational app code to the text messages. The contents where you can add variables are:

  • Text
  • Carousel
  • List message

Once you add one of these contents to the flow board and you have selected them, you will see that on the bottom of the “Message text” input, is an “Add variable button”.

3.6.1 Create new variables

To create new variables you have to click on the “Add variable” button and a dropdown will appear. There you will see a text input and a “Create” button. To add a new variable, type the name of it and click on create.

3.6.2 Include variables to message

Open the “Add variable” dropdown and select the variable you want to add to the message.

3.7 Delete contents

You can delete contents in two different ways:

  • Edit panel: When you select the content, the edit panel will be opened on the right side of the screen and you will see a delete button (🗑️Trash icon) on the top right.
  • Keyboard: You can also delete contents by selecting them and then tapping the delete key on your keyword.

3.8 Move contents

To move contents you have to select the ones you want to move, click on them and drag and drop them in your chosen position.

3.9 Navigate through the flow

You can navigate through the conversational flow in different ways. Let’s look at them one by one so you can choose the one that suits you best.

3.9.1 Click & drag

Click on the board flow, in a space where you don’t have any contents, and then drag the flow in the direction you want to move.

3.9.2 Quick navigation buttons

The quick navigation buttons are included in the connections between elements. When you select a content, you will see that on each of the connections a round button with arrows will appear, which when clicked, will direct you to the next or previous connected content.

3.9.3 Bottom right menu

When you access Flow Builder you will see a small menu in the bottom right of the screen. Using this menu you can navigate through the flow and visulize the whole flow easily.

This menu has 5 buttons:

  • Undo: undo the changes that you have done. It can also be done with the keyboard using command+z on iOS and ctrl+z on Windows.
  • Redo: redo the changes that you have undone. It can also be done with the keyboard using command+shift+z on iOS and ctrl+shift+z on Windows.
  • Zoom in (+): the flow will be enlarged so that you can see contents in more detail.
  • Zoom out (-): the flow will be made smaller so that you can see several contents at the same time within the context of the conversational flow.
  • Overall view: the whole flow will be centred in the flow board so that you can see the entire conversational flow at once.

5.10 Search contents

You have the ability to search specific text that you have included in the flow contents. To do so, you have to click on the search box and type the word you want to search. Once you've typed your search term, the first content which includes this text will be highlighted and zoomed in. If there is more than one content with your search term, the number of contents will appear along with navigation buttons so that you can look through all the contents which include your search term.

5.11 Model AI

Flow Builder has the ability to add an Intent Model to your Conversational App. To do so, you first have to create a new model in the models section of the Hubtype Dashboard. Once you have created your model and you want to include it in your Conversational App, you have to click on the button AI Settings on the top-bar and then on Intent models.

Once you click on it, a pop-up will appear that will allow you to select the Intent Model you want to set.

With an AI Model set up, you can use the Intents content to allow users to ask questions to your Conversational App via text message.

3.12 Version history

Flow Builder stores all versions you have published to allow you to go back to a previous version in case you make changes you want to reverse. To recover a previous version, you have to click on version history which is located on the top bar.

Once you click on it, a menu will appear with all the previous versions that you have published with the date, hour and name of who published it.

To recover one of them, click on your chosen version and wait while a loading screen appears. The version will then be visible so that you can review if it is the version you wanted or not. A banner will appear on the bottom of the screen with the information about the version and the option to restore it or cancel the action.

If you click on cancel, you will return to the last version you have published, and if you click on restore a pop-up will appear to confirm that you want to restore it.

Once you click on the restore version button it will be loaded and you can continue working on your conversational flow. Bear in mind that this version won’t be included in the version history menu until you publish it.

5.13 Language

Flow Builder allows you to have a conversational flow in different languages, you can include new languages, remove them and switch from one to another in an easy way.

5.13.1 Add or remove languages

Click on the language that appears on the top bar and a dropdown with the languages already added will appear. To add a new one you have to click on the “Add or remove languages” button and a pop up with a language list will appear.

5.13.1.1 Add languages

To add new languages, check the ones on the list that you want to add to the conversational flow. Once you select it, you have two options, create it empty (none option) or with another language as a reference:

  • None option: the conversational flow structure will be created without any text on the contents.
  • Select a language: the conversational flow structure will be created with the texts of the language that you have selected.

5.13.1.2 Remove languages

To remove languages, uncheck the ones on the list that you want to remove and then click on the “Add / remove languages” button. Take into account that it is not possible to remove the language you are currently on.

5.13.1 Switch language

To switch between languages click on the language on the top bar, select the language you desire on the dropdown list and it will be loaded.

5.14 Save conversational flow

As you create or edit your flows in the Flow Builder, every change is saved automatically in real-time. No need to worry about losing your progress, just focus on building and we’ll handle the rest. Any time your work is saved you’ll see a confirmation message at the top bar next to the Preview button.

If there are any errors with your conversational flow during the save, any content with errors will be highlighted with an orange icon, making it easier to spot issues. An additional orange icon will also appear as a button next to the save button, indicating that there are errors in the flow.

To open the errors list, click the error button in the top bar and they will be displayed. If any errors are due to missing Content IDs, you can easily generate them using AI.

Planning to close your flow before it’s saved? No worries! We’ll ensure your latest changes are saved before closing. And if you prefer manual saves, you can still use the Command+S shortcut to save your work whenever you like.

5.15 Publish conversational flow

To publish your Conversational App to production, click the “Publish” button. However, the button will remain disabled until all errors in the conversational flow are resolved.

5.17 Exit Flow Builder

You can exit Flow Builder in different ways:

  • Exit button: You will see that in the top right corner you have an Exit button and when you click on it the conversational flow will be closed and you will return to the bots page.
  • Click on another section of the Hubtype Dashboard: By clicking on another section of the Hubtype Dashboard you will also exit Flow Builder.