Block keyboard on specific interaction trigger

(Viral Tps) #1

Hello, I have an issue about restarting of the chat.
When my flow is ended and I send some message then the flow will starts again.
I want to prevent the input after flow ends or any specific interaction.

Please check below demo image for better understanding.
image

(Karen Barker) #2

Hi @Viral_tps,

Unfortunately there is no option to be able to stop user input from triggering a flow.

There are a couple of things you could perhaps do however.

  1. Start your flows with a New Message trigger as opposed to a catchall trigger - this means a flow will only trigger if the user sends a known keyword as opposed to any message.
  2. Set an attribute during the flow which and then filter the flow trigger on this attribute not being set. This way if a user has run through a flow even if they do type something the flow won’t trigger again. However you have no way to really update this attribute later if you do need to let a user trigger a flow again.
(Viral Tps) #3

Hi @KarenBarker ,
Thanks for reply.
Actually I am not getting you, can you describe steps?

In above image, I want to restrict it only for this last message card as it is the last trigger.
In my flow there are multiple type questions like choice and text both. So want to restrict for only this.