When linked together, Interactions create and define the structure of the conversation. It is possible to create complex flows of conversation through the use of Connections.
There are several types of Interaction, each of which has different features. The type of interaction you will want to utilize depends on the type of bot you are creating and the data you would like to gather.
You can add unlimited amounts of interactions and plugins.
There are 13 types of interactions available.
A simple text response that does not involve analysis of a user’s input.
Identifies and collects a valid email address from the input of a user.
Collects a valid URL from a user’s input (https).
Identifies and collects a valid telephone number from a user's input.
Analyzes and extracts a timestamp from the user's input. For example: "1990.12.31" or "02 Jan 1970".
Identifies and collects a number from a user’s input.
Collects and localises a valid address from the input of a user.
Collects and specifies numeric representations of time, in total seconds with millisecond precision.
The Interaction at which a bot stops responding in order to allow the intervention of a human counterpart.
Identifies the language of the user and translates it into another language (this Interaction uses the Microsoft API translation).
Allows users to search in Google or Bing right in your bot.
Integrates your bot with API. Generates and posts custom content in chat.
Only for plugins. The interaction allows you to send API requests and receive data from the third-part services.
All interactions except JSON contain the Bot Message field. It must be filled, max length = 4000 chars
If you leave the Bot Message or Error Response fields empty, then you will see the warning icon next to the tab:
Each interaction has a name and unique ID number.
If you check Highlight Extracted Data for a particular interaction, you will be able to highlight important data such as email addresses or phone numbers in the test chat. To do so, you should also press the 'Highlight extracted data' button in the header of the Test chat.
By clicking the 'Additional Options' button the following menu will open up:
Test Interaction - starts a conversation from the selected interaction.
Set As First Interaction - moves the interaction up to the top of the list. The conversation begins with the first interaction.
Rename - change the name of the interaction.
Copy - duplicates the interaction with all its data and settings.
Delete - deletes the interaction.
There is a connection indicator on the left of the 'Additional Options' button, which will automatically be colored green, gray or red:
Green: the interaction is connected to other interactions. When you hover the mouse over the indicator you will see the tooltip with a list of connected interactions.
Gray: there are no connections from the interaction.
Red: the interaction is connected to a deleted interaction.
If you press the connection indicator, you will be redirected to the Connections tab of the interaction.
Interactions with NLP connections are marked with a special blue symbol:
This section has many features for the sophisticated functionality of your chatbot. Here you can fine-tune interactions, configure Text-To-Speech (TTS) settings, perform all kinds of logical tasks, connect the current interaction to other ones and test your bot.
Once you have created your first interaction you will get access to these tools:
Within the header you will see the following:
- The interaction name, logo and id number.
- The time and date of the last update of the bot
- Test chat toggle: displays/hides the 'Test chat' button that appears in the lower right corner of the screen.
- Bot scheme: opens a bot scheme.
These interactions are designed to extract and save information from user responses. They also have all the functionality of a regular interaction (cards, QR, connections, etc).
There are 7 types of data available for extraction: Email, URL, Phone, Date, Number, Address, Duration.
If you need to use the extracted data in other interactions you can use the ‘Extracted data from this interaction’ feature:
How do Extraction interactions work?
Extraction interactions (and the Translation interaction) have an additional ‘Error Response’ field in the ‘Bot message’ tab.
Let’s take a look at the Email Extraction interaction:
If, for example, an email is expected, but the user mistakenly inputs the email in an invalid format, then the chatbot will give an Error response and ask the user to try again:
If a user enters a valid email address, then the system will trigger the interaction that is set in the Connections tab. Otherwise, by default, the Fallback connection is set to 'do nothing'. In this case, the bot will give the same message again. If you change the Fallback connection then the system will redirect a user to another interaction after a correct email format has been entered.
The same goes for connections: if you add a simple or NLP connection, and if a user's response is valid and matches the conditions of one of the connections, then the system will redirect a user to another interaction.
Connections and Extraction interactions
A conversation will not move on an extraction interaction on the basis of a user entry that matches the conditions of the Simple or NLP connection alone. To quit an extraction interaction via a Simple or NLP connection the user’s response must also be a valid type of the selected interaction.
For example: you have an Email Extraction interaction and you have set a connection with the following conditions:
- “If Response to this interaction contains (whole word) [email protected] then go to Interaction 1”.
- Fallback is set to “Interaction 2”.
If a user sends “[email protected]” to the bot, then he or she will be redirected to Interaction 1, because this response is valid and matches the conditions of the connection.
If a user sends “[email protected]” to the bot, then he or she will be redirected to Interaction 2, because this response does not match the conditions of the connection. But this response is valid, so the Fallback interaction is triggered. If you set Fallback interaction to ‘do nothing’, then a user will get a Bot message from the Email Extraction interaction again.
If a user sends “[email protected]” to the bot, then he or she will get the Error response message, because the entered email is invalid. In this case, the user can send an email again.
For cases in which the system can’t recognize the user’s input after several attempts, you can enable the ‘Custom Error Message’ feature.
Note: Global Connections have priority over Simple and NLP connections and error detection. Therefore, if the user’s response matches the conditions of a Global Connection, the user will be redirected to the interaction that is set in the Global Connection, regardless of the user's input is valid or not.
In order to see the full extracted address in the Test chat, press the 'Highlighted extracted data' button:
Make sure you have highlighted the ‘Highlight extracted data’ checkbox next to the name of the particular interaction in which you want to highlight extracted data:
Where can I find the extracted data?
All the extracted data is safely saved in a database on the server. The chatbot owner can access the data on the ‘Reports’ page and apply filters to search the data in a variety of ways. You also have an option to download the data from the server in .xls format.
To make it easier to find extracted data in the Inbox and Reports sections you can tick ‘Highlight extracted data’.
The extracted data from the Test chat are not stored on the server.
Updated 3 months ago
Connections serve as the pipelines between Interactions and control the flow of your bot’s conversation.