Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Using Chat and TaskRouter together | Appendix | Web Sequence Diagrams


If you want to customize any of the flows described here for your own use, you can paste the below descriptions into websequencediagrams.com and edit from there.


Using chat and TaskRouter together

using-chat-and-taskrouter-together page anchor

_21
title Chat with TaskRouter
_21
_21
Customer->+App: Customer starts chat session in UI
_21
App->Twilio: Chat channel is created
_21
App->-Twilio: Task is created in Taskrouter
_21
note right of App: Chat information is \n stored in task attributes
_21
note right of Twilio: Taskrouter searches for available agent
_21
Agent->+Twilio: Agent comes online
_21
alt If Using SDK
_21
Twilio->Agent: Task is assigned to agent
_21
else If using assignment callbacks
_21
Twilio-->-App: Task is assigned to agent
_21
end
_21
Agent->Twilio: Agent joins chat channel
_21
note over Agent, Customer: Agent & Customer chat
_21
Customer->+App: Customer ends chat in UI
_21
App->+Twilio: Task marked complete
_21
Twilio->Agent: Agent marked as available
_21
App->Twilio: Chat channel closed
_21
Twilio->App: Chat session ended
_21
Twilio->-App: store chat transcript in CRM


Rate this page: