LiveChatAgentConfig defines the default Chat operating settings assigned to users or profiles. It controls concurrent chat capacity, automatic availability changes, transfer options, and agent and supervisor capabilities.
The configuration describes a policy for its assigned users, not an individual chat session. It is also separate from a LiveChatButton: a configuration can reference buttons as transfer destinations or Supervisor Panel filters without defining those buttons.
Key Elements
| Element | What the Element Controls |
|---|---|
label |
Required name of the configuration for agents' default chat settings. The component's metadata identity is its inherited fullName, not this label. |
assignments |
Associates the configuration with profiles and users. profiles.profile identifies a profile by name; users.user identifies a user by username. |
capacity |
Maximum number of chats an agent can be engaged in simultaneously. |
criticalWaitTime |
Number of seconds an agent can wait to answer an engaged chat before its tab flashes. This is not an incoming-request acceptance timeout. |
enableAutoAwayOnDecline |
When true, changes an agent's availability to Away after the agent declines a chat. |
enableAutoAwayOnPushTimeout |
When true, changes an agent's availability to Away when a pushed chat request times out. |
enableChatTransferToAgent |
Enables or disables transfers to another agent. |
enableChatTransferToButton |
Enables or disables transfers to a chat button. Read together with transferableButtons. |
enableChatTransferToSkill |
Enables or disables transfers to a skill group. Read together with transferableSkills. |
transferableButtons |
Lists transfer destinations through nested button references to LiveChatButton components. |
transferableSkills |
Lists transfer destinations through nested skill references to Skill components. |
autoGreeting |
Greeting displayed when a customer begins a chat with an agent. |
disableTransferConferenceGreeting |
Uses inverted semantics: true disables the greeting during transfers and conferences; false does not disable it. |
supervisorDefaultAgentStatusFilter |
Default status filter for the Supervisor Panel's Agent Status list. Allowed values are Online, Away, and Offline. |
supervisorSkills |
Uses nested skill references to identify skills available for filtering the Supervisor Panel's Agent Status list, not transfer destinations. |
Behavior and Constraints
Assignments, workload, and availability
A configuration's administrative scope comes from its assignments. Under assignments, profiles.profile names a profile and users.user contains a username. User assignments are not based on Salesforce user record IDs.
capacity and criticalWaitTime address different workload concerns. Capacity limits simultaneous engaged chats. Critical wait time alerts the agent about an engaged chat awaiting a response; it does not set how long the agent has to accept a pushed request.
The two automatic Away settings also handle different events. enableAutoAwayOnDecline applies when an agent declines a chat, while enableAutoAwayOnPushTimeout applies when a pushed request times out. Neither setting controls notifications or request sounds.
Transfers, conferencing, and greetings
Transfer permissions and destination lists are separate. enableChatTransferToAgent, enableChatTransferToButton, and enableChatTransferToSkill govern the respective transfer capabilities. transferableButtons.button and transferableSkills.skill identify the available destinations. A destination list should not be read as the setting that enables its transfer mode.
enableChatConferencing controls conferencing separately from transfers. Likewise, disableTransferConferenceGreeting controls the greeting during transfers and conferences; setting it to true does not disable those collaboration features or all greetings. autoGreeting specifies the greeting displayed when a customer begins a chat with an agent.
Supervision and unsent message visibility
The two preview settings expose different participants' unsent messages. enableSneakPeek lets agents preview customers' messages as customers type. enableAgentSneakPeek lets supervisors see agents' messages before agents send them to customers.
Supervisor capabilities are independent settings:
-
enableChatMonitoringenables chat monitoring for supervisors. -
enableWhisperMessagelets supervisors send whisper messages to agents during a chat. -
enableAssistanceFlaglets agents signal that they need supervisor help.
Supervisor filters do not enable these capabilities. supervisorDefaultAgentStatusFilter filters the Agent Status list by status. supervisorDefaultButtonFilter references a LiveChatButton, and supervisorDefaultSkillFilter references a Skill, for default filtering. supervisorSkills.skill identifies skills available for filtering that list. These filter roles differ from the transfer-destination roles of transferableButtons and transferableSkills.
Agent actions and presentation
enableAgentFileTransfer enables file transfer for agents. enableVisitorBlocking lets agents block visitors by IP address. These settings change the actions available to agents, rather than how the Chat interface presents information.
Presentation settings include customAgentName for a custom agent display name, enableNotifications for incoming-chat notifications, enableRequestSound for the sound played when a customer requests a chat, and enableLogoutSound for the sound played when an agent logs out of Chat.
Deployment and Retrieval
The file-based Metadata API representation uses <developer_name>.liveChatAgentConfig files in the liveChatAgentConfigs directory. The inherited fullName identifies the metadata component; the required label names the configuration for agents' default chat settings.
Use LiveChatAgentConfig as the type name in package.xml. The type supports the * wildcard in the manifest.
Cross-org deployment must account for the actual profile names and usernames stored in assignments. A source-org username is not a user record ID and does not identify a destination user by ID. Button and skill references also need review in their specific roles: a button or skill used for Supervisor Panel filtering is not serving the same purpose as one listed as a transfer destination.
Relationships
The configuration connects profile assignments, button-based transfers and filters, and skill-based transfers and filters. User assignments are username-based. The nested assignment and destination structures are parts of the configuration, not separate metadata components.
References
-
LiveChatButton:buttonundertransferableButtons, andsupervisorDefaultButtonFilter. -
Profile:profileunderassignments.profiles. -
Skill:skillundertransferableSkillsandsupervisorSkills, andsupervisorDefaultSkillFilter.
Common Questions
Does LiveChatAgentConfig assign users by username or user ID?
It assigns users by username through assignments.users.user. Profile assignments use profile names through assignments.profiles.profile. Cross-org deployment therefore depends on the names stored in those elements.
Does criticalWaitTime control how long an agent has to accept a chat?
No. criticalWaitTime controls how long an engaged chat can wait for an agent's answer before its tab flashes. enableAutoAwayOnPushTimeout separately controls whether a pushed-request timeout changes the agent to Away.
Why are transfer settings separate from transferable skills and buttons?
The transfer booleans enable the corresponding transfer modes. transferableSkills and transferableButtons identify destinations. Read the capability setting and its destination list together.
What is the difference between enableSneakPeek and enableAgentSneakPeek?
enableSneakPeek lets agents preview customers' unsent messages. enableAgentSneakPeek lets supervisors preview agents' unsent messages.
Can I retrieve all LiveChatAgentConfig components with a wildcard?
Yes. LiveChatAgentConfig supports * in package.xml. Its file-based representation uses the liveChatAgentConfigs directory and the .liveChatAgentConfig suffix.