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 Likes

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

4 Likes

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

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

3 Likes

Hi,

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

4 Likes