04 How to generate the Image response

Dialogflow Messenger Rich Responses

You can also display images inside the web chat window in the Dialogflow Messenger.

However, the image auto-resizes to fit the width of the window, so small images get expanded and look distorted.

Larger images generally tend to look better.

Add a new intent called show.image.type in your Dialogflow agent as below. Now test the response in the chat widget.

Don’t like editing JSON by hand? Use my visual custom payload generator tool:


About this website

I created this website to provide training and tools for non-programmers who are building Dialogflow chatbots.

I have now changed my focus to Vertex AI Search, which I think is a natural evolution from chatbots.

Note

BotFlo was previously called MiningBusinessData. That is why you see that watermark in many of my previous videos.

Leave a Reply