question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to use match action name of intent of Dialogflow to handler in new SDK v2?

See original GitHub issue

I’m migrating from SDK v1 to v2. And found that new SDK doesn’t catch Dialogflow action names.

app.intent('action-name', handler);

Doesn’t work.

I can match manually action name to handle in fallback handler, but maybe it could be fixed in SDK? And what is the plan for Dialogflow action name, is it deprecated and shouldn’t be used anymore?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
urishcommented, Apr 29, 2018

Same here - this makes migrating to the new version much more complicated and error-prone.

1reaction
yoichirocommented, May 29, 2018

I posted my proposal to add a new method app.action so that developers can register my handler function with an action name as #164.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build fulfillment (Dialogflow) - Google Developers
Click the + sign by the Intents menu item in Dialogflow's left navigation. The Intent Editor appears where you can enter the following...
Read more >
Intents | Dialogflow ES - Google Cloud
When an intent is matched, Dialogflow provides the action to your system, and you can use the action to ... Agent and intent...
Read more >
27 The Dialog Flow Definition - Digital Assistant
OBotML uses a simple syntax for setting variables and defining states. Because it's a variant of YAML, keep the YAML spacing conventions in...
Read more >
IntentsGrpc (java API) - Google APIs
When you pass user input to the [DetectIntent][google.cloud.dialogflow.v2. ... **Events** - allow for matching an intent by using an event name instead of ......
Read more >
Handling Permissions with DialogFlow and Actions On Google
Create an intent that will be triggered by DialogFlow and whose role is to send an action to your application. · In your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found