Overview:
Use Try Me to test the chatbot. It helps you understand conversation flows, mimic user behaviour on conversations and dialog usecases, helps you test conversations with app workflows and help you debug and fix the issues. It also helps you test updates before you can publish changes to your live chatbot as well.
1. Test your chatbot using the Try Me from the Dialogs page and in the Chatbot Builder canvas page by clicking on any one of the dialog cards.
Dialogs Page:

Chatbot Builder page: (By clicking on any dialog)

2. Click on the Try Me button to test the chatbot.

3. Wait for the chatbot to train any latest changes.
Note: It always looks for any new changes or updates to make sure new updates are reflected. This can take a few seconds.

4. Try Me will start the conversation by executing the Welcome Dialog.

5. If required, you can restart the conversation with the chatbot by clicking on the “Restart” icon.

6. Start communicating with the chatbot by entering the text in the text input area.

7. The Chatbot will start recognizing the text and execute the appropriate dialog that the condition is satisfied with.

8. Click on the “Show details” option below the user text to see the recognized Intents and Entities by the Chatbot.

9. Here the chatbot recognized the Intent as UnlockAccount and executed that dialog as the condition was met. Let us see the Dialog that the condition was satisfied.

10. Provide the details that are requested by the chatbot and test the conversation flow.

11. You can see the app workflow is executed and the user account is unlocked.

12. You can test the feedback as well to the chatbot conversation.

13. Click on the “Close” icon to close the Try Me.

14. You can view the Chatbot logs and Workflow logs to view the tested conversation. Navigate to Chatbot Logs to view the conversation we tested in Try Me.

15. Click on the “View Session” to view the session.

16. Navigate to the Workflow Logs page to view the workflow executed in the chatbot conversation.

17. Click on the View button below the Conversation column to view the chatbot session that triggered the app workflow.


18. Click on the View button below the Logs column to view the workflow log.


19. Similarly, you can view and debug the logs if the workflow execution fails. The workflow logs will provide you with relavant error message to debug the issue.


How to set custom values in Try Me
1. You have an option to set up custom values to test the chatbot that you wanted to collect from the end-user in chat. Click on the “Set Value” icon to see the data that is being sent to the chatbot.

2. There are six system variables that are available by default. The chatbot will use the value of the variables in the conversation.

3. You can create a new Variable by clicking on add new or edit the existing ones by clicking on the edit icon on the existing Variables.



Note: Make sure the name of the variable is the same as the variable added in the function nodes (Ask question, Verify User Details, and Upload Attachment) to save user response.
