{"id":1537,"date":"2022-10-25T11:05:50","date_gmt":"2022-10-25T09:05:50","guid":{"rendered":"https:\/\/botnation.ai\/add-a-poll-to-a-chatbot\/"},"modified":"2026-01-02T15:27:41","modified_gmt":"2026-01-02T14:27:41","slug":"add-a-poll-to-a-chatbot","status":"publish","type":"support","link":"https:\/\/botnation.ai\/en\/support\/add-a-poll-to-a-chatbot\/","title":{"rendered":"Add a poll to a chatbot"},"content":{"rendered":"<p>Here\u2019s how to insert polls into your chatbots<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2023\/04\/image.png.webp\" alt=\"\" class=\"wp-image-3218\"><\/figure>\n<\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\">1. Use<\/h2>\n\n\n\n<p>To add a poll to your chatbot you need to proceed in two steps: first you need to create the poll in the dedicated tool and then add it in a sequence.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">A. The creation of the poll<\/h4>\n\n\n\n<p>Among the tabs on the left, click on \u201cExclusive Tools\u201d and then, in the menu that opens, click on \u201cPolls\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/Sondage_00_UK-1024x604.png.webp\" alt=\"\" class=\"wp-image-1543\"><\/figure>\n\n\n\n<p>Then click on \u201cAdd a poll\u201d to create a new poll.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/image-52.png.webp\" alt=\"\" class=\"wp-image-1546\"><\/figure>\n<\/div>\n\n\n<p>This will open the creation interface where you can set up your poll.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/Sondage_01_UK-926x1024.png.webp\" alt=\"\" class=\"wp-image-1548\"><\/figure>\n\n\n\n<p>The first field to fill in is the name of the poll as it will appear in the interface. This name is only visible to the chatbot creator.<br><br>Next comes the option to display the results of the poll only when a minimum number of participants is reached.<br><br>You then need to give the poll a name as it will appear to the chatbot users.<br><br>The poll when added to the chatbot will take the form of Quick Replies (see the following articles: <a href=\"https:\/\/botnation.ai\/en\/add-quick-replies-messenger\/\">Adding Quick Replies (Messenger)<\/a> and <a href=\"https:\/\/botnation.ai\/en\/add-quick-replies-web-chatbot\/\">Adding Quick Replies (Web Chatbot)<\/a>).<br>And will therefore be displayed as a question followed by buttons to which icons can be added.<br><br>In the configuration you will have to enter a question and then add answers.<br><br>These answers require an image (optional) that will be displayed as an icon in front of the button text (limited to 20 characters).<br><br>The survey has the same limitations as Quick Replies, so you can only offer a maximum of 11 possible answers.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>ATTENTION<\/strong><br>If you add emojis to the button names, they will not appear when the survey graph is displayed.<\/p>\n<\/blockquote>\n\n\n\n<p>In this interface, at the very bottom, you will be able to see the graph with the results of the poll.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">B. Adding the poll in the chatbot <\/h4>\n\n\n\n<p>Choose the sequence in which you want to add the poll and then, among the construction features, click on \u201cPoll\u201d and then, in the menu that opens, click on \u201cPoll\u201d. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/Sondage_02_UK-1024x604.png.webp\" alt=\"\" class=\"wp-image-1550\"><\/figure>\n\n\n\n<p>This will add the following element:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/image-53.png.webp\" alt=\"\" class=\"wp-image-1554\"><\/figure>\n<\/div>\n\n\n<p>To set up this feature, simply choose the poll you want to display from the drop-down menu.<br><br>Then choose or create the variable in which you want to store the answer.<br>The <a href=\"https:\/\/botnation.ai\/en\/assign-a-value-to-a-variable\/\">variable will take as value<\/a> the name of the button clicked by the user.<br><br>You must then choose a redirection sequence.<br><br>If the user has already completed this poll, you can skip it by choosing another redirection sequence.<\/p>\n\n\n\n<p>This is how it will look to your users:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2023\/04\/image-1.png.webp\" alt=\"\" class=\"wp-image-3221\"><\/figure>\n<\/div>\n\n\n<h4 class=\"wp-block-heading\">C. Displaying the result of a poll in the chatbot<\/h4>\n\n\n\n<p>Choose the sequence in which you want to add the poll and then, among the construction functions, click on \u201cPOll\u201d and then, in the menu that opens, click on \u201cPoll result\u201d. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/Sondage_03_UK-1024x604.png.webp\" alt=\"\" class=\"wp-image-1552\"><\/figure>\n\n\n\n<p>This will add the following element:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2022\/10\/image-55.png.webp\" alt=\"\" class=\"wp-image-1558\" style=\"width:448px\"><\/figure>\n<\/div>\n\n\n<p>Simply select the poll from the drop-down menu.<br><br>Here\u2019s how it will look in the chatbot for users:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/botnation.ai\/wp-content\/uploads\/2023\/04\/image.png.webp\" alt=\"\" class=\"wp-image-3218\"><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">2. Options<\/h2>\n\n\n\n\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"categorie-support":[194,222,221],"class_list":["post-1537","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\/1537","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=1537"}],"wp:term":[{"taxonomy":"categorie-support","embeddable":true,"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/categorie-support?post=1537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}