Have you ever come across a bot assisting you in ordering pizza? or a bot suggesting you some great food options ? or even a bot that would schedule appointments and can help you out with your numerous questions? If answer to any of these questions is ‘YES’ , why not build a chatbot that would act as agent or your virtual friend.
Chatbots are everywhere and the way they are serving customers promptly makes it even more effective when compared to human counterparts. As many people prefer texting over voice , this is a best time to get your hand dirty by building a chatbot and dive into the world of ever growing conversation platform. Once you have developed a chatbot you can then host it on various chat channels and increase your revenue by serving customers in no time.
After adding Bot Name and Endpoint, click on ‘save and connect’ this will configure bot emulator to talk to bot hosted locally.
In order to test our bot, let’s send a message to our bot. This message is termed as an activity of type message and turnContext object keeps a track of this activity in OnTurnAsync method. So we can access our message using Text property of Activity.
We are done! Congratulations you have successfully created a echo bot using Microsoft Bot Framework.