使用Dialogflow触发自定义警报短语(意图)

时间:2019-03-15 15:33:07

标签: node.js dialogflow webhooks actions-on-google dialogflow-fulfillment

我是Dialogflow的新手,虽然很容易理解,但是我无法通过自定义事件触发Intent。

我要执行的任务是,当在后端node.js webhook中检测到警报时(例如:老板希望完成某件事),Google助手必须向员工发出警报。

我尝试过:

  1. https://dialogflow.com/docs/events/custom-events

  2. https://developers.google.com/actions/assistant/updates/notifications

但是我无法正常工作。

我走对了吗?还是有其他解决方案?

1 个答案:

答案 0 :(得分:0)

推送通知效果很好。我能够以可容忍的delai实时发送通知。

以下链接比Google Actions网站https://yoichiro.github.io/codelabs/actions-updates-and-notifications/?index=codelabs%2F#0

上的链接更详细。