Hi there.
There was a bug with the integration, as the server would always send the content of the fulfillmentText property of the Dialogflow payload instead of the more adequate element from the fulfillmentMessages array, that contains the right response from the fulfillment hook.
For the integration to work properly, the fulfillment response must contain an element in the fulfillmentMessages array as follows:
Hi there. There was a bug with the integration, as the server would always send the content of the
fulfillmentText
property of the Dialogflow payload instead of the more adequate element from thefulfillmentMessages
array, that contains the right response from the fulfillment hook. For the integration to work properly, the fulfillment response must contain an element in thefulfillmentMessages
array as follows:This way, the integration will always send the proper message, no matter if it comes from a fulfillment hook, or from Dialogflow itself.