Turn on location debugging for all agents in an account: (currently there’s no option to only turn it on for
Author: Yvonne Lu
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
NodeJS set time out for an API call
https://stackoverflow.com/questions/63248292/how-to-set-a-time-limit-to-a-method-in-nodejs Following code snippet demonstrates the usage of timeout function written above. It mocks a api request that returns a response after
Errors
Error: AWS serverless s3 policy Action does not apply to any resource(s) in statement Solution:https://bobbyhadz.com/blog/aws-s3-action-does-not-apply-to-resources Actions, whose name includes the
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
AWS Notes
lambda destination only works with async invoked lambda Example code of AWS elements (lambda, kinesis…etc) AWS JSON to YAML –