Is it possible to disable a response via webhook fulfillment? I'm using v2 of the DialogFlow API.
I'd like to add a 'live agent takeover' option to our bot -- but can't seem to disable a response when using fulfillment webhooks. I've tried responding to fulfillment with empty, false and null values for fulfillmentText or fulfillmentMessages, but to no avail. When I empty these values DialogFlow simply repopulates with the default text.
{
"fulfillmentText": "",
"fulfillmentMessages": [],
"outputContexts": [
{
"name": "projects/${PROJECT_ID}/agent/sessions/${SESSION_ID}/contexts/context name",
"lifespanCount": 5,
"parameters": {
"param": "param value"
}
}
]
}
Suggestions?