Professional Services Templates Capturing task events in event (not action) https://twilio.github.io/twilio-taskrouter.js/Task.html#event:completed__anchor task.on(‘wrapup’, ()=>{}); task.on(‘completed’, ()=>{}); Task list filter by
Category: Twilio
Twilio Local Debugging
Turn on location debugging for all agents in an account: (currently there’s no option to only turn it on for
Twilio Event Streams
Event Streams API Trust that your events will be queued if your system goes down and delivered as soon as
Twilio Chat and SMS Transfers for Flex
Github plugin code: https://github.com/twilio-professional-services/plugin-chat-sms-transfer Twilio UI reference https://assets.flex.twilio.com/docs/releases/flex-ui/1.27.0/ChatOrchestrator.html https://www.twilio.com/docs/flex/release-notes/ui-release-notes
Flex UI Manager Insights Client
Twilio Sync Javascript Client Library APIs: Documents Lists Maps Message Streams Live Query Instant Query https://www.twilio.com/docs/flex/developer/ui/manager#insightsclient Live Query Language https://github.com/twilio-professional-services/plugin-flex-pending-tasks-view
Twilio Flex UI
MainHeader Documentation Components Messaging MessagingCanvas Voice ParticipantsCanvas TeamsView Filters…etc Agent DeskTop View <–very useful
Twilio Useful Links
Connect/disconnect voice client https://twilio.github.io/twilio-client.js/classes/voice.connection.html Turn on dual channel recording using studio flow widget https://www.twilio.com/docs/flex/developer/insights/enable-dual-channel-recordings IVR reporting Using Studio and Flex
Twilio how to check active tasks within a chat channel
https://www.twilio.com/docs/taskrouter/api/task Use evaluateTaskAttributes:`channelSid==’CHXXXXX’` Then look at the return json “assignment_status”: “pending”<– it would be complete if task is finished
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 example code repositories
https://github.com/quickstark https://github.com/TwilioDevEd/api-snippets https://github.com/twilio/flex-webchat-ui-sample https://github.com/orgs/twilio-contact-center/repositories https://www.twilio.com/labs https://hookdeck.com/guides/platforms/post/twilio-webhooks-features-and-best-practices-guide#twilio-webhooks-features https://github.com/twilio-professional-services/plugin-team-view-filters who hangs up first https://github.com/kaiquelupo/flex-conversations-hangup-by/blob/master/src/ConversationsHangupByPlugin.js using task_router, token, reservation create https://twilio.github.io/twilio-taskrouter.js/index.html Tutorials https://www.twilio.com/docs/tutorials?filter-language=Node