How to end Messaging Session from Salesforce Einstein Bot?

1. Create a Dialog or use the existing End Chat Dialog.

2. Use Rules and select End Chat in the Rule Action.


Output: