MainHeader Documentation Components Messaging MessagingCanvas Voice ParticipantsCanvas TeamsView Filters…etc Agent DeskTop View <–very useful
Tag: Twilio Flex
Twilio Flex debugging
Using Chrome Debugger breakpoint in minified Javascript The Configuration Object is stored in Configuration REST API in its ui_attributes property.
Twilio Flex Manager
Documentation: https://www.twilio.com/docs/flex/developer/ui/manager On Connect Flex.Manager.getInstance().voiceClient.on(‘connect’, () => { console.log(‘connect’); }); Action inside reservation Flex.Manager.getInstance().workerClient.on(“reservationCreated”, reservation => { if (reservation.task.taskChannelUniqueName ===
Twilio Flex Plugin
# create new plugin state-warning twilio flex:plugins:create plugin-state-warning –install To login to Flex, first login to Twilio console, select the
Twilio Flex Insight
Data Model A complete list of attributes Insights extracts attributes from the following events: reservation.created reservation.rejected reservation.timeout reservation.canceled reservation.rescinded reservation.completed
Twilio Flex Set Worker Attribute
Example of setting custom worker attribute in Twilio Flex if (Flex.Manager.workerClient.attributes){ let preAttributes = manager.workerClient.attributes; preAttributes.test1 = “value1”; preAttributes.test2 =