Facebook Messenger chat bots are a way to communicate with the companies and services that you use directly through Messenger. The goal of chat bots is to minimize the time you would spend waiting on hold or sifting through automated phone menus. By using keywords and short phrases, you can get information and perform tasks all through the Messenger app. For example, you could use bots to purchase clothing, or check the weather by asking the bot questions. Bot selection is limited, but more are being added all the time. You can also interact with bots using the Facebook website.
In a procedural conversation flow, you define the order of the questions and the bot will ask the questions in the order you defined. You can organize the questions into logical modules to keep the code centralized while staying focused on guiding the conversational. For example, you may design one module to contain the logic that helps the user browse for products and a separate module to contain the logic that helps the user create a new order.