rpaix helprpaix help

AIX

home/Documentation/AIX
Expand All Collapse All
  • Getting Started
    • Creating an Account
    • Installing the AIX widget onto a website
    • Modifying the appearance of the AIX widget
    • Optimal Configuration
    • Manage Users
      • Manage Agents
      • Information
  • Manage Conversations
    • Text Editor
      • Merge Fields
    • Rich Messages
    • Attachments
  • Settings
    • Office Hours
    • Articles
    • Departments
      • Department Settings
      • How it works?
      • How to assign a department
    • QUEUE
    • Routing
    • Manual Routing
    • Email Piping
    • Pusher
    • Direct Messages
    • Automations
    • Newsletter
    • Amazon Web Services
    • Saved Replies
  • Setup and usage
  • Notifications
    • Email Notifications
    • Push Notifications
      • Activation
      • Users Activation
      • Information
      • Push notification for admin and agents
    • Desktop Notifications
    • Text Message Notifications
      • Activation
      • Information
    • Sound Notifications
  • Google
    • Synchronization
    • Dialogflow
    • Dialogflow Actions
    • Dialogflow Fulfillment
    • Dialogflow Information
    • Human Takeover
      • Human Takeover Option
      • Manual Human Takeover
      • WhatsApp, Messenger, Telegram,
    • Information
      • Dialogflow Response
      • User Attachment
      • Bot Attachment
      • Rich Messages
      • Rich message response
      • Dialogflow chatbot optimization
      • Sequential survey
      • Bot Training
      • Department Linking
      • More Information
    • Smart Reply
      • Bot Suggestions
      • Agent Assist Suggestions
      • Information
    • Automatic Translation
    • Multilingual
    • Google Search
      • Entities
      • Information
  • OpenAI
    • Synchronization
    • Settings
    • Training
  • ARTIFICIAL INTELLIGENCE
    • Human Takeover
    • Smart Reply
    • Optimal configuration for the chatbot
  • Tickets
  • Security
  • WhatsApp
    • 360dialog Account Setup
    • Templates
      • Language Codes
    • Twilio Account Setup
    • Fallback messages
    • More Information
  • Messenger
    • Instagram
    • More information
  • X (Twitter)
  • Telegram
  • Slack
    • Synchronization
    • Manually archive channels
    • Departments Linking
    • User Fields
    • Information
  • Zendesk
  • WeChat
  • Zapier
  • Progressive Web App
  • Keyboard Shortcuts

Rich message response

12 views 0 November 12, 2022 Updated on October 16, 2023 rpaix-chat-team

When the user interacts with rich messages via the AiX (e.g., by clicking a button), the rich message response is sent to Dialogflow in the following format: ID|response, or ID if the rich message type is registration, email, follow up, in this case, the rich message values are sent as an array in the queryParams[‘payload’] key. ID is the rich message ID, which can be set by adding the attribute id=”YOUR-ID” to the shortcode. 

If no ID has been set, a random ID will be used instead. Response is the input or selection of the user. To block Dialogflow from replying to a rich message, add a new intent with ID as the only user expression and no response.

Suppose the user interacts with the chatbot via a messaging app (e.g., WhatsApp). In that case, the response of the rich message does not contain the rich message ID, and Dialogflow contexts must be used to allow Dialogflow to understand which Intent to activate for a specific rich message response.

Get rich message response for registration, email, follow up

  • From the Left menu > Fulfillment enable Webhooks; you only need to enter the URL of the file that will receive the Dialogflow webhook data.
  • Create an Intent with the ID of the rich message; for the registration form, enter registration; for the follow-up form, enter sb-follow-up-form; for email, forms, enter email.
  • Enable the Fulfillment of the Intent
  • You’re done! The file of the webhook URL will receive the AIX rich message user details.

PREVIOUS < Rich Messages

NEXT > Dialogflow Chatbot Optimization

Was this helpful?

Yes  No
Related Articles
  • Keyboard Shortcuts
  • Progressive Web App
  • Setup and usage
  • Language Codes
  • Templates
  • Security

Didn't find your answer? Contact Us

Previously
Rich Messages
Up Next
Dialogflow chatbot optimization
© 2023 rpaix.com. All Rights Reserved.