Pre-conversation survey |
Use the pre-conversation survey question name that you create in Omnichannel for Customer Service. |
The system stores responses from the pre-conversation survey as context variables. |
Use the following information to map the question name in Omnichannel for Customer Service with the variable type in Copilot Studio:
- Single line: User’s entire response
- Multiple lines: User's entire response
- Option set: User's entire response
- User Consent: Boolean
|
Custom context for chat |
Use the variable name that you create in Omnichannel for Customer Service or pass using the setContextProvider API. |
The custom context variables that you create can be passed through the live chat SDK. |
Use the following information to map the custom context variable in Omnichannel for Customer Service with the variable type in Copilot Studio:
- String: User's entire response
Boolean: Boolean - Number, Floating Number: Number
|
Custom context for Direct Line |
Use the variable name that you create in Omnichannel for Customer Service |
The custom context variables that you create can be passed through as key-value pairs in Activity.ChannelData.ConversationContext when your DirectLine client starts a conversation. |
Use the following information to map the custom context variable in Omnichannel for Customer Service with the variable type in Copilot Studio:
- String: User's entire response
Boolean: Boolean - Number, Floating Number: Number
|
Conversation |
msdyn_ConversationId |
Use the context variable that contains the conversation ID for the ongoing conversation and can fetch and perform operations on the record in Microsoft Dataverse. |
String: User's entire response. |
Messaging-only variables |
msdyn_CustomerType |
Use this context variable that contains the customer type for the account or contact record linked to the conversation. |
Select the Omnichannel for Customer Service extension solution variable. |
|
msdyn_CustomerName |
Use this context variable that contains the customer name for the account or contact record linked to the conversation. |
Select the Omnichannel for Customer Service extension solution variable. |
|
msdyn_CustomerId |
Use this context variable that contains the customer ID for the account or contact record linked to the conversation. |
Select the Omnichannel for Customer Service extension solution variable. |
|
msdyn_CaseId |
Use this context variable that contains the ID of the case record linked to the conversation. |
Select the Omnichannel for Customer Service extension solution variable. |
|
msdyn_CaseTitle |
Use this context variable that contains the title of the case record linked to the conversation. |
Select the Omnichannel for Customer Service extension solution variable. |
|
msdyn_ChannelInstanceId |
The Dataverse unique identifier of the Channel Instance record, for example, the unique identifier of the configured chat widget or Facebook page |
String: User's entire response. |
|
msdyn_WorkstreamId |
The Dataverse unique identifier of the Workstream associated with the channel instance. |
String: User's entire response. |
|
msdyn_Locale |
The configured locale code on your channel instance, for example, your chat widget or Facebook page. This can be used for scenarios like multi-lingual Copilot Studio agents. |
String: User's entire response. |
|
msdyn_SocialProfileId |
The Dataverse record unique identifier for the social profile associated with the conversation. |
String: User's entire response. |
|
msdyn_LineCustomerName |
The customer name from the LINE API. |
String: User's entire response. |
|
msdyn_TeamsCustomerName |
The customer name from Microsoft Teams. |
String: User's entire response. |
|
msdyn_TeamsCustomerEmail |
The email address (UPN) from Microsoft Teams. |
String: User's entire response. |
|
msdyn_CapabilityList |
Apple Messages for Businesses capability list values as a delimited string. |
String: User's entire response. |
|
msdyn_AppleMessagesForBusinessGroupId |
Apple Messages for Businesses Group ID. |
String: User's entire response. |
|
msdyn_AppleMessagesForBusinessIntentId |
Apple Messages for Businesses Intent ID. |
String: User's entire response. |
|
msdyn_AppleMessagesForBusinessLocale |
Locale provided by the Apple Messages for Businesses API. |
String: User's entire response. |
|
msdyn_AppleBusinessId |
The Business ID from your Apple Messages for Business account. |
String: User's entire response. |
|
msdyn_FacebookCustomerName |
The customer name from Facebook. |
String: User's entire response. |
|
msdyn_FacebookLocale |
The customer’s end user locale from Facebook. |
String: User's entire response. |
|
msdyn_FacebookTimezone |
The customer timezone from Facebook. |
String: User's entire response. |
|
msdyn_FacebookUserPageScopedId |
The customer’s page-specific user ID from Facebook. |
String: User's entire response. |
|
msdyn_FacebookPageId |
The PageID from your Facebook page. |
String: User's entire response. |
|
msdyn_CustomerPhoneNumber |
The phone number the customer is texting in from in WhatsApp and SMS channels. |
String: User's entire response. |
|
msdyn_OrganizationPhoneNumber |
The phone number receiving messages from the customer (your organization’s number). Note this is not passed on WhatsApp via Azure Communication Services |
String: User's entire response. |
|
msdyn_WhatsAppCustomerFirstMessage |
If you are using a pre-filled message in your WhatsApp universal link, that information will be passed in this variable. |
String: User's entire response. |
Voice-only variables 1 |
CustomerPhoneNumber |
Use this context variable for the customer's phone number in the Telephony activity. |
Select the Omnichannel for Customer Service extension solution variable. |
|
OrganizationPhoneNumber |
Use this context variable for the organization's phone number in the Telephony activity. |
Select the Omnichannel for Customer Service extension solution variable. |
Extension method name |
va_SurveyConsent |
Use this dialog to determine if a customer has agreed to participate in surveys during the conversation. |
Use this method to escalate conversation details to Omnichannel for Customer Service. |
|
va_CustomerLocale |
Use this dialog to transfer the user currently talking to the agent to another agent that can speak in a different language. |
Set the code by selecting the input variable and using the correct locale code. |