I am using web messenger in which a dialogflow bot is added and deployed on a web page. The json for quick reply buttons is added as custom payload in dialog flow.
Attached are the screenshots. 1st screenshot shows the custom payload and text response below it added in dialog flow.
2nd screenshot shows the output after implementing it, here the text response comes first and the content of custom payload is displayed after the text.
But I want the text response to come after/ below the quick reply buttons in web messenger.
Please guide me on this, why does the text response comes above the content of custom payload, even though its added after the payload is specified.
It looks like there are two things happening. It does appear that the Agent says message is being sent before the Custom Payload. However, by design, Messenger only shows quick reply buttons for the most recent message. If the ordering matched what is in the bot, I would expect to see the "You can select..." message followed by "We are unable to accept..." with no quick reply buttons between.
Hello @Mansi_Dhawas - in this scenario, how you expect the User Experience to look like? Having an additional message "after" the list of Quick Replies doesn't seem like a common pattern: normally the choice of Quick Reply is the last visible request in the transcript, so that End-User has a clear call-to-action. In your example, could you not simply show the additional text before or after the "You can select from the options below" message?