<?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 Direct handover to an agent for longer user questions in Legacy - Engage Bot</title>
    <link>https://community.sinch.com/t5/Legacy-Engage-Bot/Direct-handover-to-an-agent-for-longer-user-questions/ta-p/19256</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;With the following setting in your chatbot builder you can add another feature to your bot, which gives you the possibility to deactivate your chatbot early. If a user sent a long message describing his issue (in our example below longer than 15 characters), it often makes sense to directly open tickets for an agent instead of running a user through a series of bot-questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this is how it works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two different scenarios: if the user is writing to your company for the first time or the user is a returning user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant A&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(new user): If the user writes his/her request to your company for the first time, you might want to ask him to consent to your data privacy policy before opening a ticket/running the bot. In this case, you will need to save the information on the length of the start message of the user and use it to condition the bot-flow after the user gives his consent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant B&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(old user): The user has been in contact with your company before. In this case, the bot can directly check the length of the user message and decide whether to open a ticket/proceed with the bot flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant A&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) We are in the dialog of the chatbot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first step the topic "Default" is important. Here you can find the welcome message (_start).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="30.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7082iF0E50C36E434425A/image-size/large?v=v2&amp;amp;px=999" role="button" title="30.png" alt="30.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;2) Navigate to the menu "variables" and create a new numeric variable that will later store information on the length of the user message, e.g. with a name &lt;EM&gt;lenghtofstartmessage&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Navigate to the user question "_start."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="31.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7083iC27BE792E7943AF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="31.png" alt="31.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Put a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;special expression&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$lenghtofstartmessage=(length($chat_text$))$&amp;nbsp; which saves the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;length&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the user message ($chat_text$) into a variable $lenghtofstartmessage$ directly into the text-box along with the bot-answer. The command will be run in the background and will not be visible to the user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;3.) Navigate back to the dialogue. In this example, we have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;privacy consent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;built into the bot. So go to the privacy topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="32.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7084i0C33DF5D97A5F74D/image-size/large?v=v2&amp;amp;px=999" role="button" title="32.png" alt="32.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.) Now go to the green arrow to the right of the $consent$ user question and create two conditions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two different conditions you can set:&lt;/P&gt;
