Here is the process to create New lex chat Bot-



Note: These are required values.

Here is an example of the most common queries of our business, you can add it as per your business. Add as many queries as possible, you should cover all the similar as well as different questions and queries. Note: The client queries should not be the same for multiple intents, for example: If you are providing {Hello and Hi} client queries for the first intent, then you cannot add on these client queries {Hello and Hi} other than the first one.

After this, the next option will be Initial Response- In this, the answer to the user's first query (say what will the bot respond after the user sends hi in the chat).
Note: Initial response is optional.
You have Seven list options for your user's initial query.
Text - Only text will be sent.
Buttons- we provide options to create three buttons so that the user can choose from them. Note: You can add a maximum of 3 buttons.
List- Here you can add a list of products, services, or various other options for users to choose from. The limit of items is 10, you can add at most 10 options.
Product - Here you can add your Catalog id and product id of a single product.
Product list - Here you can add your Catalog id and multiple products of different products.
Media - In media you can add photos, videos and documents to your chatbot.
choose from. The limit of items is 10, you can add at most 10 options.
CTA - This means Call To Action. We provide users with call-to-action buttons, in which when the user clicks on this button, he will be redirected to the URL you will insert in the column of the URL.


Note: The character limit on the button is 20 characters.



You can add as many questions here as you want to ask from the users.
Here you have to provide the following:
Name of the input (like size, type),
Input Type (we provide various options in the dropdown like number, alphanumeric, date, etc.),
Prompt Query- What query will the bot ask in the chat, and
Maximum Retry - How many times do you want to repeat the query from the user when the user provides the wrong answer.

Click on Add User Input, To get the input user prompt where you can fill the details which you need from your customers like name, numbers, etc.
You can give Name to your user input.
Now give the input type which is Required like name, number and alphanumeric,etc.
Write the Bot queries means the question that bot will ask from the users.
The Max Retry option means How many times bot will ask the option if client fills wrong information.Note: Limit you can set is Min o and max 3.
Click on Save and Next.


There are two options: If you select the first option which is "Blank", then you will see there are two value type options. The first one is: 'Dynamic' and the second one is 'Fixed'.
In Dynamic- The Bot will accept similar or the same values as you will provide in the sample.
In the Fixed option- It will accept only the value you have mentioned in the sample, the exact value

You need to add on 10-15 same types of sample values trained by a bot
For Example, we consider NAME as a slot type
1st character - u, 2 characters - Om, 3 characters - Joy, 4 characters - Anuj, 5 characters - Raman, 6 character - Rakesh

If you want to take specific 3 to 4 country responses you can give specific names in fixed
For example - If your question is from which country you are?
India, USA, Australia -
If the answer is related to these 3 countries then the bot responds, other than the bot will not reply.
If you add on the sample values and synonyms for the fixed type, then by default it will pick the sample values at the first attempt and then it will take on the synonyms.

Click User input type Built-in: Basically, it is the extended functionality we are providing by using the Built-in Input Type. In this functionality, you can verify the input provided by the user of your slot prompt.
For now, only the Alpha Numeric input type is supported.

Use case: For example:
If you want the user to provide the Postal Code, the business is supporting mainly 3 formats which are: Numeric for India {123456}, Alpha-numeric for UK {GU16 7HF}, and Numeric-numeric for US {1234-12345}. In that case, the business will create the Regex Expression which will support all three postal codes.


Once you add this, the input type will start showing in the drop-down of input type,
from there you can select this input type.
This will be sent when all the prompt responses are fulfilled by the user who initiated the chat.
You can add all your slots value.
Enter the confirmation sentence you want to show it to your customer.
You can also confirm the inputs by writing the name of the inputs, then add colon and enter curly bracket,that will open the drop down of input name, and select the option you want confirmations of.

This response is sent to the user when the user declines the intent. For example, for the prompt, 'Do you want to place the order' and the user responds, 'No.'


Here you can add your API that you want to call on action.
Then add the success response that you want to show to the users in case of API success.
Add the failure response for the API
Use case : Then click on save and next

You can create your closing response with different options like text, button,
product,product list, media, CTA, unassign bot.
Uassign bot means the bot will unassign himself from the chat and agent will be
assigned for the chat.
After completing the conversation this closing response will work.
After that save your response and click on save and next.






You can also refer this video:
https://drive.google.com/file/d/1VyxHmEnfNtCoyWBiu3j9vfA-kMcbkGk6/view