Video tutorial: Resume Prompts & Session Management
This tutorial will help you understand how you can control the behaviour of your Alexa skill for returning users. You will learn how to:
- Make every session a new session
- Have your skill pick-up from the user's last session
- Give the user the option to restart, or continue their last session
All of this tutorial will take place in the Settings menu on your Voiceflow Canvas page. You can access the Settings for your Alexa skill by clicking on the gear icon in the top right.
Make every session a new session
When you make every session a new session, all the variables in your skill, and the user's actions in the last session will be wiped. Your skill will act as though this user is a brand new user.
This is useful when your skill is a service about speed such as booking hotels, or ordering a pizza.
To enable this setting simply hit the toggle switch labeled "Restart Every Session" to 'ON'.
Make your skill start from where the user last was
With Voiceflow you can choose to have your user start from where they last ended their previous session in your skill. For example, if you are an interactive stories skill and had a user who left at Chapter Two, you could have the user automatically start again at Chapter Two the next time they open the skill.
To do this, turn 'Restart Every Session' to 'OFF'.
Give users the choice to restart, or resume
Sometimes you may want to give users the choice whether to restart their session, or resume. You can do this with Voiceflow using the 'Resume Prompt' function within the 'Advanced' section of your project settings.
Within this section, you can enter a custom response you would like Alexa to greet returning users with when they re-open your skill, and have a previous session log. Similar to a Speak block, you may either enter Text or have Alexa play a pre-recorded MP3 file.
This prompt is looking for a 'Yes' or 'No' answer. You should guide your 'prompts' to ask the user for a Yes or No answer. For example, these are proper prompts:
- Would you like to resume your current story?
- Would you like to continue with your previous session?
- Would you like to continue your current search?
That's it! If we missed anything, or you still have questions, feel free to message our team using the blue intercom bubble in the bottom right corner.