loader
View Categories

Rich messages let you send interactive content like buttons, dropdowns, forms, and more during chat. These can be used in both manual and automated messages to collect user input or guide them through actions.

๐Ÿš€ How Rich Messages Work

  1. Create the message
    Insert a shortcode into the text editor with your details (like title, description, etc.).
  2. The user sees the rich message
    Instead of code, users see a clickable or interactive element (like a form or button).
  3. User submits a response
    Once the user fills it out, they see a confirmation message, and the data is saved.

๐Ÿงฉ Rich Message Types Available

TypeExample Use
CardImage, title, description + call-to-action button.
[card image=”URL” header=”Title” description=”Text” link=”URL” link-text=”Buy Now”]
SliderShowcase multiple cards.
Buttons / ChipsShow options as clickable buttons.
[buttons options=”Option 1, Option 2″]
SelectDrop-down menu of options.
InputsCollect text responses.
Email FormCollect name, email, and phone.
[email name=”true” phone=”true”]
TimetableShow your availability.
ArticlesShow links to help articles.
Lists / TablesDisplay info in list or table format.
VideoEmbed YouTube/Vimeo videos.
ImageDisplay a single image.
ShareSocial share buttons.

Tip: Use Shift + Enter to add a new line in your message.

๐Ÿ”ง Customize Rich Messages

All shortcodes can be customized with:

  • title=”” โ€“ The title shown at the top.
  • message=”” โ€“ A description under the title.
  • success=”” โ€“ Text shown after form submission.
  • id=”” โ€“ ID used to track or save responses.

๐Ÿ”„ Use in Chatbots

To use rich messages in chatbot replies:

  • Go to your Dialogflow intent.
  • Paste the shortcode into the text response.

๐Ÿ“ฆ Where Data is Stored

All rich message responses are saved in your SmartAI database, under:

  • Table: sb_messages
  • Column: payload (in JSON format)

๐ŸŒ Translations

To translate rich messages:

  • Make sure the original text is in English.
  • Go to Settings > Translations > Front End to add your translated version.

โš™๏ธ Custom Rich Messages

You can create static custom messages using HTML by going to:

Settings > Miscellaneous

You can add:

  • Clickable buttons
    <a href=”URL” class=”sb-rich-btn sb-btn”>Click here</a>
  • Images
    <div class=”sb-image”><img src=”URL” class=”sb-image” /></div>

Note: Custom HTML messages are staticโ€”no forms or dynamic fields.

โš ๏ธ Special Characters Tip

If your text includes commas ,, colons :, or quotes “, use a backslash \ before them:
Example: \,, \:, \”

Leave a Reply

Your email address will not be published. Required fields are marked *