{"id":1189,"date":"2018-03-21T14:13:20","date_gmt":"2018-03-21T20:13:20","guid":{"rendered":"https:\/\/www.ometrics.com\/blog\/?p=1189"},"modified":"2022-08-03T09:06:37","modified_gmt":"2022-08-03T15:06:37","slug":"complete-guide-chatbots-how-does-a-chatbot-work","status":"publish","type":"post","link":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/","title":{"rendered":"How Does a Chatbot Work? (Chapter 3)"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.17.4&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h1 style=\"text-align: center;\">The 2022 Complete Guide to Chatbots<\/h1>\n<h1 style=\"text-align: center;\">Chapter 3<\/h1>\n<hr \/>\n<p style=\"text-align: center;\"><span style=\"color: #68a72f;\"><strong>&lt;&lt;<a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-why-do-i-need\">Previous<\/a> \u00a0| <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots\/\">Table of Contents<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/chatbot-ebook.html\" target=\"_blank\" rel=\"noopener noreferrer\">Download the Chatbot Guide<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\n<hr \/>\n<h2>How does a chatbot work?<\/h2>\n<p>Think of a chatbot in terms of simple logic. Chatbots are more than simple logic, but to understand the basic concepts, simple logic will work.<!--more--><\/p>\n<p>A chatbot is \u201clistening\u201d for certain words and phrases. When a particular term is heard, the chatbot responds with a preprogrammed answer. For example, if a user asked:<\/p>\n<p>User: What is your phone number?<\/p>\n<p>Bot: Our number is 800-555-1212. Do you want to talk to support, accounting, sales, or customer service?<\/p>\n<p>User: If the user says \u201csales,\u201d the bot provides the sales phone number which can be clicked to initiate the phone call.<\/p>\n<p>The challenge is there are many ways to ask for a phone number. The chatbot needs to understand all the variations in a particular language as well as multiple languages.<\/p>\n<p>The next layer of complexity is to understand the context of the conversation. If the user asks, \u201cWhat time is it in London,\u201d the bot will provide the time. If the user asks a follow up question such as, \u201cWhat\u2019s the weather there,\u201d the bot doesn\u2019t know what \u201cthere\u201d means. It may not connect the first question with the second question. Humans easily understand this sequence of questions, but chatbots may not get it. It becomes even more complex when the user continues to ask questions and the bot may forget the original question, which was about the time in London. That is the most difficult part of programming a chatbot.<\/p>\n<p>There are three primary terms that describe how a chatbot is programmed. Different systems use different terminology. See the glossary for terms for more.<\/p>\n<p><strong>Intent <\/strong>\u2013 An intent is figuring out the user\u2019s intention and providing the appropriate response. The intent is \u201clistening\u201d for keywords and phrases and has a programmed response such as, ask another question, provide an answer, present button options, show an image or video, or go to a URL. The intent has many variations of the keywords and phrases, and it has logic around particular keywords. Intents can also be connected together.<\/p>\n<p><strong>Agent<\/strong> \u2013 An agent is a set of intents around one topic. For example, an agent called \u201cContact\u201d could have intents for phone, email, web, social, etc. Other agents could be for specific types of products and services.<\/p>\n<p><strong>Conversations<\/strong> \u2013 This is a decision tree or logic diagram of a scripted conversation. Think of a sales script. What are the questions you would ask during the sales process or when trouble-shooting a technical support issue? These conversations can be linear or have branching logic with multiple answers to questions. They can also be interrupted mid-conversation and switch conversations to questions and answers much like a human conversation.<\/p>\n<p>Chatbots are powerful because they can mimic human language. They do not have to stay in the conversational flow. If the user asks a separate question, the bot can jump over the preprogrammed response and answer that particular question. For example, the bot could be asking questions to narrow down what product or service the user needs. In the middle of this conversation, the user could interrupt the bot and ask an unrelated question like \u201cWhere are you located?\u201d or \u201cWhat is the cost?\u201d The bot will then stop its conversation and answer that question.<\/p>\n<p>Here is an example of a simple conversation logic decision tree:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1577\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\" alt=\"simple-conversation-logic-decision-tree-screenshot\" width=\"636\" height=\"240\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg 636w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot-300x113.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot-624x235.jpg 624w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p>Here are four examples of a chatbot conversation that becomes more complex. In most cases conversations jump to unrelated topics. The goal is to have the chatbot respond like a natural conversation.<\/p>\n<p>Example 1<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1578\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-1.jpg\" alt=\"example-1\" width=\"628\" height=\"261\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-1.jpg 628w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-1-300x125.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-1-624x259.jpg 624w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/p>\n<p>Example 2<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1579\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-2.jpg\" alt=\"example-2\" width=\"631\" height=\"227\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-2.jpg 631w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-2-300x108.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-2-624x224.jpg 624w\" sizes=\"(max-width: 631px) 100vw, 631px\" \/><\/p>\n<p>Example 3<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1580\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-3.jpg\" alt=\"example-3\" width=\"639\" height=\"326\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-3.jpg 639w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-3-300x153.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-3-624x318.jpg 624w\" sizes=\"(max-width: 639px) 100vw, 639px\" \/><\/p>\n<p>Example 4<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1581\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-4.jpg\" alt=\"example-4\" width=\"629\" height=\"320\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-4.jpg 629w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-4-300x153.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-4-624x317.jpg 624w\" sizes=\"(max-width: 629px) 100vw, 629px\" \/><\/p>\n<p>In a chatbot architecture, the questions are connected together so that all questions have access to the same listeners.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1582\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-5.jpg\" alt=\"example-5\" width=\"619\" height=\"204\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-5.jpg 619w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-5-300x99.jpg 300w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><\/p>\n<p>A more complex chatbot has a decision tree of questions on a particular subject that branches out from the main conversation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1583\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-6.jpg\" alt=\"example-6\" width=\"649\" height=\"253\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-6.jpg 649w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-6-300x117.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-6-624x243.jpg 624w\" sizes=\"(max-width: 649px) 100vw, 649px\" \/><\/p>\n<p>The chatbot changes direction when the user asks a common question, which falls into the global intent category. In this example, the chatbot listens for a type of car, but when the user changes the question, the chatbot listens for these unrelated questions and goes to the global intents.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1584\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-7.jpg\" alt=\"example-7\" width=\"638\" height=\"157\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-7.jpg 638w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-7-300x74.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-7-624x154.jpg 624w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1585\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-8.jpg\" alt=\"example-8\" width=\"636\" height=\"151\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-8.jpg 636w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-8-300x71.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-8-624x148.jpg 624w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/p>\n<p>Here is an <a href=\"https:\/\/www.ometrics.com\/blog\/ecommerce-chatbot-examples\/\">example of a sales chatbot<\/a> on a website. Each bubble is a new question.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1586\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-9.jpg\" alt=\"example-9\" width=\"589\" height=\"171\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-9.jpg 589w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-9-300x87.jpg 300w\" sizes=\"(max-width: 589px) 100vw, 589px\" \/><\/p>\n<h2>How does a chatbot learn?<\/h2>\n<p>Chatbots can learn automatically by analyzing past data and making assumptions on what is right. The other way chatbots learn is by having a human editing the system.\u00a0 In most cases, both are required. Even though a chatbot has artificial intelligence, a human still needs to audit the responses to make adjustments. This is called <a href=\"https:\/\/www.ometrics.com\/blog\/e-commerce-chatbots\/what-is-human-in-the-loophitl-in-ai-chatbots\/\">\u201chuman in the loop.\u201d<\/a> There have been some epic failures of chatbots that run 100% on artificial intelligence. Many smaller bots only have human in the loop because there is not enough data to answer all of the user\u2019s questions. In these cases, data is collected from the bot system and what is learned is applied to all the bots for general intents and agents.<\/p>\n<p>Over time, the bot gets smarter and theoretically there is less maintenance. From a marketing perspective, there are insights to be gained from the bot data, and the data is fed back into the bot as well as shared with product development, marketing and sales teams.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; link_option_url=&#8221;https:\/\/ochatbot.com\/ecommerce-chatbot\/shopify-chatbot\/&#8221; border_radii=&#8221;on|3px|3px|3px|3px&#8221; border_width_all=&#8221;3px&#8221; border_color_all=&#8221;#68AB37&#8243; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; global_module=&#8221;6437&#8243; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_image src=&#8221;https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2022\/08\/Ochatbot_ecomm-cart.jpg&#8221; alt=&#8221;shopify plugins&#8221; title_text=&#8221;Ochatbot_ecomm-cart&#8221; _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;|3px||3px|false|false&#8221; border_width_all=&#8221;0px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4><strong>True AI to engage shoppers in conversational eCommerce. Create happy customers while growing your business!<\/strong><\/h4>\n<div><\/div>\n<ul>\n<li>\n<h4>5% to 35% Increase in AOV*<\/h4>\n<\/li>\n<li>\n<h4>20% to 40% Increase is Revenue*<\/h4>\n<\/li>\n<li>\n<h4>25% to 45% Reduction in Support Tickets<\/h4>\n<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/ochatbot.com\/ecommerce-chatbot\/&#8221; button_text=&#8221;Learn More&#8221; _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_size=&#8221;24px&#8221; button_text_color=&#8221;#000000&#8243; button_bg_color=&#8221;#E09900&#8243; button_border_width=&#8221;0px&#8221; button_icon=&#8221;&#x3d;||divi||400&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_button][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<div data-pm-slice=\"1 1 []\" data-en-clipboard=\"true\">*When shoppers engage with Ochatbot\u00ae<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; custom_padding=&#8221;0px|||||&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.17.4&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>What is artificial intelligence?<\/h2>\n<p>Artificial Intelligence (AI) is the creation of computer systems that can perform tasks that require human intelligence, such as speech recognition, understanding and translating language, and decision making. AI includes computer science, neuroscience, psychology and linguistics, which are all needed by a machine to duplicate a typical human response. When an AI process can function with contextual responses in a<a href=\"https:\/\/www.ometrics.com\/blog\/role-of-ai-chatbots-in-conversational-commerce\/\"> real human conversation<\/a>, that is when it has become successful in simulating human intelligence.<\/p>\n<p>The data is collected and clustered into groups. These clusters of data are multidimensional and take significant computer power to analyze. Special software systems with a variety of algorithms are used to evaluate how the data is being correlated. The system is then tested and adjusted accordingly.<\/p>\n<p>Artificial intelligence is what makes chatbots different than a simple yes or no logic program. Chatbots learn over time what a user is asking in a particular industry and what is the best way to answer that question. This is done by collecting and monitoring the data of all the conversations. The AI system applies what it learns from each conversation. However, there is a caveat. A human has to monitor some of these responses. This is called \u201cHuman in the Loop.\u201d In the past, chatbots have been launched on social sites, and unfortunately, they start learning the more negative influences of our society. For example, Microsoft\u2019s Tay.ai was launched on Twitter in 2016, and it became a sexist bigot within 24 hours and was shut down and fixed. The best way to avoid these situations is to respond with polite humor preventing the conversation from spinning out of control.<\/p>\n<p>The bottom line is a good chatbot will have ongoing maintenance to review the conversations. This has two benefits. First, it gathers data about what customers want, ask for, are confused about, etc. Second, it detects where the bot is getting stuck in a conversation so it can learn and create new responses.<\/p>\n<h3>What is machine learning?<\/h3>\n<p>Chatbots and other artificial intelligence systems have multiple inputs such as text, button clicks, voice, and vision. Machine learning is when the chatbot analyzes the input data to determine a result. For example, if the system is reading a scanned document with numbers, the number images are clustered by how similar they are. All the 6\u2019s are grouped separately, then all the 3\u2019s are grouped together. This is pretty simple to do. The trick is when a 1 looks like 7 or 4 looks like a 9. By clustering thousands of images, it becomes smarter and the error rate decreases.<\/p>\n<p>Machine learning is the process where a computer learns from experience rather than from programming. The machine learns by gathering data and it can find insights from that data without being explicitly programmed. When you see an ad on your Facebook newsfeed or from Google for a product you recently searched, that is a result of machine learning about you and your preferences. There are many inputs of data for the system to draw a conclusion. Computers are really good at this, where it would take a human too long to figure it out.<\/p>\n<p>Also Read : <a href=\"https:\/\/www.ometrics.com\/blog\/9-reasons-to-choose-machine-learning-chatbots-with-hitl-for-your-website\/\">9 Reasons to Choose Machine Learning Chatbots with HITL for Your Website<\/a><\/p>\n<h3>What is natural language processing?<\/h3>\n<p>Natural language processing (NLP) is teaching a computer to understand language and the intent behind the language. NLP is based on artificial intelligence, computer science, and computer linguistics.<\/p>\n<p>NLP is enabled by machine learning where words, phrases, and sentences are analyzed, and the system gives a response based on the analyzed data. An NLP algorithm uses inferences to provide the best answer. The system gives a better answer when it receives more data. One of the biggest challenges with NLP is context \u2013 human conversations are contextual and it\u2019s difficult to teach context to a computer.<\/p>\n<p>If you use a spelling and grammar app or a language translation app, it is most likely using NLP to correct you.<\/p>\n<h3>What is Human in the Loop?<\/h3>\n<p>\u201cHuman in the loop\u201d is a Natural Language Processing Engineer who continually reviews the bot data and adds new intents and agents to the bot. The engineer adjusts the programming with new acronyms and new ways of asking a question. The engineer also detects new customer objections and questions which are vital to selling a product or service.<\/p>\n<hr \/>\n<p style=\"text-align: center;\"><span style=\"color: #68a72f;\"><strong>\u00a0<\/strong><\/span><span style=\"color: #68a72f;\"><strong>&lt;<a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-why-do-i-need\">Previous<\/a> \u00a0| <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots\/\">Table of Contents<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/chatbot-ebook.html\">Download the Chatbot Guide<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\n<hr \/>\n<p style=\"text-align: center;\">[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The 2022 Complete Guide to Chatbots Chapter 3 &lt;&lt;Previous \u00a0| Table of Contents | Download the Chatbot Guide | Next &gt;&gt; How does a chatbot work? Think of a chatbot in terms of simple logic. Chatbots are more than simple logic, but to understand the basic concepts, simple logic will work. A chatbot is \u201clistening\u201d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<h1 style=\"text-align: center;\">The 2019 Complete Guide to Chatbots<\/h1>\n<h1 style=\"text-align: center;\">Chapter 3<\/h1>\n\n<hr \/>\n<p style=\"text-align: center;\"><span style=\"color: #68a72f;\"><strong>&lt;&lt;<a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-why-do-i-need\">Previous<\/a> \u00a0| <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots\/\">Table of Contents<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/chatbot-ebook.html\" target=\"_blank\" rel=\"noopener noreferrer\">Download the Chatbot Guide<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\n\n\n<hr \/>\n\n<h2>How does a chatbot work?<\/h2>\nThink of a chatbot in terms of simple logic. Chatbots are more than simple logic, but to understand the basic concepts, simple logic will work.<!--more-->\n\nA chatbot is \u201clistening\u201d for certain words and phrases. When a particular term is heard, the chatbot responds with a preprogrammed answer. For example, if a user asked:\n\nUser: What is your phone number?\n\nBot: Our number is 800-555-1212. Do you want to talk to support, accounting, sales, or customer service?\n\nUser: If the user says \u201csales,\u201d the bot provides the sales phone number which can be clicked to initiate the phone call.\n\nThe challenge is there are many ways to ask for a phone number. The chatbot needs to understand all the variations in a particular language as well as multiple languages.\n\nThe next layer of complexity is to understand the context of the conversation. If the user asks, \u201cWhat time is it in London,\u201d the bot will provide the time. If the user asks a follow up question such as, \u201cWhat\u2019s the weather there,\u201d the bot doesn\u2019t know what \u201cthere\u201d means. It may not connect the first question with the second question. Humans easily understand this sequence of questions, but chatbots may not get it. It becomes even more complex when the user continues to ask questions and the bot may forget the original question, which was about the time in London. That is the most difficult part of programming a chatbot.\n\nThere are three primary terms that describe how a chatbot is programmed. Different systems use different terminology. See the glossary for terms for more.\n\n<strong>Intent <\/strong>\u2013 An intent is figuring out the user\u2019s intention and providing the appropriate response. The intent is \u201clistening\u201d for keywords and phrases and has a programmed response such as, ask another question, provide an answer, present button options, show an image or video, or go to a URL. The intent has many variations of the keywords and phrases, and it has logic around particular keywords. Intents can also be connected together.\n\n<strong>Agent<\/strong> \u2013 An agent is a set of intents around one topic. For example, an agent called \u201cContact\u201d could have intents for phone, email, web, social, etc. Other agents could be for specific types of products and services.\n\n<strong>Conversations<\/strong> \u2013 This is a decision tree or logic diagram of a scripted conversation. Think of a sales script. What are the questions you would ask during the sales process or when trouble-shooting a technical support issue? These conversations can be linear or have branching logic with multiple answers to questions. They can also be interrupted mid-conversation and switch conversations to questions and answers much like a human conversation.\n\nChatbots are powerful because they can mimic human language. They do not have to stay in the conversational flow. If the user asks a separate question, the bot can jump over the preprogrammed response and answer that particular question. For example, the bot could be asking questions to narrow down what product or service the user needs. In the middle of this conversation, the user could interrupt the bot and ask an unrelated question like \u201cWhere are you located?\u201d or \u201cWhat is the cost?\u201d The bot will then stop its conversation and answer that question.\n\nHere is an example of a simple conversation logic decision tree:\n\n<img class=\"alignleft size-full wp-image-1577\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\" alt=\"simple-conversation-logic-decision-tree-screenshot\" width=\"636\" height=\"240\" \/>\n\nHere are four examples of a chatbot conversation that becomes more complex. In most cases conversations jump to unrelated topics. The goal is to have the chatbot respond like a natural conversation.\n\nExample 1\n\n<img class=\"aligncenter size-full wp-image-1578\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-1.jpg\" alt=\"example-1\" width=\"628\" height=\"261\" \/>\n\nExample 2\n\n<img class=\"aligncenter size-full wp-image-1579\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-2.jpg\" alt=\"example-2\" width=\"631\" height=\"227\" \/>\n\nExample 3\n\n<img class=\"aligncenter size-full wp-image-1580\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-3.jpg\" alt=\"example-3\" width=\"639\" height=\"326\" \/>\n\nExample 4\n\n<img class=\"aligncenter size-full wp-image-1581\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-4.jpg\" alt=\"example-4\" width=\"629\" height=\"320\" \/>\n\nIn a chatbot architecture, the questions are connected together so that all questions have access to the same listeners.\n\n<img class=\"aligncenter size-full wp-image-1582\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-5.jpg\" alt=\"example-5\" width=\"619\" height=\"204\" \/>\n\nA more complex chatbot has a decision tree of questions on a particular subject that branches out from the main conversation.\n\n<img class=\"aligncenter size-full wp-image-1583\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-6.jpg\" alt=\"example-6\" width=\"649\" height=\"253\" \/>\n\nThe chatbot changes direction when the user asks a common question, which falls into the global intent category. In this example, the chatbot listens for a type of car, but when the user changes the question, the chatbot listens for these unrelated questions and goes to the global intents.\n\n<img class=\"aligncenter size-full wp-image-1584\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-7.jpg\" alt=\"example-7\" width=\"638\" height=\"157\" \/>\n\n<img class=\"aligncenter size-full wp-image-1585\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-8.jpg\" alt=\"example-8\" width=\"636\" height=\"151\" \/>\n\nHere is an example of a sales chatbot on a website. Each bubble is a new question.\n\n<img class=\"aligncenter size-full wp-image-1586\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/example-9.jpg\" alt=\"example-9\" width=\"589\" height=\"171\" \/>\n<h2>How does a chatbot learn?<\/h2>\nChatbots can learn automatically by analyzing past data and making assumptions on what is right. The other way chatbots learn is by having a human editing the system.\u00a0 In most cases, both are required. Even though a chatbot has artificial intelligence, a human still needs to audit the responses to make adjustments. This is called <a href=\"https:\/\/www.ometrics.com\/blog\/e-commerce-chatbots\/what-is-human-in-the-loophitl-in-ai-chatbots\/\">\u201chuman in the loop.\u201d<\/a> There have been some epic failures of chatbots that run 100% on artificial intelligence. Many smaller bots only have human in the loop because there is not enough data to answer all of the user\u2019s questions. In these cases, data is collected from the bot system and what is learned is applied to all the bots for general intents and agents.\n\nOver time, the bot gets smarter and theoretically there is less maintenance. From a marketing perspective, there are insights to be gained from the bot data, and the data is fed back into the bot as well as shared with product development, marketing and sales teams.\n<h2>What is artificial intelligence?<\/h2>\nArtificial Intelligence (AI) is the creation of computer systems that can perform tasks that require human intelligence, such as speech recognition, understanding and translating language, and decision making. AI includes computer science, neuroscience, psychology and linguistics, which are all needed by a machine to duplicate a typical human response. When an AI process can function with contextual responses in a<a href=\"https:\/\/www.ometrics.com\/blog\/role-of-ai-chatbots-in-conversational-commerce\/\"> real human conversation<\/a>, that is when it has become successful in simulating human intelligence.\n\nThe data is collected and clustered into groups. These clusters of data are multidimensional and take significant computer power to analyze. Special software systems with a variety of algorithms are used to evaluate how the data is being correlated. The system is then tested and adjusted accordingly.\n\nArtificial intelligence is what makes chatbots different than a simple yes or no logic program. Chatbots learn over time what a user is asking in a particular industry and what is the best way to answer that question. This is done by collecting and monitoring the data of all the conversations. The AI system applies what it learns from each conversation. However, there is a caveat. A human has to monitor some of these responses. This is called \u201cHuman in the Loop.\u201d In the past, chatbots have been launched on social sites, and unfortunately, they start learning the more negative influences of our society. For example, Microsoft\u2019s Tay.ai was launched on Twitter in 2016, and it became a sexist bigot within 24 hours and was shut down and fixed. The best way to avoid these situations is to respond with polite humor preventing the conversation from spinning out of control.\n\nThe bottom line is a good chatbot will have ongoing maintenance to review the conversations. This has two benefits. First, it gathers data about what customers want, ask for, are confused about, etc. Second, it detects where the bot is getting stuck in a conversation so it can learn and create new responses.\n<h3>What is machine learning?<\/h3>\nChatbots and other artificial intelligence systems have multiple inputs such as text, button clicks, voice, and vision. Machine learning is when the chatbot analyzes the input data to determine a result. For example, if the system is reading a scanned document with numbers, the number images are clustered by how similar they are. All the 6\u2019s are grouped separately, then all the 3\u2019s are grouped together. This is pretty simple to do. The trick is when a 1 looks like 7 or 4 looks like a 9. By clustering thousands of images, it becomes smarter and the error rate decreases.\n\nMachine learning is the process where a computer learns from experience rather than from programming. The machine learns by gathering data and it can find insights from that data without being explicitly programmed. When you see an ad on your Facebook newsfeed or from Google for a product you recently searched, that is a result of machine learning about you and your preferences. There are many inputs of data for the system to draw a conclusion. Computers are really good at this, where it would take a human too long to figure it out.\n\nAlso Read : <a href=\"https:\/\/www.ometrics.com\/blog\/9-reasons-to-choose-machine-learning-chatbots-with-hitl-for-your-website\/\">9 Reasons to Choose Machine Learning Chatbots with HITL for Your Website<\/a>\n<h3>What is natural language processing?<\/h3>\nNatural language processing (NLP) is teaching a computer to understand language and the intent behind the language. NLP is based on artificial intelligence, computer science, and computer linguistics.\n\nNLP is enabled by machine learning where words, phrases, and sentences are analyzed, and the system gives a response based on the analyzed data. An NLP algorithm uses inferences to provide the best answer. The system gives a better answer when it receives more data. One of the biggest challenges with NLP is context \u2013 human conversations are contextual and it\u2019s difficult to teach context to a computer.\n\nIf you use a spelling and grammar app or a language translation app, it is most likely using NLP to correct you.\n<h3>What is Human in the Loop?<\/h3>\n\u201cHuman in the loop\u201d is a Natural Language Processing Engineer who continually reviews the bot data and adds new intents and agents to the bot. The engineer adjusts the programming with new acronyms and new ways of asking a question. The engineer also detects new customer objections and questions which are vital to selling a product or service.\n\n<hr \/>\n<p style=\"text-align: center;\"><span style=\"color: #68a72f;\"><strong>\u00a0<\/strong><\/span><span style=\"color: #68a72f;\"><strong>&lt;<a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-why-do-i-need\">Previous<\/a> \u00a0| <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots\/\">Table of Contents<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/chatbot-ebook.html\">Download the Chatbot Guide<\/a> | <a style=\"color: #68a72f;\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\n\n\n<hr \/>\n<p style=\"text-align: center;\"><\/p>","_et_gb_content_width":"","footnotes":""},"categories":[371510,244837],"tags":[682423],"class_list":["post-1189","post","type-post","status-publish","format-standard","hentry","category-chatbot-guide","category-chatbots","tag-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Does a Chatbot Work? (Chapter 3)<\/title>\n<meta name=\"description\" content=\"How does a chatbot work? Think of a chatbot in terms of simple logic. It&#039;s more than simple logic, but to understand basic concepts, simple logic will work.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Does a Chatbot Work? (Chapter 3)\" \/>\n<meta property=\"og:description\" content=\"How does a chatbot work? Think of a chatbot in terms of simple logic. It&#039;s more than simple logic, but to understand basic concepts, simple logic will work.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\" \/>\n<meta property=\"og:site_name\" content=\"Ometrics\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Ometrics\/\" \/>\n<meta property=\"article:author\" content=\"http:\/\/www.facebook.com\/ometrics\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-21T20:13:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-03T15:06:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\" \/>\n<meta name=\"author\" content=\"Greg Ahern\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Greg Ahern\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\"},\"author\":{\"name\":\"Greg Ahern\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8\"},\"headline\":\"How Does a Chatbot Work? (Chapter 3)\",\"datePublished\":\"2018-03-21T20:13:20+00:00\",\"dateModified\":\"2022-08-03T15:06:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\"},\"wordCount\":2058,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\",\"keywords\":[\"blog\"],\"articleSection\":[\"Chatbot Guide\",\"Chatbots &amp; Artificial Intelligence\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\",\"url\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\",\"name\":\"How Does a Chatbot Work? (Chapter 3)\",\"isPartOf\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\",\"datePublished\":\"2018-03-21T20:13:20+00:00\",\"dateModified\":\"2022-08-03T15:06:37+00:00\",\"description\":\"How does a chatbot work? Think of a chatbot in terms of simple logic. It's more than simple logic, but to understand basic concepts, simple logic will work.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage\",\"url\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\",\"contentUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg\",\"width\":636,\"height\":240},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ometrics.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Does a Chatbot Work? (Chapter 3)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#website\",\"url\":\"https:\/\/www.ometrics.com\/blog\/\",\"name\":\"Ometrics\",\"description\":\"AI Chatbots, Conversion Rate Optimization Resources, Exit Popups, A-B Testing\",\"publisher\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ometrics.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#organization\",\"name\":\"Ometrics\",\"url\":\"https:\/\/www.ometrics.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2019\/06\/ometrics-logo-white-r-210x45.png\",\"contentUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2019\/06\/ometrics-logo-white-r-210x45.png\",\"width\":210,\"height\":45,\"caption\":\"Ometrics\"},\"image\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Ometrics\/\",\"https:\/\/x.com\/ometrics\",\"https:\/\/www.instagram.com\/ometricsllc\/\",\"https:\/\/www.linkedin.com\/company\/ometrics\",\"https:\/\/www.youtube.com\/channel\/UCqOKmRfWQ7v7cgXAuSABFIw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8\",\"name\":\"Greg Ahern\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f1e660b474ae1134f6648fb4f62489cf0672e17474fa4eeadcb2bca8b9a9e25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f1e660b474ae1134f6648fb4f62489cf0672e17474fa4eeadcb2bca8b9a9e25e?s=96&d=mm&r=g\",\"caption\":\"Greg Ahern\"},\"description\":\"Greg Ahern Founder and CEO of Ometrics\u00ae and Ochatbot\u00ae is a fanatic about artificial intelligence, machine learning, AI chatbots, conversational ecommerce, lead generation and conversion rate optimization. Greg has been a successful Internet entrepreneur since 1994. He speaks at conferences and webinars and has built a number of internet businesses. You can follow Greg on Twitter @gregahern, Linkedin, and join his CRO Hacks Groups on Slack. https:\/\/www.ometrics.com\/cro-growth-hacks\/\",\"sameAs\":[\"https:\/\/www.ometrics.com\",\"http:\/\/www.facebook.com\/ometrics\",\"https:\/\/x.com\/gregahern\"],\"url\":\"https:\/\/www.ometrics.com\/blog\/author\/domoreblogs\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Does a Chatbot Work? (Chapter 3)","description":"How does a chatbot work? Think of a chatbot in terms of simple logic. It's more than simple logic, but to understand basic concepts, simple logic will work.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/","og_locale":"en_US","og_type":"article","og_title":"How Does a Chatbot Work? (Chapter 3)","og_description":"How does a chatbot work? Think of a chatbot in terms of simple logic. It's more than simple logic, but to understand basic concepts, simple logic will work.","og_url":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/","og_site_name":"Ometrics","article_publisher":"https:\/\/www.facebook.com\/Ometrics\/","article_author":"http:\/\/www.facebook.com\/ometrics","article_published_time":"2018-03-21T20:13:20+00:00","article_modified_time":"2022-08-03T15:06:37+00:00","og_image":[{"url":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg","type":"","width":"","height":""}],"author":"Greg Ahern","twitter_misc":{"Written by":"Greg Ahern","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#article","isPartOf":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/"},"author":{"name":"Greg Ahern","@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8"},"headline":"How Does a Chatbot Work? (Chapter 3)","datePublished":"2018-03-21T20:13:20+00:00","dateModified":"2022-08-03T15:06:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/"},"wordCount":2058,"commentCount":0,"publisher":{"@id":"https:\/\/www.ometrics.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg","keywords":["blog"],"articleSection":["Chatbot Guide","Chatbots &amp; Artificial Intelligence"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/","url":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/","name":"How Does a Chatbot Work? (Chapter 3)","isPartOf":{"@id":"https:\/\/www.ometrics.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage"},"image":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg","datePublished":"2018-03-21T20:13:20+00:00","dateModified":"2022-08-03T15:06:37+00:00","description":"How does a chatbot work? Think of a chatbot in terms of simple logic. It's more than simple logic, but to understand basic concepts, simple logic will work.","breadcrumb":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#primaryimage","url":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg","contentUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/simple-conversation-logic-decision-tree-screenshot.jpg","width":636,"height":240},{"@type":"BreadcrumbList","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-how-does-a-chatbot-work\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ometrics.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How Does a Chatbot Work? (Chapter 3)"}]},{"@type":"WebSite","@id":"https:\/\/www.ometrics.com\/blog\/#website","url":"https:\/\/www.ometrics.com\/blog\/","name":"Ometrics","description":"AI Chatbots, Conversion Rate Optimization Resources, Exit Popups, A-B Testing","publisher":{"@id":"https:\/\/www.ometrics.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ometrics.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ometrics.com\/blog\/#organization","name":"Ometrics","url":"https:\/\/www.ometrics.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2019\/06\/ometrics-logo-white-r-210x45.png","contentUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2019\/06\/ometrics-logo-white-r-210x45.png","width":210,"height":45,"caption":"Ometrics"},"image":{"@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Ometrics\/","https:\/\/x.com\/ometrics","https:\/\/www.instagram.com\/ometricsllc\/","https:\/\/www.linkedin.com\/company\/ometrics","https:\/\/www.youtube.com\/channel\/UCqOKmRfWQ7v7cgXAuSABFIw"]},{"@type":"Person","@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8","name":"Greg Ahern","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f1e660b474ae1134f6648fb4f62489cf0672e17474fa4eeadcb2bca8b9a9e25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1e660b474ae1134f6648fb4f62489cf0672e17474fa4eeadcb2bca8b9a9e25e?s=96&d=mm&r=g","caption":"Greg Ahern"},"description":"Greg Ahern Founder and CEO of Ometrics\u00ae and Ochatbot\u00ae is a fanatic about artificial intelligence, machine learning, AI chatbots, conversational ecommerce, lead generation and conversion rate optimization. Greg has been a successful Internet entrepreneur since 1994. He speaks at conferences and webinars and has built a number of internet businesses. You can follow Greg on Twitter @gregahern, Linkedin, and join his CRO Hacks Groups on Slack. https:\/\/www.ometrics.com\/cro-growth-hacks\/","sameAs":["https:\/\/www.ometrics.com","http:\/\/www.facebook.com\/ometrics","https:\/\/x.com\/gregahern"],"url":"https:\/\/www.ometrics.com\/blog\/author\/domoreblogs\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts\/1189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/comments?post=1189"}],"version-history":[{"count":7,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts\/1189\/revisions"}],"predecessor-version":[{"id":8031,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts\/1189\/revisions\/8031"}],"wp:attachment":[{"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/media?parent=1189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/categories?post=1189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/tags?post=1189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}