The Basic Idea

When user clicks on a suggestion chip in the Dialogflow Messenger, you need to make sure that the suggestion chip does not use a link.

A second thing to notice is that once you omit the link, the behavior of the suggestion chip changes. Now when you click on the suggestion chip, the suggestions disappear from the screen. In addition, the text on whichever chip was clicked on will be rendered into the chat window.

A third thing to notice is that when this suggestion chip’s text is rendered into the chat window, at the same time that text is sent to your Dialogflow agent as if the user had typed those words. Obviously, that is a crucial point, because it allows us to anticipate and construct our Dialogflow agent accordingly.

ℹ️ All Courses | ? How to unlock all lessons (free) | ? Live chat