Close Chat for Chat Widget
ChatBot.com

luiza jurczyk

Last update:

When your bot collected all leads and said the last word, you can end the chat using the close chat action.

The close chat action terminates ongoing chat session and prevents users from sending messages. The chat cannot be continued or modified. Instead, users can initiate a new conversation with cleaned contexts and attributes by clicking Start the new chat button.

This action is designed for Chat Widget only. It means that if you use the story with other integrations, Close Chat will be ignored.

How to use the close chat action

Make sure that this is the right moment to close the chat. For example you can create a separate interaction named “End chat,” triggered by keywords such as “bye,” “thanks for your help” etc.

  1. Go to the interaction that ends the chat. Click the Chat Widget icon to see available actions. Close Chat Widget
  2. Add the Close Chat action to your bot responses. Close Chat Widget
  3. Remember to place this action at the end of the responses. Actions and responses placed below Close Chat won’t be triggered. Close Chat Widget

Go to next article arrow_forward