{"id":13286,"date":"2026-01-07T19:06:20","date_gmt":"2026-01-07T18:06:20","guid":{"rendered":"https:\/\/botnation.ai\/support\/user-input-2\/"},"modified":"2026-11-14T20:27:45","modified_gmt":"2026-11-14T19:27:45","slug":"user-input","status":"publish","type":"support","link":"https:\/\/botnation.ai\/en\/support\/user-input\/","title":{"rendered":"User input"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Capture data from your chatbot\u2019s conversations<\/p>\n\n<p class=\"wp-block-paragraph\">This feature allows you to ask the user a question, to which they can respond by typing their answer. The answer is stored in a variable. <\/p>\n\n<h2 class=\"wp-block-heading\">1. Use<\/h2>\n\n<p class=\"wp-block-paragraph\">Among the construction functions, click on \u201cUser entry\u201d.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/Entree_00_FR-1024x604.png.webp\" alt=\"\" class=\"wp-image-965\"><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>You can then configure this feature as follows:<\/strong><\/p>\n\n<ul class=\"wp-block-list\">\n<li>Enter the question you want to ask the user,<\/li>\n\n\n\n<li>Choose or create the variable in which the answer will be saved,<\/li>\n\n\n\n<li>Choose the variable type (Free text, Number detection or Email detection),<\/li>\n\n\n\n<li>Choose or create the sequence that will be launched once the user has responded,<\/li>\n\n\n\n<li>Choose or create the sequence that will be launched if the chatbot already has a value for this variable for this user,<\/li>\n\n\n\n<li>Add a cancel button to allow the user not to answer the question.<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">Quand vous choisissez le type de variable \u201c<strong>D\u00e9tection d\u2019email<\/strong>\u201d ou \u201c<strong>D\u00e9tection de nombre<\/strong>\u201c, si la r\u00e9ponse saisie par l\u2019utilisateur ne correspond pas au type correspondant, le chatbot consid\u00e8re que c\u2019est une erreur et rejouera la s\u00e9quence pour poser \u00e0 nouveau la question. Voir cet article : <a href=\"https:\/\/botnation.ai\/en\/support\/how-to-manage-the-wrong-entry-of-an-email-or-a-number\/\">Comment g\u00e9rer la mauvaise saisie d\u2019un email ou d\u2019un nombre<\/a><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"605\" height=\"590\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-157.png.webp\" alt=\"\" class=\"wp-image-967\" srcset=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-157.png 605w, https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-157-300x293.png 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">In the example above, the user is asked to enter his first name. This information will be saved in the \u201cprenom\u201d variable of \u201cfree text\u201d type. Once the user has answered, he will be redirected to the \u201cNext\u201d sequence.  <br><br>In the \u201cSuite\u201d sequence, we display a text in which we use the \u201cfirst name\u201d variable.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"505\" height=\"365\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-158.png.webp\" alt=\"\" class=\"wp-image-969\" srcset=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-158.png 505w, https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-158-300x217.png 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">This gives in the chatbot:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"410\" height=\"579\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-159.png.webp\" alt=\"\" class=\"wp-image-971\" srcset=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-159.png 410w, https:\/\/botnation.ai\/wp-content\/uploads\/2022\/09\/image-159-212x300.png 212w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/figure>\n<\/div>\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>ATTENTION<\/strong><br>This feature can only be placed at the end of a sequence.<\/p>\n<\/blockquote>\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n<h2 class=\"wp-block-heading\">2. Options<\/h2>\n\n<p class=\"wp-block-paragraph\">A \u2013 En cliquant sur l\u2019ic\u00f4ne \u00ab\u00a0+\u00a0\u00bb, vous pouvez mettre en rotation diff\u00e9rentes versions de cette fonctionnalit\u00e9 en utilisant l\u2019A\/B Testing.<br>Voir l\u2019article :\u00a0<a href=\"https:\/\/botnation.ai\/en\/support\/a-b-testing-and-machine-learning\/\">A\/B Testing et Machine Learning<\/a>\u00a0et le Webinar :\u00a0<a href=\"https:\/\/botnation.ai\/en\/support\/a-more-effective-chatbot-thanks-to-ab-testing\/\">Un chatbot plus performant gr\u00e2ce \u00e0 l\u2019AB Testing<\/a><\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/08\/Texte_05_FR-1-1024x604.png.webp\" alt=\"AB Testing\" class=\"wp-image-96\"><\/figure>\n\n<p class=\"wp-block-paragraph\">B \u2013 Vous pouvez laissez un commentaire \u00e0 vos collaborateurs \u00e0 propos de cette fonctionnalit\u00e9 en cliquant sur l\u2019ic\u00f4ne (voir ci-dessous).<br>Voir l\u2019article :\u00a0<a href=\"https:\/\/botnation.ai\/en\/support\/add-comments\/\">Ajouter des Commentaires<\/a><\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/08\/Texte_06_FR-1-1024x604.png.webp\" alt=\"Add a comment\" class=\"wp-image-98\"><\/figure>\n\n<p class=\"wp-block-paragraph\">C \u2013 Click on the \u201c?\u201d icon to open the online help for the item corresponding to this functionality.<\/p>\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/08\/Texte_08_FR-1024x604.png.webp\" alt=\"Online help\" class=\"wp-image-100\"><\/figure>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"categorie-support":[194,222,221],"class_list":["post-13286","support","type-support","status-publish","hentry","categorie-support-features","categorie-support-variables-en","categorie-support-web-chatbot-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support\/13286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/types\/support"}],"wp:attachment":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/media?parent=13286"}],"wp:term":[{"taxonomy":"categorie-support","embeddable":true,"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/categorie-support?post=13286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}