Build a Skill in 20 Minutes
Was your test successful? If so, congratulations! You are well on your way to building an engaging skill. You will be building new skills with compelling conversational voice experiences in no time.
There is still a lot to learn! In Module 4, you'll expand the Cake Time skill to make it more functional and ask a couple of questions.
If your skill isn't working or you're getting some kind of syntax error, download the code sample in Node.js or Python from the following links. Then, go to the Code tab in the Alexa developer console, and copy and paste the code into the index.js file or the lambda_function.py file. Make sure to save and deploy the code before you test it.
Now that you've finished, try a self-test to see how much you remember. Click to expand to see the answer.
1: An "invocation phrase" is:
- A: The welcome speech Alexa gives at the beginning of the skill.
- B: The phrase the user uses to ask Alexa to launch the skill.
- C: The term for any phrase that the user speaks to the skill.
If you said "B," you're correct! The invocation phrase is the name Alexa uses to identify the skill you're requesting. When you say "Alexa, open cake time," your invocation phrase is '"cake time." The entire group of things that a user might say to Alexa is called "utterances."
- A: VUI
- B: data access layer
If you said "VUI," you're not correct. The VUI is what directly interacts with the user. You define that when you design your interaction model to be able to understand and route what the user says. The handlers in the Lambda are your data access layer, and they process the incoming information.
3: What tone should you use when you script responses for Alexa?
- A: Aloof and impersonal.
- B: Friendly and conversational.
- C: Formal and rigid.
If you said "B," you got it! When a user talks to Alexa, the interaction should feel comfortable and casual.
Now continue to Module 4. There you'll learn how to collect slots turn-by-turn with auto delegation to make your skill more conversational.