Close Chat for Chat Widget

Luiza Jurczyk
1 min read
updated: Feb 12, 2020

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 chat 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.
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

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required