Guide to conversation management and how to build a chatbot?

Guide to conversation management and how to build a chatbot?