How to set alternate fallback reply for each bot response

I am building a rasa bot, where the requirement is that bot replies with a different fallback utterance for each question of the bot . For example -

A general conversation will go like this -


bot: Hi user, How are you ?
user: I am fine ( intent - customer_greet)
bot: Can we proceed further ?
user:  Yes you can (intent - customer_affirm)

The feature i want is if the customer says something which doesnt fall in the " customer_greet" intent, then bot should reply - " sorry, please tell how are you feeling today"

For second question, if the user reply doesnt fall in intent “customer_affirm”, then it will reply - " sorry, please let me know if we can chat further ".

Basically, any technique which can help with seperate fallback utterances for each intent. Any help will be appreciable.

You can create a rule that calls a custom action that will utter the desired utterance based when nlu_fallback is triggered. Here’s an example of the rule.

you could use forms. A form can have a “from_intent” slot and will keep prompting until the slot is filled. You can also use form_validation for more control over this.