This plugin add tasks / workers statistic to any Flex view. This plugin uses the Flex's insightsClient
, the LiveQuery
and InstanQuery
classes and the Live Query Language to fetch Tasks / Workers statistic. That means that no backend deployment is needed to make this plugin works.
Make sure you have Node.js as well as npm
. Twilio CLI supports Node >= 10.12 (and recommend the even versions of Node).
- Install the Twilio CLI following the instruction on the Twilio CLI Quickstart
- Install the Flex Plugin CLI following the instructions on the Install Flex Plugins CLI
- Install dependencies
npm install
- Select (or add) your Twilio Flex project to the Twilio CLI
$ twilio profiles:use
- Deploy the plugin
$ twilio flex:plugins:deploy
- Follow the instructions provided by the
deploy
command to create a release
In the demo below you can see how the Tasks status and the available agents counters change during the lifecycle of a task