Can I handle event when user input "BYE"?

(Tô Huy) #1

Hi team,
Can I handle event when user input “BYE”?
Thanks.

(Daniel Beckett) #2

Hi @To_Huy

When a user sends a message like “Quit” or “Bye” during a question the bot uses it as a preset keyword to exit the flow. At the moment this prompts a default response from the bot which can’t be changed.

(Tô Huy) #3

hi @DanielBeckett
I have a question.
I have “Ask a Question”, if user input “End Flow”, I would like the flow has been finish. current, “End Flow” has been answer. Thanks

(Daniel Beckett) #4

The default quit words can’t be modified unfortunately. The only way this scenario would work is if you presented it as one of the answers to the question and then had a message afterwards that said something like "Okay. Bye! with a filter that stops the flow.

(Tô Huy) #5

Hi @DanielBeckett
Can you give me any idea?
I have a 1 bot.
If user want to use it, they must input password.
user must try again until password has been input correct.
Then they can work any thing else, but
If user input “End”, this bot must end flow and start new flow without input password.
Thanks.

(Daniel Beckett) #6

You would need to provide ‘End’ as a choice, for example:

You can then have a follow-up action that sends a message and ends the flow with a filter.

(Tô Huy) #7

Oh, I see. Thank you