Silvio
Silvio

Reputation: 15

Skill Alexa with personal information

I wish I could have those who download the skill insert a data to be used by the skill. Example: username: joker team: barcelona

and use "joker" and "barcelona" in the skill.

Upvotes: 0

Views: 66

Answers (1)

Greg Bulmash
Greg Bulmash

Reputation: 1957

You can.

Use intents & slots to get the information.

Use the attributes manager and a persistence adapter to remember them between sessions.

Those are all covered in the Cake Time tutorial.

https://developer.amazon.com/en-US/alexa/alexa-skills-kit/get-deeper/tutorials-code-samples/build-an-engaging-alexa-skill

It'll get difficult if you're trying to let them use non-words like "Pwn3dR4t" but with the right carrier phrases you should be able to set up a username intent that lets them say a pretty wide variety of words.

Upvotes: 0

Related Questions