VirtualVisitConfig defines an external video-provider configuration that relays events from Salesforce to the provider. It connects feature-specific settings with vendor authentication, temporary call-participation access, regional processing, and optional transcript services.
Despite its name, this type is not limited to video appointments. usageType identifies the Salesforce feature that uses the configuration, including document reading and text analysis. Interpret the other settings in that feature's context rather than assuming every configuration represents an interactive video call.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The metadata identity, inherited from Metadata. It can include a namespace prefix. A query that includes this field must return no more than one record. |
masterLabel |
Required user-friendly name, defined when the configuration is created. It is not the metadata identity. |
usageType |
The Salesforce feature for which the configuration is created. Allowed values: CHIME, ENTITY_DETECTION, INTELLIGENT_FORM_READER, KEY_PHRASE_EXTRACTION, and SENTIMENT_ANALYSIS. |
namedCredential |
References the NamedCredential used to authenticate and authorize the video-call vendor's account. |
externalRoleIdentifier |
A role ID that allows users to join a call and grants temporary access to functions needed during the call. It is not a developer name or a NamedCredential reference. |
experienceCloudSiteUrl |
The URL of the Digital Experience site where portal or guest users can access the Video Call component. |
visitRegion |
The region where video-call audio and video data is processed. Allowed values: af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-1, us-east-2, us-west-1, and us-west-2. |
messagingRegion |
The region where waiting-room and messaging-channel data is processed and stored. |
videoControlRegion |
The region where API calls related to Video Calls are made. |
comprehendServiceType |
Selects the service used to convert speech to text or analyze converted speech text. Allowed values: ComprehendMedicalService and ComprehendService. |
storageBucketName |
The name of the storage bucket that holds the meeting transcript. |
videoCallApptTypeValue |
The default Appointment Type picklist values on Service Appointment that represent video appointments. Separate multiple values with semicolons. |
isProtected |
An auto-generated value that currently has no behavioral effect. It does not provide an access restriction or protection mechanism. |
Behavior and Constraints
Metadata access requires an enabled feature preference. The org must meet at least one of these conditions:
- Video Calls:
VideoVisits. - Industries Einstein, Intelligent Form Reader:
EinsteinDocReader. - Industries Einstein, Sentiment Insights Account:
IESentimentAnalysis. - Natural Language Processing: both
NLPServiceEnabledandKeyPhrasePrefEnabled. - Natural Language Processing:
NLPServicePrefEnabled.
These are prerequisites for access to the metadata type, not properties stored in a VirtualVisitConfig component. The two preferences in the fourth condition must be enabled together; that condition is separate from the NLPServicePrefEnabled alternative.
Authentication, participation, and the user entry point are separate settings. namedCredential supplies vendor-account authentication and authorization. externalRoleIdentifier supplies the role ID for temporary call participation. experienceCloudSiteUrl identifies the user-facing site. Do not substitute one identifier for another.
There is no single region field for all processing. visitRegion covers audio and video processing, while messagingRegion covers waiting-room and messaging data processing and storage. videoControlRegion covers Video Calls API calls. Consequently, checking only visitRegion does not account for all processing and storage locations represented by the configuration.
Transcript settings describe a separate part of the service. comprehendServiceType selects speech-to-text or converted-text analysis, and storageBucketName identifies transcript storage. Neither replaces the audio/video region setting.
videoCallApptTypeValue must be interpreted against the Appointment Type picklist on Service Appointment. Its semicolon-separated entries are picklist values, not appointment record IDs.
externalMsgServiceIdentifier and externalUserIdentifier are reserved for internal use.
Deployment and Retrieval
VirtualVisitConfig components use the .virtualVisitConfig suffix and are stored in the VirtualVisitConfigs folder. In package.xml, the type supports the * wildcard for selecting components.
namedCredential is the explicit metadata dependency for vendor authentication. A package manifest can select both VirtualVisitConfig and NamedCredential components, with a separate type entry for each.
Use fullName as the component's metadata identity; it can include a namespace prefix. The required masterLabel is a display name and does not replace that identity.
Queries that include fullName must return no more than one record. A query that includes the field and returns multiple records produces an error. Use separate queries to retrieve fullName for multiple records. This query restriction is distinct from support for the wildcard in a file-based retrieval manifest.
Do not interpret a retrieved isProtected value as a deployment or access safeguard. The value is auto-generated and currently does not affect this type's behavior.
Relationships
The explicit metadata reference connects the configuration to its vendor-authentication credential. Other settings identify a call-participation role ID, a user-facing site URL, transcript storage, or Service Appointment picklist values; they serve different purposes from the credential reference.
References
-
NamedCredential:namedCredential.
Common Questions
Is VirtualVisitConfig only for video appointments?
No. usageType also supports ENTITY_DETECTION, INTELLIGENT_FORM_READER, KEY_PHRASE_EXTRACTION, and SENTIMENT_ANALYSIS, in addition to CHIME. Read the remaining settings in the context of the selected feature.
Why can't I access VirtualVisitConfig metadata?
Access requires at least one of the feature-preference conditions listed above. In particular, the NLPServiceEnabled condition also requires KeyPhrasePrefEnabled; NLPServicePrefEnabled is a separate qualifying condition.
Can I retrieve all VirtualVisitConfig components with a wildcard?
Yes. The type supports * in package.xml. Separately, a query that includes fullName must return at most one record, so retrieve that field through separate queries when working with multiple records.
Does visitRegion control all data processing and storage locations?
No. It controls audio and video processing. messagingRegion controls waiting-room and messaging-channel processing and storage, and videoControlRegion identifies where Video Calls API calls are made. Transcript storage is identified by storageBucketName.
Should externalRoleIdentifier contain a NamedCredential name?
No. externalRoleIdentifier holds a role ID used for joining calls and granting temporary participation access. Put the vendor-authentication credential reference in namedCredential.