DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Building and Deploying a Chatbot With Google Cloud Run and Dialogflow

Trending

  • Where Should a Transaction End? Designing Consistency Boundaries in Distributed Java Systems
  • Member Spotlight: Raghava Dittakavi
  • Data Integration Landscape 2026: Event Streaming, API, and Batch in the Era of Agentic AI
  • You Do Not Need a PhD to Become an AI Engineer: The Essential Skill Stack

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

Create a Rich Message Button in Dialogflow

In this tutorial, we will learn how to add a rich message button in chatbots using Dialogflow.

By 
Devashish Mamgain
·
Mar. 24, 20 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
12.7K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

Rich messages are widely used in chatbots. It provides the user with a faster way to respond just by clicking on the rich message button. Buttons are the most widely used rich message and are used for providing a set of options, surveys, appointment booking, etc.

In this tutorial, we will learn how to add a rich message button in chatbots using Dialogflow.

We will be using the Google Assistant format for this tutorial.

How to Add Rich Message Buttons

Buttons are the most widely used rich messages and are used for providing a set of options, surveys, appointment bookings, etc.

Dialogflow supports rich messages including buttons, links, images, cards, etc.

It provides 2 ways to set the response:

  1. Text Response: Used for text-based messages and works on all platforms
  2. Custom Payload: Custom payload in JSON format for rich messages

Different platforms such as Facebook messenger, Google Actions, Kik, etc. support their own custom payload.

Google Assistant supports the following rich messages:

  • Simple Response
  • Basic Card
  • List
  • Suggestion Chips
  • Carousel Card
  • Browser Carousel Card
  • Link Out Suggestion
  • Media Content
  • Custom Payload
  • Table Card

Suggestion Chips and Quick Replies

Button type rich message is referred to as “Suggestion Chips” by Google Assistant and “Quick Replies” by Facebook messenger.

Go to Dialogflow console, select the intent, and scroll down to Responses. Click on “Google Assistant” to see the list of support rich messages.

Select “Suggestion Chips” and click on “Add Item” to list down the buttons.

Create a Rich Message Custom Response Using Dialogflow


Screenshots from Dialogflow interface

Add Rich Message Buttons to Websites and Mobile Apps

There are many products that provide a plugin to integrate Dialogflow rich messages into your website. Alternatively, create your own custom payload in JSON format, parse the response in your website and mobile apps codebase, and render it on the UI. 

Rich message buttons not only make the interface book pretty, but they also drive more actions from your users and provide a better overall conversational experience.

Dialogflow

Opinions expressed by DZone contributors are their own.

Related

  • Building and Deploying a Chatbot With Google Cloud Run and Dialogflow

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook