Once you have session attributes that persist throughout a session, it’s helpful to save them to a database. The information that is saved within a session can be accessed in subsequent sessions.
In this lesson, you will learn how to persist progress through a deck of flashcards using an AWS DynamoDB database. This will allow us to add long-term memory to a flashcards skill, so a user can resume from where they left off.
Regardless of your familiarity with databases, Alexa SDK’s built-in integration with DynamoDB makes it possible to keep track of user progress between sessions with a single line of code.
Watch the video on the right. Notice the Alexa device remembers information from a previous session.