Deploying and testing Henry's Kitchen

Deploy the code to the same Microsoft Azure App Service where you deployed Alexa code in the last chapter. Now you deployed Dialogflow agent and the web hook and you should be able to test. Here are the steps to quickly test the Henry's Kitchen Dialogflow agent:

  1. Open a browser, FireFox or Chrome.
  2. Log in to https://console.dialogflow.com.
  3. In the left menu, select Integrations.
  4. On the right side, select INTEGRATION SETTINGS and the Google Assistant window will pop out.

The following screenshot shows the Google Assistant popup:

Google Assistant popup
  1. Click Test and a new browser window will open to Actions on Google web page console.
  2. In the left menu, click on Invocation.
  3. On the right side, for Invocation name, put henrys kitchen.
  4. For directory title, put henrys kitchen.
  1. Choose Female 1 as the Google Assistant voice.
  2. Click Save.

The following screenshot shows the complete Invocation settings:

Invocation settings
  1. Go to Simulator.
  2. Test the Henry's Kitchen Dialogflow agent by typing in the following order: Talk to henrys kitchen, I want to cook vegetarian burger, and get more recipes. For each entry, you will hear the responses sent from the webhook.

The following screenshot shows the Simulator:

Testing in the simulator