Clear session allows you to delete variables and reset the conversation. This is helpful when you want to start a new conversation or remove any stored information from the current session.
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 variables. This is useful when a user asks to correct a value or wants to start over and delete all variables.
The main difference between "close conversation" and "clear session" in a bot builder is as follows:
To clear your session:
See also:
[New chatbot builder] Save a variable under button click