matu
matu

Reputation: 36

About how to answer twice in response to a single request in Google Assistant (Dialogflow)

I'd like to respond twice to requests from users with Google Assistant (Dialogflow).

For example:

  1. User speaks "Tell us the weather"

2-1. Reply to the user "I will check it, please wait" [response 1]

2-2. Call WebAPI of weather with Dialogflow (Webhook) (assuming it takes about 5 seconds to process)

~ After 5 seconds ~

  1. Respond to the user "Today's weather is sunny" [response 2]

So there is a question.

(1) Is it possible to return the response twice in response to one request as described above?

(2) If possible, please let me know how to do it concretely.

(3) If impossible, please tell me the plan for realizing the above.

I am in serious trouble, so please give me an answer.

Thanks.

Upvotes: 2

Views: 828

Answers (1)

Bart
Bart

Reputation: 498

You can't send multiple responses to the assistant. Even if it were possible to split a message into multiple chat bubbles the entire message would still have to be send in one go to the assistant.

Upvotes: 2

Related Questions