Hello,
I am working with dialogflow and botcopy integration. Whenever a intent use a webhook, it works fine, and return the response, but my issue is in case the webhook is down, botcopy freezes and stays with 3 dots waiting for the response, how could I solve this when the webhook is down, and no response go through.
Thanks!
Something like: "Sorry could you try again later" in case the timeout is out.
Solved! Go to Solution.
Hi!
There is an event to match webhook failures! Check the docs! https://cloud.google.com/dialogflow/cx/docs/concept/handler#event-built-in
Hi!
There is an event to match webhook failures! Check the docs! https://cloud.google.com/dialogflow/cx/docs/concept/handler#event-built-in
Taking advantage of the fact that we are here, I wanted to ask another question related to the webhook, in the best practices section:
Then where the webhook action is, I have an event handler that it will make a transition if there is a webhook error to the page if_webhook_error
Finally, I have my if_webhook_error page, that it will take the counter in the fulfillment response, and also two conditions, the ❤️ will return to the previous page so I can reuse this pages for every webhook error in that flow. And the =>3 that will end the session.
But I don't understand this part in the documentation:
Is there someone who knows this?
That's correct, I am trying to follow what it said in the best practice section here: https://cloud.google.com/dialogflow/cx/docs/concept/agent-design#webhook-errors
But there is some part that I don't understand like this part:
It this best practice? The previous page will have to have the webhook on the page fulfillment for it to fire on entry.
that depends on the use case. I would suggest most of the same:
it should not be too complex from the user's perspective. When you design a conversation, think about the en user journey and how they are gonna interact with your assistant
Hello,
I have a similar error, Dialoglow CX disconnect the webhook after 6 seconds, and I have configured the webhook timeout in 30 seconds.
What could the issue be? Could you help me to know what happened?
Error calling webhook 'https://xxx-x-webhook.t.com/webhook': State: URL_REJECTED, Reason: REJECTED_DEADLINE_EXCEEDED
This is the error, the request is done before to 30 secods.
Regards!
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |