<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Collect input from your user in Chatbot</title>
    <link>https://community.sinch.com/t5/Chatbot/Collect-input-from-your-user/ta-p/13204</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;In your Engage &lt;A class="" href="https://community.sinch.com/t5/Chatbot/Chatbot-intro/ta-p/9580" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN class=""&gt;chatbot&lt;/SPAN&gt;&lt;/A&gt;, you can ask for input of your customers and by adding &lt;SPAN class=""&gt;Collect input&lt;/SPAN&gt;&amp;nbsp;blocks to your conversation.&amp;nbsp;&lt;!--        notionvc: 4e12dadc-6564-4af2-a309-7868daa2c1d3        --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt;You prefer to watch a quick hands-on tutorial? Check out our new &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Bot-builder-video-tutorial/ta-p/13514" target="_blank" rel="noopener"&gt;bot builder video tutorial&lt;/A&gt;!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add a Collect input block:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Let's say we &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Match-entities/ta-p/13273" target="_blank" rel="noopener"&gt;created a match entity&lt;/A&gt; for a customer ID, called @customer_ID.&lt;/LI&gt;&lt;LI&gt;To add &lt;STRONG&gt;Collect input&lt;/STRONG&gt;, you can either:&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Navigate-your-canvas/ta-p/13079" target="_blank" rel="noopener"&gt;drag and drop&lt;/A&gt; a &lt;STRONG&gt;Collect input&lt;/STRONG&gt; block from the left panel&lt;/LI&gt;&lt;LI&gt;or start by dragging and dropping the &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Navigate-your-canvas/ta-p/13079" target="_blank" rel="noopener"&gt;connection arrow&lt;/A&gt;, then select &lt;STRONG&gt;Collect input&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The Collect input block opens. Click on &lt;STRONG&gt;Add step&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Text.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--        notionvc: 6653c6a5-de9e-4671-8f0d-1a7b272291a7        --&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-24 at 12.55.00.png" style="width: 711px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3896iB60D413517A0ACD9/image-dimensions/711x416?v=v2" width="711" height="416" role="button" title="Screenshot 2023-11-24 at 12.55.00.png" alt="Screenshot 2023-11-24 at 12.55.00.png" /&gt;&lt;/span&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;!--        notionvc: 1adf48e9-733d-446d-bdb0-00f4ce1946ba        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;5.&amp;nbsp; Select the created entity @customer_ID under &lt;STRONG&gt;Check if response matches&lt;/STRONG&gt; dropdown.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-24 at 12.58.58.png" style="width: 715px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3897i5ECC149F99F4DF1D/image-dimensions/715x418?v=v2" width="715" height="418" role="button" title="Screenshot 2023-11-24 at 12.58.58.png" alt="Screenshot 2023-11-24 at 12.58.58.png" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;6. Provide the name of the &lt;STRONG&gt;destination variable&lt;/STRONG&gt;, which is where the value will be saved.&lt;!--        notionvc: 12d9cb0d-d1a6-4754-ace2-f27459d0dd14        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.01.41.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3898i6A348F10F4561D34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.01.41.png" alt="Screenshot 2023-11-24 at 13.01.41.png" /&gt;&lt;/span&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;!--        notionvc: be935f70-fa88-4b31-baff-64dda1f8a31a        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;7. Create a new &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Blocks-and-steps/ta-p/13086" target="_blank" rel="noopener"&gt;block&lt;/A&gt; that will be triggered when the user's input is validated. In this example, we will guide them to the next block where the bot will provide selectable options.&lt;!--        notionvc: 860d11bd-8768-401f-b4df-315418b59e83        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.03.59.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3899i91EA75FFDBBE4101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.03.59.png" alt="Screenshot 2023-11-24 at 13.03.59.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;!--        notionvc: 3a3cab9f-665c-4bc1-83f5-d50981114385        --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;8. Next, create a text message in case the customer's response does not match. The bot will ask for the customer_id, which should consist of 6 numbers.&lt;!--        notionvc: be4b2c91-adf3-4f4d-b06c-acd536fba015        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.10.25.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3900iBCA0D73CF0173F8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.10.25.png" alt="Screenshot 2023-11-24 at 13.10.25.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;9. &lt;STRONG&gt;Save&lt;/STRONG&gt; your changes and &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Test-your-bot/ta-p/13296" target="_blank" rel="noopener"&gt;test your bot&lt;/A&gt; by clicking the &lt;SPAN class=""&gt;Play&lt;/SPAN&gt; button. Make sure that you have already &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Train-your-AI-bot/ta-p/13516" target="_blank" rel="noopener"&gt;trained&lt;/A&gt; your bot before testing it. Try it out: if a customer makes a mistake, the bot will redirect them to the correct answer until they provide the right customer ID.&lt;!--        notionvc: 03398940-8b29-4462-98d6-73ae9d69e932        --&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.21.57.png" style="width: 269px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3901i22C4731DAE2D5F33/image-dimensions/269x608?v=v2" width="269" height="608" role="button" title="Screenshot 2023-11-24 at 13.21.57.png" alt="Screenshot 2023-11-24 at 13.21.57.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Validate-a-user-input/ta-p/13186" target="_blank" rel="noopener"&gt;[New bot builder] Validate a user input&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Detect-entities-in-expressions/ta-p/13559" target="_blank" rel="noopener"&gt;[New bot builder] Detect entities in expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;[New bot builder] Variables and properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 02 Jan 2024 12:25:48 GMT</pubDate>
    <dc:creator>Agatha_Morisca</dc:creator>
    <dc:date>2024-01-02T12:25:48Z</dc:date>
    <item>
      <title>Collect input from your user</title>
      <link>https://community.sinch.com/t5/Chatbot/Collect-input-from-your-user/ta-p/13204</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;In your Engage &lt;A class="" href="https://community.sinch.com/t5/Chatbot/Chatbot-intro/ta-p/9580" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN class=""&gt;chatbot&lt;/SPAN&gt;&lt;/A&gt;, you can ask for input of your customers and by adding &lt;SPAN class=""&gt;Collect input&lt;/SPAN&gt;&amp;nbsp;blocks to your conversation.&amp;nbsp;&lt;!--        notionvc: 4e12dadc-6564-4af2-a309-7868daa2c1d3        --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;span class="lia-unicode-emoji" title=":movie_camera:"&gt;🎥&lt;/span&gt;You prefer to watch a quick hands-on tutorial? Check out our new &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Bot-builder-video-tutorial/ta-p/13514" target="_blank" rel="noopener"&gt;bot builder video tutorial&lt;/A&gt;!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To add a Collect input block:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Let's say we &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Match-entities/ta-p/13273" target="_blank" rel="noopener"&gt;created a match entity&lt;/A&gt; for a customer ID, called @customer_ID.&lt;/LI&gt;&lt;LI&gt;To add &lt;STRONG&gt;Collect input&lt;/STRONG&gt;, you can either:&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Navigate-your-canvas/ta-p/13079" target="_blank" rel="noopener"&gt;drag and drop&lt;/A&gt; a &lt;STRONG&gt;Collect input&lt;/STRONG&gt; block from the left panel&lt;/LI&gt;&lt;LI&gt;or start by dragging and dropping the &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Navigate-your-canvas/ta-p/13079" target="_blank" rel="noopener"&gt;connection arrow&lt;/A&gt;, then select &lt;STRONG&gt;Collect input&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;The Collect input block opens. Click on &lt;STRONG&gt;Add step&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Text.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--        notionvc: 6653c6a5-de9e-4671-8f0d-1a7b272291a7        --&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-24 at 12.55.00.png" style="width: 711px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3896iB60D413517A0ACD9/image-dimensions/711x416?v=v2" width="711" height="416" role="button" title="Screenshot 2023-11-24 at 12.55.00.png" alt="Screenshot 2023-11-24 at 12.55.00.png" /&gt;&lt;/span&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;!--        notionvc: 1adf48e9-733d-446d-bdb0-00f4ce1946ba        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;5.&amp;nbsp; Select the created entity @customer_ID under &lt;STRONG&gt;Check if response matches&lt;/STRONG&gt; dropdown.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-24 at 12.58.58.png" style="width: 715px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3897i5ECC149F99F4DF1D/image-dimensions/715x418?v=v2" width="715" height="418" role="button" title="Screenshot 2023-11-24 at 12.58.58.png" alt="Screenshot 2023-11-24 at 12.58.58.png" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;6. Provide the name of the &lt;STRONG&gt;destination variable&lt;/STRONG&gt;, which is where the value will be saved.&lt;!--        notionvc: 12d9cb0d-d1a6-4754-ace2-f27459d0dd14        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.01.41.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3898i6A348F10F4561D34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.01.41.png" alt="Screenshot 2023-11-24 at 13.01.41.png" /&gt;&lt;/span&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;!--        notionvc: be935f70-fa88-4b31-baff-64dda1f8a31a        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;7. Create a new &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Blocks-and-steps/ta-p/13086" target="_blank" rel="noopener"&gt;block&lt;/A&gt; that will be triggered when the user's input is validated. In this example, we will guide them to the next block where the bot will provide selectable options.&lt;!--        notionvc: 860d11bd-8768-401f-b4df-315418b59e83        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.03.59.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3899i91EA75FFDBBE4101/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.03.59.png" alt="Screenshot 2023-11-24 at 13.03.59.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;!--        notionvc: 3a3cab9f-665c-4bc1-83f5-d50981114385        --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;8. Next, create a text message in case the customer's response does not match. The bot will ask for the customer_id, which should consist of 6 numbers.&lt;!--        notionvc: be4b2c91-adf3-4f4d-b06c-acd536fba015        --&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.10.25.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3900iBCA0D73CF0173F8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 13.10.25.png" alt="Screenshot 2023-11-24 at 13.10.25.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;9. &lt;STRONG&gt;Save&lt;/STRONG&gt; your changes and &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Test-your-bot/ta-p/13296" target="_blank" rel="noopener"&gt;test your bot&lt;/A&gt; by clicking the &lt;SPAN class=""&gt;Play&lt;/SPAN&gt; button. Make sure that you have already &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Train-your-AI-bot/ta-p/13516" target="_blank" rel="noopener"&gt;trained&lt;/A&gt; your bot before testing it. Try it out: if a customer makes a mistake, the bot will redirect them to the correct answer until they provide the right customer ID.&lt;!--        notionvc: 03398940-8b29-4462-98d6-73ae9d69e932        --&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-template-content-zone lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 13.21.57.png" style="width: 269px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3901i22C4731DAE2D5F33/image-dimensions/269x608?v=v2" width="269" height="608" role="button" title="Screenshot 2023-11-24 at 13.21.57.png" alt="Screenshot 2023-11-24 at 13.21.57.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Validate-a-user-input/ta-p/13186" target="_blank" rel="noopener"&gt;[New bot builder] Validate a user input&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Detect-entities-in-expressions/ta-p/13559" target="_blank" rel="noopener"&gt;[New bot builder] Detect entities in expressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;[New bot builder] Variables and properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jan 2024 12:25:48 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Chatbot/Collect-input-from-your-user/ta-p/13204</guid>
      <dc:creator>Agatha_Morisca</dc:creator>
      <dc:date>2024-01-02T12:25:48Z</dc:date>
    </item>
  </channel>
</rss>

