How to implement bot session timeout?

How to create a session timeout such that any prior quick replies or flows will reset and cannot be used again?

For example: If a user is in a payment flow and is inactive for 20 minutes, I want the flow to continue from the beginning with a session timeout notification.

1 Like

Can anyone give a solution for this issue, or any work around for this?

In Studio - Event hub - User inactivity events, you can display message if user is Idle for 20 minutes.

But to reset the flow after 20 mins, I think you need to add funciton node to check date of message received and current time and continue the required flow.