In the previous section, you successfully migrated the Henry's Kitchen Alexa skill to a Dialogflow agent. For the intents you created, you would need to fulfill the intents' requests from the Node.js server. You will be using the same Microsoft Azure App Service that you set up for handling the Alexa endpoint to also handle the Dialogflow webhook. Most of the code you wrote for the Alexa skill will be reused, but there is code that you must refactor in order to apply it to both Alexa skill requests and Dialogflow agent requests.
Creating a webhook to handle Dialogflow
What code is reused?
Redis will be used for both Alexa and Dialogflow requests to maintain the conversational state. In the beginning of the code...