I was wondering on how to stop a flow while it is running? is there a way to detect if during a flow a specific word has been said and so it will just stop the flow? thanks
How to stop a flow while it is running?
There are some preset words that can be used for this:
Quit
Bye
Either of those will end the current flow if itâs sent to the bot.
the bot flow i made is that it gets triggered and every few minutes the bot will post a msg
i said quit and bye in the channel room, but not working ?
yes
and nothing is working⌠quit, bye⌠the flow continues.
Even if i turn of the flow off, it does not stop !! stays active on slack !
Do you have any kind of loop setup in your flow, i.e. using the Label and GoTo Label actions?
Quit / Bye work whenever the flow is waiting on a question response but if youâre inside a loop without a question the behaviour is a bit different. You would need another flow with a new message trigger (something like âStopâ) so that you could set an attribute for âStopâ and then inside your loop check on each pass whether the attribute is set or not, if it is, end the loop / jump to the end of your flow and then reset the attribute back to empty.
If youâre still having trouble please email the support team:
support@flowxo.com
If you can include a share of your flow that would also be very helpful!
Thanks,
Dan
Hi,
Iâve the same problem with the fllow.
Stop, quit, bye etc does not automatically exit the user from the current question and flow on web messenger. It does work on flow xo test console. Iâve âOverhear buttonâ but no change.
Can you pls write me the solution to quit the chat anytime the user type skip or bye
Thanks
Hi @asen
What language is your bot set to use in the bot settings?
Thanks! I got it! âQuitâ and âByeâ does end the conversation but âStopâ doesnât. And is there any way i can change the botâs response to it?
The current interaction quits either on timeout, or if the user enters a recognised quit keyword (âquitâ, âexitâ, âgoodbyeâ, âbyeâ, or âendâ).
Unfortunately the list canât be altered so you canât add âStopâ as a global quit keyword. If the user is answering a question then you could add filters to check whether theyâve said âstopâ and if so end the flow. This would need adding to every question though.
Once the user quits a flow they will receive a default message based on the language that the bot is set to. At the moment this canât be changed to use custom text.
I found it really difficult to find this info just searching the internet, so it would be helpful to add this to the documentation somewhere. Bye! can seem a bit abrupt and it would be nice to have an option to change this. Also, would it be possible to close the chat window on a web chatbot on Exit? I really like the product though - great work to the team on building a user-friendly app and appealing app.
Thanks for the suggestion - I agree this should be more prominent in our docs, weâll work on that. And it is also frequently requested to make this âstop wordâ customizable, so that is on our roadmap, but I donât have a timeline or ETA just yet.
Iâm interested in this functionality also from a debugging perspective, not even necessarily from an end-user perspective.
I just got into a situation where I was forked off a flow that was looping (to send reminders), and the main flow died, and then I didnât have a way to kill the other flow. It would be great to in the Interactions UI to just be able to force-kill a flow.
The workaround Iâm planning is to register the sub-flowâs id, and when the user starts fresh or tries to stop something, to explicitly cancel that id.