When session expires, can Rasa warn user?

I was wondering if it’s possible to make Rasa warn a message to the user after its session has reached the session_expiration_time, something like Hey, I'm closing this ticket for inactivity. If you need anything, just reach me out here!

Is it possible?

Hmm, good question. It might seem counterintuitive, but since the time out triggers “aciton_session_start” I’d modify the default action to send that message when it’s triggered if the tracker isn’t empty.

2 Likes

Thanks for the ideia :slight_smile: Gonna look into that soon.

That would make that any time the session expires and the user tries to type something back, the session should see if there was something before and warn the user. But, how could you warn the user in the very moment the session expires, without any user interference.