var Alexa = require('alexa-sdk');

var APP_ID = 'amzn1.ask.skill.85ae7ea2-b727-4d2a-9765-5c563a5ec379';

var SKILL_NAME = 'Snack Overflow';
var POSSIBLE_RECIPIES = [ 'Chicken Parmesan', 'Spaghetti', 'Turkey Sandwich' ];

exports.handler = function(event, context, callback) {
   var alexa = Alexa.handler(event, context, callback);
   alexa.registerHandlers(getRecipieHandlers);
   alexa.execute();
};

var getRecipieHandlers = {
   'whatShouldIMakeIntent': function() {
       var recipieNum = Math.floor(Math.random() * POSSIBLE_RECIPIES.length);
       
       this.emit(':tell', POSSIBLE_RECIPIES[recipieNum]);
   }
};


@@ -155,16 +155,14 @@
 ECIP
-I
 ES = %5B
- 
 'Chi
@@ -211,10 +211,124 @@
 ich'
- 
 %5D
+;%0A%0Avar WORKFLOW_STATES = %7B%0A    START : 1,%0A    RECIPE_GIVEN : 2%0A%7D;%0A%0Avar currentWorkflowState = WORKFLOW_STATES.START
 ;%0A%0Ae
@@ -384,16 +384,17 @@
 k) %7B%0A   
+ 
 var alex
@@ -438,16 +438,17 @@
 lback);%0A
+ 
    alexa
@@ -465,34 +465,75 @@
 andlers(getRecip
-i
 e
+Handlers);%0A    alexa.registerHandlers(util
 Handlers);%0A   al
@@ -527,16 +527,17 @@
 dlers);%0A
+ 
    alexa
@@ -564,17 +564,16 @@
 getRecip
-i
 eHandler
@@ -631,25 +631,24 @@
    var recip
-i
 eNum = Math.
@@ -683,17 +683,16 @@
 LE_RECIP
-I
 ES.lengt
@@ -706,72 +706,876 @@
     
-%0A       this.emit(':tell', POSSIBLE_RECIPIES%5BrecipieNum%5D
+currentRecipe = POSSIBLE_RECIPES%5BrecipeNum%5D;%0A%0A       this.emit(':tell', %22Would you like to make %22, currentRecipe);%0A       currentWorkflowState = WORKFLOW_STATES.RECIPE_GIVEN;%0A   %7D%0A%7D;%0A%0Avar utilHandlers = %7B%0A    'affirmativeIntent': function () %7B%0A        doAffirmativeAction();%0A    %7D%0A%7D;%0A%0Afunction doAffirmativeAction() %7B%0A    switch (currentWorkflowState) %7B%0A        case (WORKFLOW_STATES.START):%0A            break;%0A        case (WORKFLOW_STATES.RECIPE_GIVEN):%0A            tellRecipe(currentRecipe);%0A            break;%0A    %7D%0A%7D%0A%0Afunction tellRecipe(recipe) %7B%0A    /*%0A    this.emit(%22:tell%22, %22You will need%22);%0A    for (var i = 0; i %3C recipe.ingredients.length; i++) %7B%0A        this.emit(%22:tell%22, recipe.ingredients%5Bi%5D.quantity, %22of%22, recipe.ingredients%5Bi%5D.name
 );%0A   
+ 
 %7D%0A
-%7D;%0A%0A
+%0A    for (var i = 0; i %3C recipe.steps.length; i++) %7B%0A        this.emit)(%22:tell%22, recipe.steps%5Bi%5D);%0A    %7D%0A    */%0A%7D

Add in state-based logic for switching between Alexa commands.