On CUSTOM KEYWORD like "hi" start exit the current task and start a fresh match of task

(Tabish Khan) #1

Hi Team,
I want to use CUSTOM KEYWORD like “hi” to be of higher priority so that i can prompt user specific message from anywhere in the any flow.

(Subrahmanyam Donepudi) #2

@tabish13khan If your requirement here is to discard the current task and switch to the new task (without notifying the user), the below configuration at hold and resume under settings should help.


  1. To achieve this, create a dummy dialog of type hidden.
  2. Provide the keywords as utterance to the dummy task.
  3. Train the bot on ML utterances.
  4. You could have the message which needs to be presented as a message node.
  5. Now make changes at the hold & resume as suggested earlier.

Please let me know if the proposed solution works. :slight_smile:

(Tabish Khan) #3

@Subrahmanyam I have created the dummy task and updated the hold and resume option as instructed by youimage
image%20(1) image%20(2)

This is the entity i have set in the dummy task as user message
“I can help you with transaction status , and more.”

On input “main menu” from middle of other task unable to get the main menu.

(Subrahmanyam Donepudi) #4

Hi @tabish13khan, I created a bot with the tasks “Contact details” & “Main menu” to demonstrate the solution. Please refer to the below configuration.

  1. I have a task contact details which prompts the user to enter mobile number
  2. I have created a main menu task which shows a msg to the user as below:
  3. I have added the utterance “Options list” at main menu task and trained the bot.
    4)I have updated the hold & resume settings to discard current task and switch to new without notifying user .
    5)Executed the bot on bot builder and below snip show the behavior at Hold & Resume.


archived #5