CallCenterRoutingMap maps a Salesforce user or queue to a user or queue in an external call-center system. It defines the identity linkage for a specified CallCenter; it does not define the call center itself.
The mapping separates the Salesforce identity, the external identity, and the associated call center. It can also hold an Amazon Connect quick-connect identifier used to determine agent availability for Omni-Channel call transfers. That identifier has a different purpose from the external user or queue identifier.
Key Elements
| Element | What the Element Controls |
|---|---|
callCenter |
Required. References the CallCenter associated with the mapping. Its value also forms part of the documented developerName pattern. |
developerName |
Required. Combines the Salesforce user ID or queue name with the callCenter value, separated by an underscore: [SALESFORCE_USER_ID]_[CALL_CENTER] or [SALESFORCE_QUEUE_NAME]_[CALL_CENTER]. |
externalId |
Required. Uniquely identifies the external system's user or queue. An Amazon Connect agent Amazon Resource Name (ARN) is one example, not a required format for every external system. |
masterLabel |
Required. Supplies the label of the CallCenterRoutingMap. |
quickConnect |
Holds the Amazon Connect QuickConnectId ARN used to determine agent availability for Omni-Channel call transfers. It is separate from externalId. |
referenceRecord |
Required. Looks up the Salesforce user or queue being mapped. For queue mappings, it connects to Queue metadata. |
Behavior and Constraints
Access requires at least one of these permissions:
- Contact Center Admin
- Contact Center Admin (Partner Telephony)
- Contact Center Supervisor
- Manage Call Centers
Read the mapping as three distinct references: callCenter identifies the call center, referenceRecord identifies the Salesforce user or queue, and externalId identifies the external user or queue. An external identifier does not replace the Salesforce-side reference.
When diagnosing transfer availability, distinguish quickConnect from externalId. The former holds the Amazon Connect quick-connect identifier used for availability checks; the latter identifies the mapped external user or queue.
The naming rule treats users and queues differently. User mappings embed a Salesforce record ID in developerName, while queue mappings use a Salesforce queue name. A user record ID is not a portable user developer name.
Deployment and Retrieval
Components use the .callCenterRoutingMap suffix and reside in the callCenterRoutingMaps folder. Use CallCenterRoutingMap as the type name in package.xml, the deployment and retrieval manifest. The type supports the * wildcard in that manifest.
CallCenterRoutingMap extends Metadata and inherits its fullName field.
For cross-org deployment of user mappings, account for the destination user identity as well as the referenced call center. The documented developerName embeds the Salesforce user ID and the callCenter value, so it must not be treated as an org-independent user name.
Do not assume that developerName and referenceRecord use the same representation of a user. The published example serializes referenceRecord as a username, while the naming rule for developerName specifies a user ID.
Relationships
The mapping references a call-center definition and a Salesforce-side identity. A queue mapping connects to Queue metadata; a user mapping identifies a Salesforce user through referenceRecord. Separately, the naming rule incorporates the user ID or queue name and the callCenter value into developerName; this is a naming convention, not another reference element.
References
-
CallCenter:callCenter -
Queue:referenceRecord
Documentation Inconsistencies
The published sample conflicts with the stated developerName rule. Its name includes an additional User_ prefix, and its suffix is 04vZ6000000Cagl, although its literal callCenter value is ExampleCallCenter. Do not treat that sample as establishing an alternative naming rule.
The sample also uses a username in referenceRecord, whereas the documented user-mapping name pattern uses a Salesforce user ID. These are different elements; the sample does not establish that they accept the same identifier representation.
Common Questions
What is the developerName format for CallCenterRoutingMap?
The documented format is [SALESFORCE_USER_ID]_[CALL_CENTER] for users and [SALESFORCE_QUEUE_NAME]_[CALL_CENTER] for queues. The published sample conflicts with that rule and should not be read as an alternative format.
Can I deploy a user routing map unchanged to another org?
Do not assume it is portable unchanged. The user-mapping name embeds a Salesforce record ID, so cross-org deployment requires attention to the destination user identity and the referenced call center.
Is externalId the same as quickConnect?
No. externalId identifies the external user or queue. quickConnect holds the Amazon Connect QuickConnectId ARN used to determine agent availability for Omni-Channel call transfers.
How do I retrieve all CallCenterRoutingMap components?
Use CallCenterRoutingMap as the type name and * as the member in package.xml. Components use the .callCenterRoutingMap suffix in the callCenterRoutingMaps folder.