Customer & Agent SLA Implementation Details
Event | Agent SLA | Customer SLA |
---|---|---|
CHANNEL_SESSION_STARTED |
|
|
TASK_ENQUEUED |
| |
AGENT_SUBSCRIBE |
|
|
AGENT_UNSUBSCRIBE |
|
|
CHANNEL_SESSION_ENDED |
|
|
AGENT_MESSAGE |
|
|
CUSTOMER_MESSAGE |
|
|
BOT_MESSAGE |
| |
CONVERSATION_PAUSED |
| |
NO_AGENT_AVAILABLE |
| |
PARTICIPANT_ROLE_CHANGED |
|
Cases:
A web chat starts with a single agent
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
A web chat starts (No agent is available in the system)
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
RE publishes NO_AGENT_AVAILABLE
Conversation Monitor will start the customer SLA timer.
A web chat starts and Agent transfers the
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Agent transfers the chat.
AGENT_UNSUB is published in the system.
Conversation Monitor stop the Agent SLA timer.
An Agent gets reserved and joins the conversation
AGENT_SUB will be published in the system.
Conversation Monitor will start the agent SLA timer.
A web chat starts and Agent transfers the chat (No agent available for transfer request)
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Agent transfers the chat.
AGENT_UNSUB is published in the system.
Conversation Monitor stop the Agent SLA timer.
RE will publish NO_AGENT_AVAILABLE on TTL expiry.
Conversation Monitor will start the customer SLA.
A web chat starts and Agent joins, and then agent leaves the conversation (WRAP_UP disabled)
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Agent leaves the conversation
AGENT_UNSUB will be published in the system by Agent Manager.
Conversation Monitor will start the customer SLA timer.
TASK_STATE_CHANGED with media state “CLOSED“ will be published.
Conversation Monitor should not stop the customer SLA.
A web chat starts and Agent joins, and then agent leaves the conversation (WRAP_UP enabled)
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Agent leaves the conversation
TASK_STATE_CHANGED with state “WRAP_UP“ will be published.
PARTICIPANT_ROLE_CHANGED is published.
Conversation Monitor will stop the Agent SLA timer.
Customer session will be removed by controller, and once agent gives wrap_up, agent will be removed and conversation will be closed.
A web chat starts and Agent joins, and then customer starts another non-voice session.
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Customer joins from whatsapp.
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor should start the customer SLA of the current session only (It is starting the SLA for all channels ATM)
A web chat starts and Agent joins, and then customer starts voice session.
CHANNEL_SESSION_STARTED will be published.
Conversation Monitor will start the customer SLA.
BOT sends a response
Customer SLA timer is already running, nothing will happen here.
Customer sends a message
Conversation Monitor will stop the Customer SLA.
Customer requests for an Agent
RE will publish TASK_STATE_CHANGED with media state “QUEUED“.
Conversation Monitor will stop the customer SLA timer.
Agent gets RESERVED and the agent joins the conversation:
Conversation Monitor will start the Agent SLA timer.
Conversation Monitor will stop the Customer SLA timer.
Customer initiates a voice session
CHANNEL_SESSION_STARTED will be published in the system
Conversation Monitor will stop the running Agent SLA timer.
Conversation Monitor will start the voice session SLA.