title: Alexa Built-In Slot Type: No value being passed
body: <p>I've been having a heck of a time figuring out how to get the Alexa built-in slots to work properly, and I feel like I must be missing something super fundamental. To set things up for you, I'll start on the Testing page of the Developer Portal. I'm using node.js 6.10.</p>
  
  <p>Under the text utterance service simulator, if I type "I need 5 sleep cycles" it generates a request as such:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>  "intent": {
    "name": "SleepCyclesIntent",
    "slots": {
      "number": {
        "name": "number"
      }
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>The result is:  "text": "I now know that you want NaN sleep cycles."
  Note the lack of a "value" field being generated from the utterance. </p>
  
  <p>However, when I manually insert a "value" field in a JSON request, I get the desired output!</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>"intent": {
        "name": "SleepCyclesIntent",
        "slots": {
          "number": {
            "name": "number",
            "value": "5"
          }
        }
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>The result is:  "text": "I now know that you want 5 sleep cycles."</p>
  
  <p>I had everything set up the the default intents editor before when I was having this issue, and I've since switched over to the beta intents editor, hoping that it would fix whatever I might be doing wrong. Over there, under "SleepCyclesIntent" which is sent over to sleep_cycles, I have an utterance "I need {number} sleep cycles", with [number} being a slot type of AMAZON.NUMBER.</p>
  
  <p>For additional reference, in case it's helpful, here's the related chunk of my code over in Lambda:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function sleep_cycles(intent, session, callback) {
      const cardTitle = "Sleep Cycles";
      let repromptText = '';
      let sessionAttributes = {};
      const shouldEndSession = true;
      let speechOutput = '';
      
      let targetCycles = intent.slots.number.value;
      
      speechOutput = "I now know that you want " + targetCycles + " sleep cycles.";</code></pre>
  </div>
  </div>
  </p>
  
  <p>I apologize if this is a really stupid question, but I've been digging through forums and Amazon's Alexa help and google every day for the past week and I just have no idea where else to turn. Any help would be super appreciated!</p>