&lt;P&gt;Either the message is shorter than 15 characters ($lenghtofstartmessage$&amp;lt;15), then the bot switches to the topic selection menu...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="33.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7085i4BDC0DF8648F291D/image-size/large?v=v2&amp;amp;px=999" role="button" title="33.png" alt="33.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;…or the message is not shorter than 15 characters. Then the message has more than 15 characters and a ticket is created and the bot is disabled (this condition can be left empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7086i85BF519AB1FB5F74/image-size/large?v=v2&amp;amp;px=999" role="button" title="34.png" alt="34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your bot will be deactivated if a user has already described his/her request in detail!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.) In the second case, the user is a returning user who has been in contact with your channel before. Now it is not the welcome message that is important, but the user question "*".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="35.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7087i4EB6A73FB6F03565/image-size/large?v=v2&amp;amp;px=999" role="button" title="35.png" alt="35.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.) You can directly check the length of the message that a user sent you. Navigate to the user question "*".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either the user’s message is shorter than 15 characters. Then, in that case, the selection menu appears…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="36.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7088i17DD4FE41D5F94DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="36.png" alt="36.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;… or not and the message has more than 15 characters. Then a ticket is created and the bot is disabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="37.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7089iEC2F3876B5412E8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="37.png" alt="37.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your bot will be deactivated if a user has already described his/her request in detail!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: If the process is the same for the new&amp;nbsp; and the old user, then the conditions in the _start dialogue should also be as in the "*" dialog.&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Feb 2026 14:40:54 GMT</pubDate>
    <dc:creator>VishalSandhu</dc:creator>
    <dc:date>2026-02-19T14:40:54Z</dc:date>
    <item>
      <title>Direct handover to an agent for longer user questions</title>
      <link>https://community.sinch.com/t5/Legacy-Engage-Bot/Direct-handover-to-an-agent-for-longer-user-questions/ta-p/19256</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;With the following setting in your chatbot builder you can add another feature to your bot, which gives you the possibility to deactivate your chatbot early. If a user sent a long message describing his issue (in our example below longer than 15 characters), it often makes sense to directly open tickets for an agent instead of running a user through a series of bot-questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this is how it works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two different scenarios: if the user is writing to your company for the first time or the user is a returning user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant A&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(new user): If the user writes his/her request to your company for the first time, you might want to ask him to consent to your data privacy policy before opening a ticket/running the bot. In this case, you will need to save the information on the length of the start message of the user and use it to condition the bot-flow after the user gives his consent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant B&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(old user): The user has been in contact with your company before. In this case, the bot can directly check the length of the user message and decide whether to open a ticket/proceed with the bot flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant A&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) We are in the dialog of the chatbot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first step the topic "Default" is important. Here you can find the welcome message (_start).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="30.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7082iF0E50C36E434425A/image-size/large?v=v2&amp;amp;px=999" role="button" title="30.png" alt="30.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;2) Navigate to the menu "variables" and create a new numeric variable that will later store information on the length of the user message, e.g. with a name &lt;EM&gt;lenghtofstartmessage&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Navigate to the user question "_start."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="31.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7083iC27BE792E7943AF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="31.png" alt="31.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Put a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;special expression&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;$lenghtofstartmessage=(length($chat_text$))$&amp;nbsp; which saves the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;length&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the user message ($chat_text$) into a variable $lenghtofstartmessage$ directly into the text-box along with the bot-answer. The command will be run in the background and will not be visible to the user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;3.) Navigate back to the dialogue. In this example, we have&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;privacy consent&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;built into the bot. So go to the privacy topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="32.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7084i0C33DF5D97A5F74D/image-size/large?v=v2&amp;amp;px=999" role="button" title="32.png" alt="32.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.) Now go to the green arrow to the right of the $consent$ user question and create two conditions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two different conditions you can set:&lt;/P&gt;
&lt;P&gt;Either the message is shorter than 15 characters ($lenghtofstartmessage$&amp;lt;15), then the bot switches to the topic selection menu...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="33.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7085i4BDC0DF8648F291D/image-size/large?v=v2&amp;amp;px=999" role="button" title="33.png" alt="33.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;…or the message is not shorter than 15 characters. Then the message has more than 15 characters and a ticket is created and the bot is disabled (this condition can be left empty).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="34.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7086i85BF519AB1FB5F74/image-size/large?v=v2&amp;amp;px=999" role="button" title="34.png" alt="34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your bot will be deactivated if a user has already described his/her request in detail!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variant B&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.) In the second case, the user is a returning user who has been in contact with your channel before. Now it is not the welcome message that is important, but the user question "*".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="35.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7087i4EB6A73FB6F03565/image-size/large?v=v2&amp;amp;px=999" role="button" title="35.png" alt="35.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.) You can directly check the length of the message that a user sent you. Navigate to the user question "*".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either the user’s message is shorter than 15 characters. Then, in that case, the selection menu appears…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="36.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7088i17DD4FE41D5F94DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="36.png" alt="36.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;… or not and the message has more than 15 characters. Then a ticket is created and the bot is disabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="37.png" style="width: 755px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/7089iEC2F3876B5412E8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="37.png" alt="37.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your bot will be deactivated if a user has already described his/her request in detail!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: If the process is the same for the new&amp;nbsp; and the old user, then the conditions in the _start dialogue should also be as in the "*" dialog.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Feb 2026 14:40:54 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Legacy-Engage-Bot/Direct-handover-to-an-agent-for-longer-user-questions/ta-p/19256</guid>
      <dc:creator>VishalSandhu</dc:creator>
      <dc:date>2026-02-19T14:40:54Z</dc:date>
    </item>
  </channel>
</rss>

