Know when user is online

Not with 100% reliability.
Probably the best you can do is use one or more actions to update a “Last Active” timestamp value in the User Profile row.

2 Likes