System messages
With System messages, you can notify your agents of the updates that occur for a ticket when there are changes to a ticket's status, assignee, or priority.
Note: You can customize your system messages in Settings > System messages on the Sendbird Dashboard.
Distinguish system messages from notifications
When a client app receives a system message through the onMessageReceived()
method of the channel event handler, system messages can be distinguished from notifications by looking at the value of message.customType
. Also their distinct subtype is specified in message.data
as shown in the code below.
Note: The
transfer
property appears only when themessage.data
property has the value ofSYSTEM_MESSAGE_TICKET_TRANSFERRED_BY_AGENT
.
Hide system messages
As system messages deliver updates of a ticket, they are intended to be displayed for agents only. To hide system messages from your app, refer to the following code snippet:
List of system messages
System messages are designed to indicate the reason of the update. The following table covers the valid values specified in the message.data.type
property and their default messages.
Note: Default messages can be edited in Settings > System messages on your dashboard.
List of message.data.type and default messages
message.data.type | Default message |
---|---|
| The ticket status is changed from |
| The ticket status is automatically changed from |
| The ticket is assigned to {to_agent_name} by {by_agent_name}. |
| The ticket is assigned to {agent.display_name} by the system. |
| The ticket is closed by {by_agent_name}. |
| The ticket is closed by the customer. |
| The ticket is closed by the Platform API. |
| The ticket is automatically closed. |
| The ticket is assigned to the {to_team_name} team by {by_agent_name}. |
| The ticket is transferred from {from_team_name} to the {to_team_name} team by {by_agent_name}. |
| The ticket is transferred from {from_team_name} to the {to_team_name} team through a Platform API request. |
| The ticket is transferred from {from_team_name} to the {to_team_name} team by a customer. |
| The ticket is automatically transferred from {from_team_name} to the {to_team_name} team. |
| The ticket is set to be independent from the {from_team_name} team by {by_agent_name}. |
| The ticket status is changed from |
| The ticket status is changed from |
| The ticket status is automatically changed from |
| The priority of the ticket is changed to {priority} by {by_agent_name}. |
| The priority of the ticket is changed to {priority} by the customer. |
| The priority of the ticket is changed to {priority} by the Platform API. |
| The ticket is reopened by {by_agent_name}. |
| The ticket is reopened by the customer. |
| The ticket is transferred from {from_agent_name} to {to_agent_name} by {by_agent_name}. Reasons for transfer: "{memo}." |
| The ticket status is changed to |
| The ticket status is automatically changed from |