How can I add 2 intents for a button?

Hi, @MuraliChandran14. Thank you very much for your suggestion. My bot is designed such that, on start of a new conversation it gives a welcome response. So when I click the start a new conversation button, it should

  1. Delete all chat history in the UI window.
  2. Reset all slots.
  3. Invoke greet response.

So, I have to use create a custom action and use

return [Restarted()] from rasa_sdk.events import Restarted

But, like we are guessing, once Restarted() is invoked, the story stops as the bot is forgetting the story and next actions.

As u suggested, I overcame this by writing those greet responses before calling Restarted().

2nd and simple way:

I found that I need not write a custom action for this. I can use default action - action_restart in my story. I can simply write my story like this.

image

Once again, thank you very much!! for your time.