Learn how to respond to a single request in Google Assistant (Dialogflow) twice.

Asked 1 years ago, Updated 1 years ago, 93 views

I would like to respond twice to requests from users on Google Assistant (Dialogflow).

For example:
===
1. User says "Tell me the weather"

2-1 Reply response1to the user, "I'll check it out, so please wait."
2-2. Dialogflow (Webhook) invokes Weather WebAPI (assuming it will take about 5 seconds)

~5 seconds later~

So I have a question.
(1)Is it possible to return two responses to one request as above?
(2)If possible, please tell me exactly what I should do.
(3)If not, what are your plans to do the above?

google-api google-cloud

2022-09-30 19:25

1 Answers

If you simply open the answer for a few seconds, you can use the break element of SSML, but you can't find any functionality to achieve the "Answer→Process→Answer" you want at this time as far as Actions on Google has published it.

Using Update and Notifications (still Beta) allows the app to actively say something to users, but you must obtain their consent beforehand.Also, the Japanese locale is not working well at this time, so you may need to wait until it stabilizes a little more.


2022-09-30 19:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.