Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX : Webhook fullfillment Callout twice times(Negative test case scenario http code 500)

Hi 
I am working on a dialogflow cx agent using webhook fullfillment for integration with microservices and Core System.

During testing period .  I have negative scenario test. such as API down / unavailiable .  Dialogflow CX will callout webhook to create case in Salesforce System.

We found 2 cases created and found 2 logs in kibana.

Automatic retry / twice callout.   Is default behaviors on a dialogflow cx?  or any settings that can be configured

Only http 500 twice callout

Thank you.

3 3 243
3 REPLIES 3

you can have a transition to another page in a webhook depending on the webhook response. this probably will help you with that issue: https://cloud.google.com/dialogflow/cx/docs/concept/handler#event-built-in

Thank you , Now we implementing a transition page and split microservices . It's works.

Auto retry callout , Im not found in any official documents.

 

Hi,

there is no official documentation, you just need to check the webhook errors as events and transition to the same page