Hi team, I have a requirement wherein I need to remind the user of inactivity after couple of minutes.

Sample conversation:

U : Hi

(say after 2 minutes of inactivity)

B: Hi, you left there? Need help?

What is the best way to achieve this?

You can create an action with the following run method:

def run(self, dispatcher, tracker: Tracker, domain):
        dt = datetime.datetime.now() + datetime.timedelta(seconds=120) 

        return [ReminderScheduled(action_name="utter_need_help", trigger_date_time=dt, kill_on_user_message=True)]

The downside of it is that you need to place this action after every story/intent that you want to check for inactivity.

I used it and implement it. Action doesn’t trigger