{"id":1194,"date":"2018-03-21T14:11:04","date_gmt":"2018-03-21T20:11:04","guid":{"rendered":"https:\/\/www.ometrics.com\/blog\/?p=1194"},"modified":"2022-07-13T09:35:29","modified_gmt":"2022-07-13T15:35:29","slug":"complete-guide-chatbots-building-chatbots","status":"publish","type":"post","link":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/","title":{"rendered":"How to Build a Chatbot? (Chapter 4)"},"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 4<\/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-how-does-a-chatbot-work\">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-cost\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\n<hr \/>\n<h2>How to Build a Chatbot?<\/h2>\n<p>For a basic bot, there are three types of agents needed: \u00a0A support agent, a FAQ agent, and one or more conversational agents.<!--more--><\/p>\n<p><strong>Support agent:<\/strong> \u00a0This agent handles all the basic questions such as \u201cWhere are you located?\u201d or \u201cWhat is your billing phone number?\u201d A more complex support agent would answer questions like \u201cWhat software do I use for product X?\u201d or \u201cHow do I add XYZ feature to my ABC product?\u201d \u00a0Support agents often have sub-intents for each product or service.<\/p>\n<p><strong>FAQ agent:<\/strong> \u00a0The FAQ agent answers all the general questions from a user. The questions may be from prospects or customers. The FAQ agent is not as detailed as a complex support agent, but it quickly answers the question or points the user to a page or a document that has the answer.<\/p>\n<p><strong>Conversations:<\/strong> \u00a0At least one conversation is needed just to introduce the chatbot to the user and ask how it can help. For leads and sales, a decision tree of questions is asked to either point the user to the right product or service, or to make the user understand the value of the product or service, gather contact information or make a purchase. In many cases, you will have different conversations on different sections of the site.<\/p>\n<p>Here are two examples of where a conversation can be used.<\/p>\n<ul>\n<li>If you have two products that serve five different industries, you have to ask which industry they are in, and provide the benefits and features for that industry.<\/li>\n<\/ul>\n<ul>\n<li>If you are trouble shooting a support question, you must have some basic facts such as what product they have now, if they are using a Mac or PC, what browser they use, etc.<\/li>\n<\/ul>\n<p>Here are the first three steps in creating the chatbot conversation.<\/p>\n<ol>\n<li>Draw a thought bubble diagram of all the types of conversations that would happen on the site.<\/li>\n<li>Create a spreadsheet that has a list of questions and answers along with button options and their actions. This will replicate the scenario of a\u00a0customer talking to a salesperson. Start with the most common questions. Over time you will see questions that you did not think of, and you can add those questions to the spreadsheet.<\/li>\n<li>Think about how each question can be asked by the user. Break out each question into 15 to 20 different ways it could be asked. You can use wildcards to make this easier.<\/li>\n<li>Enter the questions and answers into the chatbot platform and test each question.<\/li>\n<\/ol>\n<h2>How to Build a Chatbot<\/h2>\n<p>Building a chatbot does not have to be overly complex, but it does require a little forethought. We will show how to <a href=\"https:\/\/www.ometrics.com\/blog\/helpful-guidelines-before-building-your-own-chatbot\/\">build a chatbot<\/a> in a step by step process.<\/p>\n<p><strong>Step 1 &#8211; What is the purpose of your chatbot<\/strong><\/p>\n<p>Chatbots have a number of purposes such as:<\/p>\n<ul>\n<li>Lead generation<\/li>\n<li>Sales, online and offline<\/li>\n<li>Improving usability and navigation of the site<\/li>\n<li>Gaining insights<\/li>\n<li>Support<\/li>\n<\/ul>\n<p>The conversation and call to action for each of these is different. You can have all of these conversations happening at once. Each conversation would be scripted differently.<\/p>\n<p>To understand how well the chatbot is working, determine what metrics you will watch. Note that all data is collected from the conversations. This means if you forgot to include a product or service, users will ask for it. You will also gain insights on what users are asking.<\/p>\n<p><strong>Step 2 &#8211; Create a bubble diagram of conversations<\/strong><\/p>\n<p>The architecture of the chatbot has many tangents and sub-topics just like typical conversations. A quick way to organize this is to create bubble diagram showing different conversations and if they are connected. Here is an example of a bubble diagram.<\/p>\n<p><a href=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1353\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\" alt=\"how to build a chatbot bubble diagram\" width=\"716\" height=\"596\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg 716w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram-300x250.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram-624x519.jpg 624w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/a><br \/>Here is an example of the question and answer spreadsheet:<\/p>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"234\" \/>\n<col width=\"212\" \/>\n<col width=\"100\" \/>\n<col width=\"100\" \/><\/colgroup>\n<tbody>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Question&quot;}\">Question<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Answer&quot;}\">Answer<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Button&quot;}\">Button<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Action&quot;}\">Action<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;What is your phone number&quot;}\">What is your phone number<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Our number is 123-1223-1223&quot;}\">Our number is 123-1223-1223<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Do you sell cars?&quot;}\">Do you sell cars?<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Yes do you want 2 wheel or 4 wheel drive?&quot;}\">Yes do you want 2 wheel\u00a0drive or 4 wheel drive?<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;2 wheel&quot;}\">2 wheel<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Go to URL...&quot;}\">Go to URL&#8230;<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;4 wheel&quot;}\">4 wheel<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Show text....&quot;}\">Show text&#8230;.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The next step in a chatbot conversation is to create a default introduction question. The default introduction question is like a website homepage where users see the same information each time they visit. The default question affects the conversion rate and the effectiveness of the chatbot. Without a good intro question, users will not engage with the chatbot.<\/p>\n<p>Let&#8217;s say you own a flower shop. What is a typical conversation that a flower shop has with its customers? Here is an example:<\/p>\n<p><strong>Option one:<\/strong><\/p>\n<p>Hi, I am a chatbot. What type of flowers are you looking for?<\/p>\n<ul>\n<li>Roses<\/li>\n<li>Lilies<\/li>\n<li>Asters<\/li>\n<li>Carnations<\/li>\n<li>Tulips<\/li>\n<\/ul>\n<p>The user clicks on the type of flower they want and the chatbot directs them to a page where they can order it. The chatbot can also ask a qualifying question such as color before it redirects the user to the website.<\/p>\n<p><strong>Option two:<\/strong><\/p>\n<p>Hi, I am a chatbot. What type of event do you need flowers for?<\/p>\n<p>The chatbot listens for specific words such as a wedding, funeral, graduation, performance, etc. When the chatbot hears that flowers are needed for a wedding, it responds with:<\/p>\n<p>Great! I love weddings! How many flower arrangements are needed for the wedding? The chatbot will ask more questions such as:<\/p>\n<p>Does the bride want wrist corsages or lapel corsages?<br \/>Is the bride carrying a bridal bouquet?<br \/>What types of flowers does the bride like?<br \/>What are the wedding theme colors?<\/p>\n<p>Then the chatbot can offer suggestions based on these answers, such as what type of flowers look good in a bridal bouquet based on the wedding theme colors.<\/p>\n<p>Option two represents a consultation type of sales experience where you want to understand the customer&#8217;s wants and needs, and provide information and suggestions that are relevant to the conversation.<\/p>\n<p>Within the default question, there will be intents that are specific to the question and other intents that are global. Determine what intents are specific to this conversation.<\/p>\n<p><strong>Chatbot Structure<\/strong><\/p>\n<p>This is a good time to take a tangent and explain how chatbots work.<\/p>\n<p>Chatbots are trying to understand the \u201cintent\u201d of what the user is talking about.<\/p>\n<p>Intents have two components:<\/p>\n<p><strong>Listeners<\/strong>\u00a0&#8211; Listeners are keywords and phrases that trigger when that particular term is detected. Many listeners are already preprogrammed and are constantly being improved so you only have to think of the listeners that are relevant to your business. The keywords can use regex (a regular expression) logic such as:<\/p>\n<p>word|words \u2013 list of words<\/p>\n<p>^word \u2013 must begin with this word<\/p>\n<p>\\b word \\b \u2013 must contain this phrase<\/p>\n<p>A regular expression (regex) is a special text string to describe a search pattern. A regular expression is like an amplified wildcard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1589\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-listeners.jpg\" alt=\"intent-listeners\" width=\"411\" height=\"291\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-listeners.jpg 411w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-listeners-300x212.jpg 300w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><\/p>\n<p><strong>Replies<\/strong>\u00a0\u2013 Replies are the action that happens when the intent is triggered. There are a number of reply options which can be combined.<\/p>\n<ul>\n<li>Connect to a question<\/li>\n<li>Provide a text reply<\/li>\n<li>Provide a button with a link<\/li>\n<li>Show an image or video<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1590\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-actions.jpg\" alt=\"intent-actions\" width=\"407\" height=\"510\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-actions.jpg 407w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-actions-239x300.jpg 239w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/p>\n<p>Intents can be global or specific to a question. If the chatbot does not understand a question, an intent is triggered to reply with your fallback question as a last resort. There are other logic options such as \u201cstay within this conversation.\u201d<\/p>\n<p><strong>Step 4 &#8211; Outline your questions and conversational logic<\/strong><\/p>\n<p>Often there is additional conversational logic after the default question.\u00a0 For example, if your first question is, \u201cAre you interested in a car or a truck,\u201d there would be additional questions for each type of vehicle. Some questions are general like budget, and other questions are specific like truck bed size, number of passengers, sports car or mini-van. Remember each of these conversations can have their own unique intents.<\/p>\n<p><strong>Step 5 &#8211; List your global intents with common questions and replies<\/strong><\/p>\n<p>Many of the global intents are commonly asked questions or FAQ\u2019s that could happen at any time in a conversation.<\/p>\n<p>For example, in a support conversation, the customer may suddenly ask for a phone number. In this case, the support number is given. If the customer was not in support and asked for a phone number, then the reply would list different department phone numbers (sales, support, billing\u2026).<\/p>\n<p>FAQ\u2019s can also be set up using a Virtual Assistant. If the Assistant cannot answer the question, the user is directed to a specific page or referred to live support. The user\u2019s questions are collected for future analysis, which is valuable for sales and marketing efforts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1591\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/virtual-assistant.jpg\" alt=\"virtual-assistant\" width=\"642\" height=\"389\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/virtual-assistant.jpg 642w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/virtual-assistant-300x182.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/virtual-assistant-624x378.jpg 624w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/p>\n<p><strong>Step 6 &#8211; Determine your variables and call to actions<\/strong><\/p>\n<p>Variables allow a faster creation of intents. A typical variable would be a phone number, email address or contact us URL. You can also have full sentences which are often the same as a call-to-action such as \u201cto learn more call 800-700-8077.\u201d<\/p>\n<p>To use a variable just type {{phone}} or {{email}} or {{contact us}} in the reply message box. When that intent is activated, the phone number or email address is automatically added to the reply message.<\/p>\n<p>In the following examples, we show you how to create a chatbot using the Ometrics Ochatbot<br \/>program.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1592\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/variables.jpg\" alt=\"variables\" width=\"573\" height=\"257\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/variables.jpg 573w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/variables-300x135.jpg 300w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/p>\n<p><strong>Step 7 &#8211; Build your default question<\/strong><\/p>\n<p>Now you are ready to start building your chatbot. The following example is using the\u00a0<strong><u><a href=\"http:\/\/ochatbot.com\/\">Ochatbot tool<\/a><\/u><\/strong>. First, determine how the chatbot will engage with the user. Do you want the default question to show first followed by a simple \u201chow may I help you\u201d on the home page? Another option is to ask a different default question on a different page or section of the site. When you first create your Ochatbot, a series of questions will prefill your default question, variables and other main intents.<\/p>\n<p>You can adjust the presentation of the chatbot window in the settings section. Below is a partial screenshot of the settings section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1593\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings.jpg\" alt=\"settings\" width=\"647\" height=\"469\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings.jpg 647w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings-300x217.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings-624x452.jpg 624w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/p>\n<p>Other settings such as colors, window sizes, chat icon can also be edited here. Below are a few of the options.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1594\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings2.jpg\" alt=\"settings2\" width=\"447\" height=\"346\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings2.jpg 447w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings2-300x232.jpg 300w\" sizes=\"(max-width: 447px) 100vw, 447px\" \/><\/p>\n<p>In the trigger section, select how you want the chatbot to trigger for desktop and mobile.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1595\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/triggers.jpg\" alt=\"triggers\" width=\"644\" height=\"460\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/triggers.jpg 644w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/triggers-300x214.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/triggers-624x446.jpg 624w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/p>\n<p>In the questions section, select the question you want to be the default question. The default question will show after the introduction text, depending on your settings. To switch to another question, assign the new question as default by clicking the checkbox.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1596\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/questions.jpg\" alt=\"questions\" width=\"646\" height=\"423\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/questions.jpg 646w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/questions-300x196.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/questions-624x409.jpg 624w\" sizes=\"(max-width: 646px) 100vw, 646px\" \/><\/p>\n<p><strong>Step 8 &#8211; Build other questions and conversational logic and intents<\/strong><\/p>\n<p>Below the question section, you can add specific intents that are associated with that specific question. Once intents are built, you can drag them over from the list on the left and edit them specifically for that question.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1597\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/available-intents.jpg\" alt=\"available-intents\" width=\"642\" height=\"410\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/available-intents.jpg 642w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/available-intents-300x192.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/available-intents-624x399.jpg 624w\" sizes=\"(max-width: 642px) 100vw, 642px\" \/><\/p>\n<p><strong>Step 9 &#8211; Build global intents<\/strong><\/p>\n<p>A global intent is an intent that listens all the time including inside an unrelated question or conversation. Global intents are prioritized after the current conversation intents.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1598\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/global-intents.jpg\" alt=\"global-intents\" width=\"651\" height=\"374\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/global-intents.jpg 651w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/global-intents-300x172.jpg 300w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/global-intents-624x358.jpg 624w\" sizes=\"(max-width: 651px) 100vw, 651px\" \/><\/p>\n<p><strong>Step 10 \u2013 Call to Action for Lead Generation: Lead Forms and Surveys<\/strong><\/p>\n<p>Websites have a call to action and a chatbot is no different. You want to collect information about your visitor such as their name and email address. A lead generation form inside the chatbot casually asks your visitors for their contact information and allows them to enter their question. After the user has submitted their answers, the chatbot confirms that the information is received and a representative will respond.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1599\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/lead-form.jpg\" alt=\"lead-form\" width=\"522\" height=\"451\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/lead-form.jpg 522w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/lead-form-300x259.jpg 300w\" sizes=\"(max-width: 522px) 100vw, 522px\" \/><\/p>\n<p>Another way to gather user information is setting up a survey within the chatbot, which engages users in a conversational way without them knowing they are taking a survey.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1600\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/survey.jpg\" alt=\"survey\" width=\"518\" height=\"369\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/survey.jpg 518w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/survey-300x214.jpg 300w\" sizes=\"(max-width: 518px) 100vw, 518px\" \/><\/p>\n<p><strong>Step 11 &#8211; Hitting the rails<\/strong><\/p>\n<p>Hitting the rails means the chatbot does not understand the question and the reply goes to a \u201cfallback\u201d intent. Determine how you want to handle these types of errors. You can have text, another question or point them to live chat. Be creative in your response and make it fun.<\/p>\n<p>Always test in real time as you add your questions and intents.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1601\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/hit-the-rails.jpg\" alt=\"hit-the-rails\" width=\"413\" height=\"454\" srcset=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/hit-the-rails.jpg 413w, https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/hit-the-rails-273x300.jpg 273w\" sizes=\"(max-width: 413px) 100vw, 413px\" \/><\/p>\n<p>To learn more, you can read this blog post on <span style=\"color: #339966;\"><strong><a style=\"color: #339966;\" href=\"https:\/\/www.ometrics.com\/blog\/how-to-build-a-chatbot\/\">How to Build Chatbot<\/a><\/strong><\/span>. There are also more details in the PDF version of this ebook.<\/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-how-does-a-chatbot-work\">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-cost\">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 4 &lt;&lt;Previous \u00a0| Table of Contents | Download the Chatbot Guide | Next &gt;&gt; How to Build a Chatbot? For a basic bot, there are three types of agents needed: \u00a0A support agent, a FAQ agent, and one or more conversational agents. Support agent: \u00a0This agent handles all [&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>\r\n<h1 style=\"text-align: center;\">Chapter 4<\/h1>\r\n\r\n<hr \/>\r\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-how-does-a-chatbot-work\">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-cost\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\r\n\r\n\r\n<hr \/>\r\n\r\n<h2>How to Build a Chatbot?<\/h2>\r\nFor a basic bot, there are three types of agents needed: \u00a0A support agent, a FAQ agent, and one or more conversational agents.<!--more-->\r\n\r\n<strong>Support agent:<\/strong> \u00a0This agent handles all the basic questions such as \u201cWhere are you located?\u201d or \u201cWhat is your billing phone number?\u201d A more complex support agent would answer questions like \u201cWhat software do I use for product X?\u201d or \u201cHow do I add XYZ feature to my ABC product?\u201d \u00a0Support agents often have sub-intents for each product or service.\r\n\r\n<strong>FAQ agent:<\/strong> \u00a0The FAQ agent answers all the general questions from a user. The questions may be from prospects or customers. The FAQ agent is not as detailed as a complex support agent, but it quickly answers the question or points the user to a page or a document that has the answer.\r\n\r\n<strong>Conversations:<\/strong> \u00a0At least one conversation is needed just to introduce the chatbot to the user and ask how it can help. For leads and sales, a decision tree of questions is asked to either point the user to the right product or service, or to make the user understand the value of the product or service, gather contact information or make a purchase. In many cases, you will have different conversations on different sections of the site.\r\n\r\nHere are two examples of where a conversation can be used.\r\n<ul>\r\n \t<li>If you have two products that serve five different industries, you have to ask which industry they are in, and provide the benefits and features for that industry.<\/li>\r\n<\/ul>\r\n<ul>\r\n \t<li>If you are trouble shooting a support question, you must have some basic facts such as what product they have now, if they are using a Mac or PC, what browser they use, etc.<\/li>\r\n<\/ul>\r\nHere are the first three steps in creating the chatbot conversation.\r\n<ol>\r\n \t<li>Draw a thought bubble diagram of all the types of conversations that would happen on the site.<\/li>\r\n \t<li>Create a spreadsheet that has a list of questions and answers along with button options and their actions. This will replicate the scenario of a\u00a0customer talking to a salesperson. Start with the most common questions. Over time you will see questions that you did not think of, and you can add those questions to the spreadsheet.<\/li>\r\n \t<li>Think about how each question can be asked by the user. Break out each question into 15 to 20 different ways it could be asked. You can use wildcards to make this easier.<\/li>\r\n \t<li>Enter the questions and answers into the chatbot platform and test each question.<\/li>\r\n<\/ol>\r\n<h2>How to Build a Chatbot<\/h2>\r\nBuilding a chatbot does not have to be overly complex, but it does require a little forethought. We will show how to build a chatbot in a step by step process.\r\n\r\n<strong>Step 1 - What is the purpose of your chatbot<\/strong>\r\n\r\nChatbots have a number of purposes such as:\r\n<ul>\r\n \t<li>Lead generation<\/li>\r\n \t<li>Sales, online and offline<\/li>\r\n \t<li>Improving usability and navigation of the site<\/li>\r\n \t<li>Gaining insights<\/li>\r\n \t<li>Support<\/li>\r\n<\/ul>\r\nThe conversation and call to action for each of these is different. You can have all of these conversations happening at once. Each conversation would be scripted differently.\r\n\r\nTo understand how well the chatbot is working, determine what metrics you will watch. Note that all data is collected from the conversations. This means if you forgot to include a product or service, users will ask for it. You will also gain insights on what users are asking.\r\n\r\n<strong>Step 2 - Create a bubble diagram of conversations<\/strong>\r\n\r\nThe architecture of the chatbot has many tangents and sub-topics just like typical conversations. A quick way to organize this is to create bubble diagram showing different conversations and if they are connected. Here is an example of a bubble diagram.\r\n\r\n<a href=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\"><img class=\"alignleft size-full wp-image-1353\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\" alt=\"how to build a chatbot bubble diagram\" width=\"716\" height=\"596\" \/><\/a>\r\nHere is an example of the question and answer spreadsheet:\r\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\"><colgroup> <col width=\"234\" \/> <col width=\"212\" \/> <col width=\"100\" \/> <col width=\"100\" \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Question&quot;}\">Question<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Answer&quot;}\">Answer<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Button&quot;}\">Button<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Action&quot;}\">Action<\/td>\r\n<\/tr>\r\n<tr>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;What is your phone number&quot;}\">What is your phone number<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Our number is 123-1223-1223&quot;}\">Our number is 123-1223-1223<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Do you sell cars?&quot;}\">Do you sell cars?<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Yes do you want 2 wheel or 4 wheel drive?&quot;}\">Yes do you want 2 wheel\u00a0drive or 4 wheel drive?<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;2 wheel&quot;}\">2 wheel<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Go to URL...&quot;}\">Go to URL...<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><\/td>\r\n<td><\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;4 wheel&quot;}\">4 wheel<\/td>\r\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Show text....&quot;}\">Show text....<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe next step in a chatbot conversation is to create a default introduction question. The default introduction question is like a website homepage where users see the same information each time they visit. The default question affects the conversion rate and the effectiveness of the chatbot. Without a good intro question, users will not engage with the chatbot.\r\n\r\nLet's say you own a flower shop. What is a typical conversation that a flower shop has with its customers? Here is an example:\r\n\r\n<strong>Option one:<\/strong>\r\n\r\nHi, I am a chatbot. What type of flowers are you looking for?\r\n<ul>\r\n \t<li>Roses<\/li>\r\n \t<li>Lilies<\/li>\r\n \t<li>Asters<\/li>\r\n \t<li>Carnations<\/li>\r\n \t<li>Tulips<\/li>\r\n<\/ul>\r\nThe user clicks on the type of flower they want and the chatbot directs them to a page where they can order it. The chatbot can also ask a qualifying question such as color before it redirects the user to the website.\r\n\r\n<strong>Option two:<\/strong>\r\n\r\nHi, I am a chatbot. What type of event do you need flowers for?\r\n\r\nThe chatbot listens for specific words such as a wedding, funeral, graduation, performance, etc. When the chatbot hears that flowers are needed for a wedding, it responds with:\r\n\r\nGreat! I love weddings! How many flower arrangements are needed for the wedding? The chatbot will ask more questions such as:\r\n\r\nDoes the bride want wrist corsages or lapel corsages?\r\nIs the bride carrying a bridal bouquet?\r\nWhat types of flowers does the bride like?\r\nWhat are the wedding theme colors?\r\n\r\nThen the chatbot can offer suggestions based on these answers, such as what type of flowers look good in a bridal bouquet based on the wedding theme colors.\r\n\r\nOption two represents a consultation type of sales experience where you want to understand the customer's wants and needs, and provide information and suggestions that are relevant to the conversation.\r\n\r\nWithin the default question, there will be intents that are specific to the question and other intents that are global. Determine what intents are specific to this conversation.\r\n\r\n<strong>Chatbot Structure<\/strong>\r\n\r\nThis is a good time to take a tangent and explain how chatbots work.\r\n\r\nChatbots are trying to understand the \u201cintent\u201d of what the user is talking about.\r\n\r\nIntents have two components:\r\n\r\n<strong>Listeners<\/strong>\u00a0- Listeners are keywords and phrases that trigger when that particular term is detected. Many listeners are already preprogrammed and are constantly being improved so you only have to think of the listeners that are relevant to your business. The keywords can use regex (a regular expression) logic such as:\r\n\r\nword|words \u2013 list of words\r\n\r\n^word \u2013 must begin with this word\r\n\r\nb word b \u2013 must contain this phrase\r\n\r\nA regular expression (regex) is a special text string to describe a search pattern. A regular expression is like an amplified wildcard.\r\n\r\n<img class=\"aligncenter size-full wp-image-1589\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-listeners.jpg\" alt=\"intent-listeners\" width=\"411\" height=\"291\" \/>\r\n\r\n<strong>Replies<\/strong>\u00a0\u2013 Replies are the action that happens when the intent is triggered. There are a number of reply options which can be combined.\r\n<ul>\r\n \t<li>Connect to a question<\/li>\r\n \t<li>Provide a text reply<\/li>\r\n \t<li>Provide a button with a link<\/li>\r\n \t<li>Show an image or video<\/li>\r\n<\/ul>\r\n<img class=\"aligncenter size-full wp-image-1590\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/intent-actions.jpg\" alt=\"intent-actions\" width=\"407\" height=\"510\" \/>\r\n\r\nIntents can be global or specific to a question. If the chatbot does not understand a question, an intent is triggered to reply with your fallback question as a last resort. There are other logic options such as \u201cstay within this conversation.\u201d\r\n\r\n<strong>Step 4 - Outline your questions and conversational logic<\/strong>\r\n\r\nOften there is additional conversational logic after the default question.\u00a0 For example, if your first question is, \u201cAre you interested in a car or a truck,\u201d there would be additional questions for each type of vehicle. Some questions are general like budget, and other questions are specific like truck bed size, number of passengers, sports car or mini-van. Remember each of these conversations can have their own unique intents.\r\n\r\n<strong>Step 5 - List your global intents with common questions and replies<\/strong>\r\n\r\nMany of the global intents are commonly asked questions or FAQ\u2019s that could happen at any time in a conversation.\r\n\r\nFor example, in a support conversation, the customer may suddenly ask for a phone number. In this case, the support number is given. If the customer was not in support and asked for a phone number, then the reply would list different department phone numbers (sales, support, billing\u2026).\r\n\r\nFAQ\u2019s can also be set up using a Virtual Assistant. If the Assistant cannot answer the question, the user is directed to a specific page or referred to live support. The user\u2019s questions are collected for future analysis, which is valuable for sales and marketing efforts.\r\n\r\n<img class=\"aligncenter size-full wp-image-1591\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/virtual-assistant.jpg\" alt=\"virtual-assistant\" width=\"642\" height=\"389\" \/>\r\n\r\n<strong>Step 6 - Determine your variables and call to actions<\/strong>\r\n\r\nVariables allow a faster creation of intents. A typical variable would be a phone number, email address or contact us URL. You can also have full sentences which are often the same as a call-to-action such as \u201cto learn more call 800-700-8077.\u201d\r\n\r\nTo use a variable just type {{phone}} or {{email}} or {{contact us}} in the reply message box. When that intent is activated, the phone number or email address is automatically added to the reply message.\r\n\r\nIn the following examples, we show you how to create a chatbot using the Ometrics Ochatbot\r\nprogram.\r\n\r\n<img class=\"aligncenter size-full wp-image-1592\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/variables.jpg\" alt=\"variables\" width=\"573\" height=\"257\" \/>\r\n\r\n<strong>Step 7 - Build your default question<\/strong>\r\n\r\nNow you are ready to start building your chatbot. The following example is using the\u00a0<strong><u><a href=\"http:\/\/ochatbot.com\/\">Ochatbot tool<\/a><\/u><\/strong>. First, determine how the chatbot will engage with the user. Do you want the default question to show first followed by a simple \u201chow may I help you\u201d on the home page? Another option is to ask a different default question on a different page or section of the site. When you first create your Ochatbot, a series of questions will prefill your default question, variables and other main intents.\r\n\r\nYou can adjust the presentation of the chatbot window in the settings section. Below is a partial screenshot of the settings section.\r\n\r\n<img class=\"aligncenter size-full wp-image-1593\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings.jpg\" alt=\"settings\" width=\"647\" height=\"469\" \/>\r\n\r\nOther settings such as colors, window sizes, chat icon can also be edited here. Below are a few of the options.\r\n\r\n<img class=\"aligncenter size-full wp-image-1594\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/settings2.jpg\" alt=\"settings2\" width=\"447\" height=\"346\" \/>\r\n\r\nIn the trigger section, select how you want the chatbot to trigger for desktop and mobile.\r\n\r\n<img class=\"aligncenter size-full wp-image-1595\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/triggers.jpg\" alt=\"triggers\" width=\"644\" height=\"460\" \/>\r\n\r\nIn the questions section, select the question you want to be the default question. The default question will show after the introduction text, depending on your settings. To switch to another question, assign the new question as default by clicking the checkbox.\r\n\r\n<img class=\"aligncenter size-full wp-image-1596\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/questions.jpg\" alt=\"questions\" width=\"646\" height=\"423\" \/>\r\n\r\n<strong>Step 8 - Build other questions and conversational logic and intents<\/strong>\r\n\r\nBelow the question section, you can add specific intents that are associated with that specific question. Once intents are built, you can drag them over from the list on the left and edit them specifically for that question.\r\n\r\n<img class=\"aligncenter size-full wp-image-1597\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/available-intents.jpg\" alt=\"available-intents\" width=\"642\" height=\"410\" \/>\r\n\r\n<strong>Step 9 - Build global intents<\/strong>\r\n\r\nA global intent is an intent that listens all the time including inside an unrelated question or conversation. Global intents are prioritized after the current conversation intents.\r\n\r\n<img class=\"aligncenter size-full wp-image-1598\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/global-intents.jpg\" alt=\"global-intents\" width=\"651\" height=\"374\" \/>\r\n\r\n<strong>Step 10 \u2013 Call to Action for Lead Generation: Lead Forms and Surveys<\/strong>\r\n\r\nWebsites have a call to action and a chatbot is no different. You want to collect information about your visitor such as their name and email address. A lead generation form inside the chatbot casually asks your visitors for their contact information and allows them to enter their question. After the user has submitted their answers, the chatbot confirms that the information is received and a representative will respond.\r\n\r\n<img class=\"aligncenter size-full wp-image-1599\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/lead-form.jpg\" alt=\"lead-form\" width=\"522\" height=\"451\" \/>\r\n\r\nAnother way to gather user information is setting up a survey within the chatbot, which engages users in a conversational way without them knowing they are taking a survey.\r\n\r\n<img class=\"aligncenter size-full wp-image-1600\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/survey.jpg\" alt=\"survey\" width=\"518\" height=\"369\" \/>\r\n\r\n<strong>Step 11 - Hitting the rails<\/strong>\r\n\r\nHitting the rails means the chatbot does not understand the question and the reply goes to a \u201cfallback\u201d intent. Determine how you want to handle these types of errors. You can have text, another question or point them to live chat. Be creative in your response and make it fun.\r\n\r\nAlways test in real time as you add your questions and intents.\r\n\r\n<img class=\"aligncenter size-full wp-image-1601\" src=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/03\/hit-the-rails.jpg\" alt=\"hit-the-rails\" width=\"413\" height=\"454\" \/>\r\n\r\nTo learn more, you can read this blog post on <span style=\"color: #339966;\"><strong><a style=\"color: #339966;\" href=\"https:\/\/www.ometrics.com\/blog\/how-to-build-a-chatbot\/\">How to Build Chatbot<\/a><\/strong><\/span>. There are also more details in the PDF version of this ebook.\r\n\r\n<hr \/>\r\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-how-does-a-chatbot-work\">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-cost\">Next<\/a> &gt;&gt;<\/strong><\/span><\/p>\r\n\r\n\r\n<hr \/>\r\n<p style=\"text-align: center;\"><\/p>","_et_gb_content_width":"","footnotes":""},"categories":[371510,244837],"tags":[682423],"class_list":["post-1194","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 to Build a Chatbot? (Chapter 4)<\/title>\n<meta name=\"description\" content=\"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.\" \/>\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-building-chatbots\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a Chatbot? (Chapter 4)\" \/>\n<meta property=\"og:description\" content=\"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\" \/>\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:11:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-13T15:35:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.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-building-chatbots\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\"},\"author\":{\"name\":\"Greg Ahern\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8\"},\"headline\":\"How to Build a Chatbot? (Chapter 4)\",\"datePublished\":\"2018-03-21T20:11:04+00:00\",\"dateModified\":\"2022-07-13T15:35:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\"},\"wordCount\":2099,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\",\"keywords\":[\"blog\"],\"articleSection\":[\"Chatbot Guide\",\"Chatbots &amp; Artificial Intelligence\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\",\"url\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\",\"name\":\"How to Build a Chatbot? (Chapter 4)\",\"isPartOf\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\",\"datePublished\":\"2018-03-21T20:11:04+00:00\",\"dateModified\":\"2022-07-13T15:35:29+00:00\",\"description\":\"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage\",\"url\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\",\"contentUrl\":\"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg\",\"width\":716,\"height\":596,\"caption\":\"how to build a chatbot bubble diagram\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ometrics.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Build a Chatbot? (Chapter 4)\"}]},{\"@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 to Build a Chatbot? (Chapter 4)","description":"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.","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-building-chatbots\/","og_locale":"en_US","og_type":"article","og_title":"How to Build a Chatbot? (Chapter 4)","og_description":"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.","og_url":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/","og_site_name":"Ometrics","article_publisher":"https:\/\/www.facebook.com\/Ometrics\/","article_author":"http:\/\/www.facebook.com\/ometrics","article_published_time":"2018-03-21T20:11:04+00:00","article_modified_time":"2022-07-13T15:35:29+00:00","og_image":[{"url":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.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-building-chatbots\/#article","isPartOf":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/"},"author":{"name":"Greg Ahern","@id":"https:\/\/www.ometrics.com\/blog\/#\/schema\/person\/2e626ba442cbcf4e1db7e9fe737dcbc8"},"headline":"How to Build a Chatbot? (Chapter 4)","datePublished":"2018-03-21T20:11:04+00:00","dateModified":"2022-07-13T15:35:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/"},"wordCount":2099,"commentCount":0,"publisher":{"@id":"https:\/\/www.ometrics.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg","keywords":["blog"],"articleSection":["Chatbot Guide","Chatbots &amp; Artificial Intelligence"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/","url":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/","name":"How to Build a Chatbot? (Chapter 4)","isPartOf":{"@id":"https:\/\/www.ometrics.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage"},"image":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg","datePublished":"2018-03-21T20:11:04+00:00","dateModified":"2022-07-13T15:35:29+00:00","description":"How to Build a Chatbot? For a basic bot, there are three types of agents needed: A support agent, a FAQ agent, and one or more conversational agents.","breadcrumb":{"@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#primaryimage","url":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg","contentUrl":"https:\/\/www.ometrics.com\/blog\/wp-content\/uploads\/2018\/05\/bubble-diagram.jpg","width":716,"height":596,"caption":"how to build a chatbot bubble diagram"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ometrics.com\/blog\/complete-guide-chatbots-building-chatbots\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ometrics.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Build a Chatbot? (Chapter 4)"}]},{"@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\/1194","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=1194"}],"version-history":[{"count":4,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions"}],"predecessor-version":[{"id":8101,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/posts\/1194\/revisions\/8101"}],"wp:attachment":[{"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/media?parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/categories?post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ometrics.com\/blog\/wp-json\/wp\/v2\/tags?post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}