Skip to main content

Posts

Showing posts with the label Conversation Element

Conversation Element: Validating user-input

 This conversation element can be used to validate the current value of any variable . Why validate a variable? You may need to validate the value of a variable for a number of reasons. Suppose you have a script in which you ask the end-user, their age. You may use their age to show products that are relevant to that age group. Let's assume you stored the value of the end-user in a variable name "UserAge". In order to show age-related products, you need to validate the variable using this conversation element. e.g. If the value of "UserAge" is greater than, let's say 20, show products that are relevant to adults, otherwise show products relevant to teenagers.  Configuring this Element? Click on the "Validate user input" icon to add this element to your auto-reply script. Once the "Validate the input" element is added to your bot design, click on the "cog" to open the settings page. On the settings page, select the variable whose...

Conversation Element: Jump to another section

 You can use this conversation element to take the conversation flow to a new element. This element is mostly used in scenarios, where you have to configure a conversation flow and want to add the same flow in another part of your script.  Why use a "Jump" Element? Let's say, you have a reply script that looks something like this.  In this script, we have a clicker at the start that splits the reply flow into two paths: A and B. However paths A and B are almost identical. Path B as only one additional element (Send Message) and after that message path B should have the same script as path A. We can achieve it by copying all the path A scripting blocks into path B, but this method does not seem that optimal, moreover, if we have to make any changes in path A, we would have to edit path B also.  The other method is to is add the "Jump" conversation element in path B, so that once the "Send Message" is used (which is the only additional element in path A)...

Conversation element: Display Image

This conversation element lets you add images to your conversation.  Configuration instructions You can add this conversation element to your script by clicking on the "Display Image" button in the Bot Studio Palette Once the Display Image element is added to your script, click on the setting button On the settings page, you have two options to configure an image: Replied AI maintains a list of the images you have uploaded so you can reuse them in any part of the conversation.  Uploading a new image You can upload a new image from your computer. You need to keep the following restrictions in mind while uploading an image: Maximum upload limit. You can only upload up to a certain number of images, this number depends upon your user account info. You can find out the number of images that can be uploaded by navigating to the console (https://console.replied.ai) ->My Account ->Resources Image file size. You can upload an image of a maximum 1 MB in size. Image type Only JPG...

Conversation Element "Set value of a variable"

 This conversation element lets you change the value of the variable .  You can only set the value of these variables: User variables that are defined within a conversation by using " Save user input ." System variable "_UserRegister1". Why modify the value of a variable? There can be various reasons for modifying the value of a variable. let's say you have declared a variable named "location" by creating the conversation element " Save user input ". However, you do not want to ask the end-user for location every time. You can achieve this by setting the value of the variable "_UserRegister1" to "LocationProvided". Now you can put validation criteria to check if the value of _"UserRegister1" is equal to "LocationProvided". If true, then don't ask for location.  How to configure this element? Log into repliedAI console  click here . Navigate to the "My bots" section.  If you have not creat...

Conversation element: "Emails the message"

 This conversation element sends an email at your address (the one that is linked to your account). The email message can be configured by going to this conversation element's settings page.  When to use this conversation element? You can use this conversation element to email you some information, that information can be: New order information. e.g. an end-user want to place an order and you have configured the chatbot so that the bot gather some important information from the user e.g. User contact, product details, special instruction etc and then emails that information to you.  Queries not found in the chatbot. You can configure your chatbot so that it answers the end-user's basic queries, however, if any query cannot be answered, the chatbot emails you that information. How to configure this element  Log into repliedAI console  click here . Navigate to the "My bots" section.  If you have not created any bot yet, follow this tutorial to create your fir...

Conversation Element: Display clickers

 This conversation element sends clickable buttons back to the user aka clickers. Clickers or quick replies or suggestions are useful as they suggest the next possible directions to the user. Once the user clicks on any one of the clickers, the conversation will start flowing in the direction of the clicker. Why clickers? Clickers are useful when you want the conversation to span over a limited amount of topics. Without clickers, the end-user can reply with any text. Configuring your script to read any type of reply is a complex task. However, sending clickers back to the user makes it easier for them to decide what to reply with. What happens when the clicker is clicked? When you send a reply back to the user with clickers and the user clicks on any of them, the conversation starts flowing in that direction. Let's suppose you have configured a clicker with two options: apples and oranges When any of the options is clicked, the dialogue starts flowing in the direction of the clicke...

Conversation Element: "Save user input"

This conversation element lets you store end-user input into a variable (click here to learn more about variables). Why to "Save user input"? You may need to store user input for a number of reasons, like: fetch personal information like contact number and location and save that information so that the end-user is not asked to provide it again. improve user experience. e.g. you may store user information like age, hobbies etc. You can later use this information to show products that are relevant to that user. follow-ups. A user is asking for an update about their order. You can ask them for order information (like order ID etc) and save that information so that staff can follow up on that order and contact the end-user with an update.  Configuration Click on the cog button to configure the data input element, and follow the self-descriptive prompts to complete the configuration. You will be prompted to configure the following items: Field name Field descri...

How to configure a product catalogue

Product Catalogue This conversation element lets you showcase your products as a carousel as shown below Configuration Click on the cog button ☸  to configure the product catalogue and follow the self-descriptive prompts to complete the configuration. For each product, you will be prompted to configure the following items: Field name Field description Product image This image will be displayed with your product details Product Name Use this field to discribe a name of your product e.g. This field will be displayed in bold characters and will catch user attention. Name can only have letter or number and should be between 4 and 20 charcters long Correct : My product, Product_1, New product, New.Product Incorrect: Product(1), Product\1 etc. Product Descriptio...

Conversation Element: "Send message"

This conversation element sends out  a message back to the user  When to use this conversation element "Send message" is the most used conversation element in any dialogue. Whenever a piece of information needs to be sent back to the user in the form of text, this conversation element can be used. Moreover, some of the popular use cases are: Sending out a greeting message. e.g. "howdy!" Give out some information. e.g. "Sorry, we are unable to find your order." Closing the dialogue. e.g. "See you soon." How to configure it Click on the cog button on this conversation element which will open a new window with the following fields Message Text You can type the message text that you want to display.  Please note, html code is not allowed   Add Variable (Main article variables ) You can also use a variable in your message, e.g. If you want to display the username back to the user, you can type the message "Hi  [_UserName]", suppose if the en...