The chatbot uses keywords that users type in the chat line and guesses what they may be looking for. For example, if you own a restaurant that has vegan options on the menu, you might program the word “vegan” into the bot. Then when users type in that word, the return message will include vegan options from the menu or point out the menu section that features these dishes.
ELIZA's key method of operation (copied by chatbot designers ever since) involves the recognition of clue words or phrases in the input, and the output of corresponding pre-prepared or pre-programmed responses that can move the conversation forward in an apparently meaningful way (e.g. by responding to any input that contains the word 'MOTHER' with 'TELL ME MORE ABOUT YOUR FAMILY'). Thus an illusion of understanding is generated, even though the processing involved has been merely superficial. ELIZA showed that such an illusion is surprisingly easy to generate, because human judges are so ready to give the benefit of the doubt when conversational responses are capable of being interpreted as "intelligent".
Certainly for Facebook, this is much more about extracting marketing dollars than it is about breaking new ground in software development. Because by studying user’s interactions with these bots, Facebook will continue to build their understanding of how consumers are interacting with brands and gain additional insight into what products they like and content they consume. That can only mean more value to marketers and thus more dollars for Facebook.
Streamchat is one of the most basic chatbot tools out there. It’s meant to be used for simple automations and autoresponders, like out-of-office replies or “We’ll get back to you as soon as we can!” messages, rather than for managing a broader workflow. It’s quick to implement and easy to start with if you’re just dipping your toes into the chatbot waters.