<?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 Clear the session in Chatbot</title>
    <link>https://community.sinch.com/t5/Chatbot/Clear-the-session/ta-p/13221</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;Clear session allows you to delete &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Save-a-variable-under-button-click/ta-p/13176" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; and reset the conversation. This is helpful when you want to start a new conversation or remove any stored information from the current session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, a train booking bot could end by saving a train ticket in the ticket ordering system. Afterwards, users should be able to book a new ticket to a different location. You can achieve this with the 'clear session' action, which removes the values of set session &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt;. This is useful when a user asks to correct a value or wants to start over and delete all variables. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main difference between "close conversation" and "clear session" in a bot builder is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="inherit"&gt;&lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt; Please avoid using Close Conversation as it's not &lt;/FONT&gt;functional.&lt;FONT face="inherit"&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--         notionvc: e360a089-5c8b-4964-a290-f013afaf03db         --&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 16.52.29.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3910i07ACBF57468AD82C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 16.52.29.png" alt="Screenshot 2023-11-24 at 16.52.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Clear session&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp; allows you to reset the conversation within the same session. It deletes &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; and stored information from the current session, but keeps the chat session open for further interaction. This is useful when you want to start a new conversation or remove any stored information, while still allowing the user to continue chatting.&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;P&gt;To clear your session:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open your &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;.&lt;/LI&gt;&lt;LI&gt;Add an &lt;STRONG&gt;Action&lt;/STRONG&gt; step, choose &lt;STRONG&gt;Clear session&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Under&lt;STRONG&gt; Clear variables&lt;/STRONG&gt;, choose the &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; that you would like to erase.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt; your changes.&lt;/LI&gt;&lt;/OL&gt;&lt;P&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 16.50.32.png" style="width: 713px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3909iAE4AC8A14AAFB882/image-dimensions/713x419?v=v2" width="713" height="419" role="button" title="Screenshot 2023-11-24 at 16.50.32.png" alt="Screenshot 2023-11-24 at 16.50.32.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Save-a-variable-under-button-click/ta-p/13176" target="_blank" rel="noopener"&gt;[New chatbot builder] Save a variable under button click&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Add-collect-input-in-your-flow/ta-p/13204" target="_blank" rel="noopener"&gt;[New chatbot builder] Add Collect input to your flow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/WhatsApp/How-long-does-a-WhatsApp-session-last/ta-p/6847" target="_blank" rel="noopener"&gt;How long does a WhatsApp session last?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;!--         notionvc: e49a9a71-d43a-4bc1-b8e9-c44ed794a796         --&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Feb 2024 15:11:49 GMT</pubDate>
    <dc:creator>Agatha_Morisca</dc:creator>
    <dc:date>2024-02-06T15:11:49Z</dc:date>
    <item>
      <title>Clear the session</title>
      <link>https://community.sinch.com/t5/Chatbot/Clear-the-session/ta-p/13221</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;&lt;P&gt;Clear session allows you to delete &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Save-a-variable-under-button-click/ta-p/13176" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; and reset the conversation. This is helpful when you want to start a new conversation or remove any stored information from the current session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, a train booking bot could end by saving a train ticket in the ticket ordering system. Afterwards, users should be able to book a new ticket to a different location. You can achieve this with the 'clear session' action, which removes the values of set session &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt;. This is useful when a user asks to correct a value or wants to start over and delete all variables. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main difference between "close conversation" and "clear session" in a bot builder is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT face="inherit"&gt;&lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt; Please avoid using Close Conversation as it's not &lt;/FONT&gt;functional.&lt;FONT face="inherit"&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;!--         notionvc: e360a089-5c8b-4964-a290-f013afaf03db         --&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-24 at 16.52.29.png" style="width: 400px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3910i07ACBF57468AD82C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-24 at 16.52.29.png" alt="Screenshot 2023-11-24 at 16.52.29.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Clear session&lt;/SPAN&gt;&lt;/STRONG&gt;:&amp;nbsp; allows you to reset the conversation within the same session. It deletes &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; and stored information from the current session, but keeps the chat session open for further interaction. This is useful when you want to start a new conversation or remove any stored information, while still allowing the user to continue chatting.&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;P&gt;To clear your session:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open your &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;.&lt;/LI&gt;&lt;LI&gt;Add an &lt;STRONG&gt;Action&lt;/STRONG&gt; step, choose &lt;STRONG&gt;Clear session&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Under&lt;STRONG&gt; Clear variables&lt;/STRONG&gt;, choose the &lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Variables-and-properties/ta-p/12280" target="_blank" rel="noopener"&gt;variables&lt;/A&gt; that you would like to erase.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt; your changes.&lt;/LI&gt;&lt;/OL&gt;&lt;P&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 16.50.32.png" style="width: 713px;"&gt;&lt;img src="https://community.sinch.com/t5/image/serverpage/image-id/3909iAE4AC8A14AAFB882/image-dimensions/713x419?v=v2" width="713" height="419" role="button" title="Screenshot 2023-11-24 at 16.50.32.png" alt="Screenshot 2023-11-24 at 16.50.32.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See also:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Save-a-variable-under-button-click/ta-p/13176" target="_blank" rel="noopener"&gt;[New chatbot builder] Save a variable under button click&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/Chatbot/New-bot-builder-Add-collect-input-in-your-flow/ta-p/13204" target="_blank" rel="noopener"&gt;[New chatbot builder] Add Collect input to your flow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sinch.com/t5/WhatsApp/How-long-does-a-WhatsApp-session-last/ta-p/6847" target="_blank" rel="noopener"&gt;How long does a WhatsApp session last?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;!--         notionvc: e49a9a71-d43a-4bc1-b8e9-c44ed794a796         --&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Feb 2024 15:11:49 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Chatbot/Clear-the-session/ta-p/13221</guid>
      <dc:creator>Agatha_Morisca</dc:creator>
      <dc:date>2024-02-06T15:11:49Z</dc:date>
    </item>
  </channel>
</rss>

