Support chat hands over to a person
In a web app's help chat, a bot answers from the help articles; the user can mark an answer as not helpful, and when the bot gives up after two misses, or the user asks to talk to a person, the conversation is handed over with its transcript and the bot's summary. In support hours the user waits in a queue until an agent joins the chat. Outside them the user leaves a message instead, and closing the chat while waiting opens the same email ticket; the answer then comes by email.
What UJN shows here Point at a note to see its part of the drawing
The source (42 lines)
support.puml
@startujnrender { direction: down; arrow_spacing: 24 }journey SUPPORT "Support chat hands over to a person"description: "A bot answers, then a person takes over with the transcript, in the chat or by email"unique_id_friendly: support_chat start from_page { description: "Help button on any page" }view chat { type: drawer; title: "Help chat"; description: "Opens over any page" }action ask_bot { title: "Find an answer"; description: "Gives up after two misses" }system bot { type: external; title: "Support bot"; host: bot.ai.example; description: "Answers from the help articles" }end bot_solved { type: success; description: "Answered by the bot" }action hand_over { title: "Hand over to a person"; description: "Support hours Mon-Fri 8:00-18:00 CET" }action queue_up { title: "Join the queue" }actor agent { title: "Support agent"; role: Support team }view waiting { type: waiting; title: "Waiting for an agent"; description: "Place in line" }view live { type: drawer; title: "Chat with an agent"; description: "Same panel, a person answers" }end solved { type: success; description: "Answered in the chat" }view leave_msg { type: drawer; title: "Leave a message"; description: "We answer by email" }action ticket { title: "Open an email ticket"; description: "Keeps the transcript and summary" }action ack { type: message; title: "Ticket received"; channel: email; description: "The answer follows by email" }end by_email { type: success; description: "Request kept, answer by email" } from_page --> chatchat --> ask_bot : [Send] { payload: [question] }chat -x-> ask_bot : [Not helpful] { payload: [feedback] }ask_bot -left-> bot { payload: [question, transcript] }bot ..> ask_bot { payload: [answer, bot_summary] }ask_bot ..> chat : answer foundask_bot --> hand_over : gives up { payload: [transcript, bot_summary] }chat --> bot_solved : [This helped]chat --> hand_over : [Talk to a person] { payload: [transcript, bot_summary] }hand_over --> queue_up : in support hourshand_over --> leave_msg : outside support hours { payload: [transcript, bot_summary] }queue_up --> agent { payload: [transcript, bot_summary] }queue_up --> waitingagent --> live : [Join chat]live --> solved : [End chat]waiting --> ticket : [Close chat] { payload: [transcript, bot_summary] }leave_msg --> ticket : [Send] { payload: [note] }ticket --> ackack --> by_email@endujn