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
  1. Components

Prompt Trigger Polling

If you have dialog flows with Prompt Triggers then Leopard can poll your TIE at a configurable interval. Polling is disabled by default but can be enabled and configured in the Solution config.

PreviousPrint IconNextSplitting Answers - Chunks

Last updated 5 years ago

Leopard sends no user input when polling. It does add acommand=promptrequest parameter to each poll request.

Your Teneo solution must return the number of active flows to Leopard for every request. This is needed so that the polling is only active when there are no active flows (you are not mid dialog)

Post Processing
_.putOutputParameter("numActiveFlows", "" + _.getActiveFlows().size())

Screenshots

A catch all flow that handles every poll request
A contrived flow with a Prompt Trigger that only executes when the current minutes are even numbers
Answers form Flows triggered via Prompt Triggers showing in Leopard