How to show my "app action" in google assistant, after user requesting by voice like "Ok Google, make me online"?

259 views Asked by At

Am working on a android project, where user wants to change his status online/offline through voice command. Whenever user says "Ok Google, make me online"

1.My action should be routed to my application context from google assistant, there I can change user status online/offline, is it possible?.

If not possible, can I do like this.

2.Whenever user says "Ok Google, make me online" can google assistant show button with my application icon like this,(but that should be specific for my app)

enter image description here

If above is possible, from the google assistant, I can click on the button and route user to my app, there I can do my task.

can you tell me how can I achieve this?

1

There are 1 answers

2
Bhavesh Patadiya On

It seems you would want to achieve the described usecase using App Actions It not currently available for developer preview, but it will come soon.

You may also want to see this Google IO 2018 Talk HERE describing the same flow you want to achieve.

Hope it helps.