cancelling 'Set this intent as end of conversation' from webhook

14 views
Skip to first unread message

Kelvin Teoh

unread,
Oct 15, 2021, 5:23:59 PM10/15/21
to Dialogflow Essentials Edition users
Hello,

Because in the event the webhook fails, DF defaults to the configured response, I set each webhook intent to be end of conversation. This is for a call in bot, and I am using the dialogflow-fulfillment library (agent.add(), agent.context.set(), etc...).

My issue is that when I call in, the end of conversation is triggering even though my webhook is successful. How can I cancel the 'end of conversation' through the webhook? 

Jun Lu

unread,
Oct 16, 2021, 3:06:35 PM10/16/21
to Dialogflow Essentials Edition users
Hey Kelvin, 

As per [1], it is the default behavior that the Assistant exits your conversation and plays an earcon. However, you can try to override this behavior and return a last response to avoid immediate exits and you can reference an example at [2].

Reply all
Reply to author
Forward
0 new messages