Search⌘ K
AI Features

Session and Session Attributes

Explore how to manage conversational flow in Alexa Skills by using sessions and session attributes. Understand the session lifecycle, how to keep sessions open or closed, and how to persist user data during interactions to build engaging voice apps.

Often, the goal of an Alexa Skill is to be as conversational as possible. We may want our Skill to involve back-and-forth conversations between Alexa and the user rather than have Alexa say something and stop. Along the way, we may want to collect information from users which will further guide the conversation between Alexa and the user.

This is where the concept of a session and session attributes comes in. ...