end conversation explicitly
# 🤝help
i
I want to end the conversation when user enters 'no,nope' and similar keywords anywhere in the conversation. I will be creating a hook in After Incoming message to check for these messages. How can I explicitly end the conversation when my condition is satisfied or how can I call conversation end workflow from my hook?
w
I'm sure there are several ways to do this, but I would define an intent (or augment one of the built-in intents such as "no" or "cancel") and use an intent transition card (or expression card defined to behave similarly) to route to a node (or subflow) containing your desired conversation-end behavior
103 Views