Help Center

            [Configure: Chat Flow: Conversations] Send Message

            How to create a message?

            A message can be created in the Chat Flow > Conversations tab

            You can get started by clicking on the ‘Send Message’ block. You can choose the Facebook/WhatsApp message block based on the type of bot you are creating. The platform supports multiple variations using which you can build your messages:

            1. Text - A simple text is the most basic form of a message. You can make your text more beautiful by adding emoticons and symbols. You can also use properties inside your text that helps in making the conversation more personalised and user friendly.

            2. Media - Images/videos/Audio,Gifs and other type of files make your conversations more meaningful and easy to understand.

            3. Location/Contact - You can share locations and contact details with the users.

              Not Applicable for Facebook and Morph Messenger
            4. Gallery - A combination of both image and text to create a single card that helps you to add a better visualisation for a message.

              Not Applicable for WhatsApp
              Each card can have 5 parts - Image, Title, Subtitle, URL and Button.
              Title is a mandatory field and you have to set up at least one more part to make a single card. Any user clicking on the card will be redirected to the URL provided in the card. You can add multiple cards to create a gallery, that can be used as a menu for what to do next.

            For making the conversations more personalised, the platform provides you with the functionality to use properties (saved data values) inside a text.
            You can simple type two open curly brackets to get a suggested list of properties available to be used. You can search your desired property and use the same in the text. 

            What are Buttons and Quick Responses (QRs) ?

             Buttons and QRs are not applicable for WhatsApp

            Each type of message provides you an option to add Buttons along with it. These buttons help in making the interaction more user friendly and along with providing option for the user to share content shared on the bot on social media channels. 
            Buttons and Quick Responses are ways of providing upfront options to the users making it easier for them to provide their desired input.

            Buttons are permanent and the user can scroll up the chat to click the buttons again. On the other hand QRs are short lived and are used for getting immediate responses from the user. Once the user has made his choice the QRs cease to exist.

            A conversation is a two way interaction and it is extremely important to create a guided experience for the user. This helps brand in 2 ways:
            1. It refrains the user from deviating from the agenda of the bot which improves the performance of the bot immensely
            2. It is easier for the users to click on a button or a QR, than to type in their replies, hence saving time and effort

            How to add Buttons and QRs?

            A button can be added in the 'Send Message' block. Each message type has an option to add buttons along with the message. A button can be of 4 types:
            1. ConversationUser clicking on the button will trigger the conversation selected for that button. 
              You can also set up properties along with the conversation jump as indicated in the below image.

            2. Text A button can also be setup with a text option. The text assigned with the button can be saved in a property (Property saving will be covered in detail in Chapter 2.6 How to set properties ).

            3. Link (URL or Share link for social media platforms like Whats app, Facebook or Twitter) A link can be used as a simple URL. User clicking on the button will be redirected to the URL link provided.

            How to store a value for a property?

            You can store properties in the Chat Flow > Conversations tab. There are multiple ways of storing properties on the platform:

            1. 'Set Property' block

              You can set up value for a property manually using the 'Set Property' block. Select the name of the property and add the desired value.

              'Set property' block is also present in the 'Conversation' type buttons and QRs (Covered in Chapter 2.3 How to use buttons and Quick Responses ). You can set a value for a property in these buttons and QRs and whenever a user clicks on any of these, the property will be set along with jump to another conversation.

              This block can also be used to clear the value of property. Set the value for any property as 'UNSET' to clear the property as shown in the below image.

            1. Store user response in a property

              You can save users responses in a property by using the toggle switch 'Store user response in property?' as indicated by (1) block in the below image.

              Once the toggle switch is turned on, you can add a validation for the user message as indicated by (2) block in the below image. These validations can be of multiple types, here we have chosen 'Free text' and added the list of values that prevents the user from providing a response other than the list. We will talk about validations in detail later in this chapter.

              Once you have added the required validation, you can now choose the property name where you want to save users response as indicated in the block (3) in the below image. In case the required property is not existing , you can create a new property in this block, by clicking the 'Add' button.

              User can either click on any of the Quick responses provided or he can type the name of the city manually and the response will be stored in the property

              The platform provides an option, where you can also prevent the user from typing the response for any particular question from the keyboard and only choose one of the QRs provided. You can do this using the 'Allow user to type anything' toggle switch s shown in the below image. It is switched on by default. 

              You can turn the switch off, hence preventing the user from using the keyboard to provide a response. If you turn this switch off, and the user types anything, the sends a default error message asking the user to choose one of the options provided in the form of QRs.

            How to add user message validations?

            You can choose the validation type while storing users response in a property as shown in the above image. The platform provides the following validation types:
            1. Free text - It allows the user to provide any kind response. For adding validation for free text , you can add the list of allowed free text responses.
              If the user types any thing other than the list, the bot will provide an error message along with the complete list, making it easier for the user to make a choice.
            2. Number - Allows only number responses
            3. Email This validation checks the format of the email and allows only valid domain names.
            4. Date - Allows all formats for date 
            5. Url - Allows all valid URLs
            6. Phone number Allows only valid phone numbers
            7. Image - Allows all image types
            8. Video - Allows all video files
            9. Audio - Allows all audio files
            10. Other Files Allows all files other than image video and audio
            11. All Files - Allows all kinds of files
            12. Location 

            Why do we need user message validations?

            User message validations are very important not only for preventing the bot from collecting junk data, but also to make the bot more intelligent and user friendly. 

            Every time a the user's response fails the validations, the bot tries to map the response with the trigger rule added in conversion modules and FAQs integrated in the bot. If there is no validation, the user's message will be saved in the property and the normal bot flow will continue without answering user's question.

            Now lets take an example of a lead generation use case for home loans, the bot is asking the user to provide the name of his city, the validation type is Free text and we have not added any list. Instead of providing the name of the city, the user is keen on asking '
            What are the charges for prepaying the home loan?'. 
            As we have added no validations, and allowed the user to add any free text, his response will be saved in the property and the bot will continue with the further flow , without satisfying the user's query. Hence creating a bad experience for the user along with adding a junk data value in the CRM.
            By adding the list of cities as the validation criteria, if the user asks any question, the validation would fail and the bot would try to match user's response with the FAQ already added in the bot. If there is a match, the bot would first answer his query and then continue with the same question again. Hence providing an amazing experience to the end users.
            In cases where the user's response does not match with any of the starting rules for conversation modules or any of the FAQs integrated in the bot, the bot will provide an error message to the user, asking him to choose/type correct response.

            How to skip questions in conversation modules?

            In certain scenarios, there might be a need for the bot to skip some questions to maintain the bot flow and prevent the user from getting irritated.

            1. Allow user to skip message in case of error

              You can provide a user an option to skip any question on error by switching on the 
              'Allow your to skip message in case of error' toggle switch as indicated by the arrow in the below image

              If you switch on this toggle, the bot will provide the user an option to skip this question along with the the other quick responses as indicated in the below example:

              As the user provided a response with an incorrect phone number, the bot sends a default error message along with an option to skip the question.

            2. Validation error threshold 

              The platform has a functionality to set up a threshold value for the validation errors. If the error is repeated many times to reach the threshold value, the bot automatically skips the question. You can also set the threshold value for the validation error by clicking on 'Advanced Settings' option as shown in the below image.

              You can change the value of threshold in the Error threshold block. If the threshold value is reached the bot sends the below default message with the user and automatically skips the question. 

              Default error message: 'You have entered wrong value too many times, skipping question'. 

              You can also customise this default message. We will talk about it later in this chapter.
            1. Skip Question if property already has a value
              The platform provides you a option to set a rule for a question block to be skipped, if the property to be saved, already has a value.
              You can simply switch on the 'Skip message if property already has a value' toggle.

            How to customise default error messages?
            1. Validation error default message

              Whenever validation for any particular question fails, and there are no matching conversations for the user's response, the bot sends a default error message to the user asking him to provide a correct response. These default error messages can be different for each type of validation. For example,

              For Email, the default message is : '
              Invalid email id! Please enter your email address again'

              The platform provides you an option to customise the this default message. You can simply click on the small exclamation mark button as indicated by the arrow in the image below.

            2. Validation error threshold - Default Message

              When the threshold value is reached, the bot sends the below default message to the users and automatically skips the question.

              Default error message: '
              You have entered wrong value too many times, skipping question'.

              You can also customise this default message in the 'Advanced Settings' by clicking on the small exclamation mark button as indicated by the arrow in the image below.

            3. Not allowing your to type anything - Default Message

              As discussed earlier in the chapter, we can prevent the user from typing anything and only choose one of the quick responses provided.

              If the user tries to type a response, the bot sends the below error message by default.
              'Please select the reply from below mentioned quick replies only'

              You can customise this error message by clicking 
              on the small exclamation mark button as indicated by the arrow in the image below.

            Hope this helps you to create a user friendly bot!

            Updated: 15 Nov 2019 10:42 PM
            Help us to make this article better
            0 0