If you need to access the session in a microflow, you can retrieve it using the current user token. In a microflow, use the retrieve activity by association and expand "currentUser". From here, you can retrieve the list of sessions.
You can also use an inheritance split to cast the current session.
Here is an example that does that.
Hope this helps!