Bot should prompt when user leaves the page or pop up when the user is on a page for sometime

Hi Team,

Could you please help us how to enable this - “Bot should prompt when user leaves the page or pop up when the user is on a page for sometime”

Thanks,
@sindhu , @Jaya_Banbah , @vadimgg