In this lesson, you will add slots to a skill so a user’s response can be captured and evaluated by Alexa.

A slot is an argument to an intent that gives Alexa more information about that request.

For example: “Alexa, ask History Buff what happened on June third”. In this statement, “June third” is the value of a date slot that interprets the request.

The Lambda function for a Popular Language skill, that you may recognize from Codecademy’s Speak, Listen, & Reprompt lesson, is provided in index.js to the right. The Lambda function currently provides for a static dialogue that does not evaluate user input.

We will use slots to capture user input and update our Lambda function to evaluate it, and respond based on the input received.

We will start the next exercise by creating the interaction model for our skill.


Look at the Lambda function to the right. You will update the LaunchRequest and LanguageIntent so Alexa deliver’s appropriate speech output to a user’s response.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?