question

fsfitz131 avatar image
fsfitz131 asked

What information does a developer receive?

Im trying to develop an Alexa skill either for the Echo Dot or the Echo show. But, I've been having trouble figuring out what kind of information the user and the developer receives back / can see.

For example, I'm looking into making a quiz/test skill. If I do, can either I (the developer) or the user be able to view their overall test results later on? Can either I or them see which questions they answered wrong and which they answered right?

echoecho showamazon developer portal
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

meep avatar image
meep answered

It's up to you as developer to determine what information you track, store and report back to the user.

You can store transient information in the session object but that survives just as long as the session is open. Once your skill is closed, it's gone.

You can use more permanent storage such as a database to keep track of data on a more permanent basis. Combined with account linking, this can be a very powerful tool and give the user access to persistent data and all you can build with that.

It certainly sounds like you need to have a good read of the documentation, starting with getting started and going from there. There are no quick answeres here - you need to get to know how skills development works, what data is passed back and forth between the user device and the skill and how the developer can use and build on that to make an immersive and useful skill.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

fsfitz131 avatar image
fsfitz131 answered

Hey meep, thank you for the insight. I've been going through the documentation and cannot find the article that backs this up. Could you help me get to the right documentation for this?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

meep avatar image
meep answered

Hi @fsitz131

The best place to start would pprobably be the example projects, references on this page.

https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/using-the-alexa-skills-kit-samples

There are examples illustrating both databse storage and session management. (see the 'programming concepts' section)

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.