How to Schedule Dialogflow

此生再无相见时 提交于 2019-12-13 20:02:40

问题


I'm making google assistant which is able to play Prayer's Call, gets Prayer timings from the Prayer Api and able to set timing of Prayer as well, using Webhook of Nodejs. The problem is how can I schedule Prayer's Call timings to Dialogflow... like how can i invoke "Play Prayer's Call" intent via Nodejs in given time.


回答1:


It's not possible to call an intent on demand if you want to use google assistant, every message of google assistant, is triggered by an user message, to avoid spam.

Your best approach is to use Notifications which are available for smartphones.

If you're using your custom chat, facebook messenger, telegram, you can indeed achieve that, by calling the intent using the Node.js Dialogflow library.



来源:https://stackoverflow.com/questions/53263634/how-to-schedule-dialogflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!