Google action - deep linking [closed]

泪湿孤枕 提交于 2019-12-07 21:14:33

问题


I am implementing app for google assistant . I build simple conversation app with the help of Api.ai tool and it works fine .

Now i want to communicate to my application(Which is installed in android devices) when user trigger particular intent(Created in Api.ai) by saying some text. Guide me to right place to achieve this.


回答1:


For that, you need to use the fulfillment option of Api.ai. You will need to have a webserver for that, not just an Android app.

You first will need to enable the webhook in the Fulfillment tab:

There, you will put an url to your server that performs the action you want. Check the Actions on Google documentation to see how to respond with the correct format to give an answer to your user in the Google Assistant.

Then, you need to go to the particular intent that should trigger your server and enable the Webhook there too:



来源:https://stackoverflow.com/questions/44174764/google-action-deep-linking

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