bespoken / virtual-google-assistant

🤖 Easily test and debug Actions on Google programmatically https://bespoken.io
Apache License 2.0
23 stars 10 forks source link

Requests fail in DialogFlow V2 SDK due intent.name #50

Closed jperata closed 5 years ago

jperata commented 5 years ago

Description:

When running a correct script that has the webhook made with virtual-google-assistant

Environment:

Steps To Reproduce

Steps to reproduce the behavior:

  1. Setup a Google action using DialogFlow V2 SDK
  2. Run a test for a specific intent different than the Default Welcome Intent

Expected behavior

Test run correctly

Actual behavior

The following error appears:

Dialogflow IntentHandler not found for intent: Error: Dialogflow IntentHandler not found for intent:

Additional context

This happens because we set the intent.name as a UUID and set the intent name in the intent.displayName, using a filter to set the intent.name to intent.displayName works.