Leopard Chat Client
  • Quick Start
  • Screenshots
  • Setup
    • Extension Helper
    • Context Variables
      • Greeting Message
      • Channel
      • User's Time Zone
      • Location Context Parameters
    • Build Variables
  • Content Styling
    • CSS Styles
    • Icons
    • Markdown & HTML
  • Components Simple Syntax
  • Components
    • Answer Borders
    • Audio Player
    • Auto Open Leopard with Link
    • Alerts
    • Buttons and Lists
    • Card
    • Response Icons
    • Date & Time Pickers
    • Emergency Button
    • Expensive Operations
    • Field Masks
    • Chat Field Types (Email, Password, Location, Upload)
    • Forms
      • Feedback Form
      • Custom Forms
        • Example Config
        • Postback Object
        • Button Object
        • Field Types
        • Style Object
        • Icons Object
        • Masks
        • Validation
    • Google Map
    • Help Text
    • HTML Modal
    • Hyperlinks
    • Images
      • Image
      • Image Carousel
    • Tables
      • Tables - Simple
      • Tables - Advanced
    • Theme Change
    • Toasts
    • Language Auto Switch
    • Minimize Chat after Delay
    • Multiple Components - Same Response
    • Modal Size & Positioning
    • Open Long Response in Modal
    • Print Icon
    • Prompt Trigger Polling
    • Splitting Answers - Chunks
    • Video Player
  • Administration Area
    • Solution Configuration
    • Demo Mode - iFrames & URLs
    • ASR and TTS
  • Integrations
    • Logging / Reporting
    • Social Authentication
    • Live Chat
  • Embedding / Production
Powered by GitBook
On this page
  • Screenshots
  • Output Parameter
  • Post Back from Leopard
  1. Components
  2. Forms

Feedback Form

You can instruct Leopard to show a feedback form for any output node.

PreviousFormsNextCustom Forms

Last updated 5 years ago

Screenshots

Output Parameter

offerFeedbackForm = 

{
  "rating"  : true,
  "reasons" : [ "Reason 1", "Reason 2" ],
  "nodeId"  : "8d20a808-a4a5-4af1-8b55-5c058ec929f4",
  "label"   : "Feedback?"
}

Post Back from Leopard

When the user fills in the feedback for Leopard will send a request to your TIE with command=feedback and a parameter called feedback. The value for the feedback parameter is a URI encoded JSON string with the following format:

{
  "rating"  : 3,
  "reasons" : [ "Reason 1", "Reason 2" ],
  "comment" : "This answer doesn't look correct",
  "nodeId"  : "8d20a808-a4a5-4af1-8b55-5c058ec929f4"
}

You can look for ?command=facebook in either a pre-processing script or have a trigger in a feedback flow that then grabs the feedback and sets the feedback as flow variables that will then be persisted to Teneo Inquire. Any answer sent back from the flow will be ignored by Leopard.

Feedback for displayed by Leopard
Output Parameter in Teneo