diff --git "a/train.jsonl" "b/train.jsonl" new file mode 100644--- /dev/null +++ "b/train.jsonl" @@ -0,0 +1,29 @@ +{"id": "3a9ef4f4ca58-0", "text": "Guide agents with scripts\n\nIn the customer service industry, agents need to deal with continuous updates both to products and processes. Even after agents have been rigorously trained, recurrent human errors and delays in service delivery occur due to a lack of guidance in real-time customer scenarios. These issues lead to lower productivity and thus negatively affect customer satisfaction levels. To avoid errors and ensure that processes are adhered to, agents need guidance.\n\nAgent scripts provide guidance to agents about what to do when they get a customer issue. The scripts ensure that only accurate, company-endorsed information is being shared, while also safeguarding the organization in regard to issues of legal compliance. Agent scripts help organizations to be unified, accurate, and effective while also being faster and more efficient in terms of customer handling.\n\nAgent scripts reduce the human errors involved, because agents know which actions they need to perform next while they interact with a customer, enabling agents to adhere to the business process. This, in turn, leads agents to provide quick resolutions for the issue (low average handling time) and improve customer satisfaction.\n\nValue propositions\n\nMinimization of human errors\n\nAdherence to business processes\n\nLower average handling time\n\nImproved customer satisfaction\n\nPrerequisites\n\nEnsure that you have the Productivity tools administrator security role. To learn more, see Assign roles and enable users.\n\nEnsure that agents and supervisors are assigned the Productivity tools user security role. To learn more, see Assign roles and enable users.\n\nCreate agent scripts\n\nCreate agent scripts in the Customer Service admin center, Omnichannel admin center, Omnichannel Administration, or Customer Service Hub app. The following procedure is an example of an agent script for a chat session. You can modify the procedure for other types of sessions your agents are likely to come across.\n\nSign in to Power Apps, and go to the app profile manager page.\n\nIn the left pane, under Productivity, select Agent scripts. The Unified Interface page opens on a new tab.\n\nOn the page that appears, select New.\n\nOn the New Agent script page, specify the following:\n| Field | Description | Value |\n|------------|------------------------------|-------------------|\n| Name | A name for the agent script. | Chat session script |\n| Unique Name | A unique identifier in the _ format.Important: The following are required for the unique name: The prefix can only be alphanumeric and its length must be between 3 to 8 characters. An underscore must be there between the prefix and name. |Contoso_script|\n| Language | A language from the list. The languages that are enabled in Microsoft Dataverse appear in the list. | English |\n| Description | Description for the agent script. | This agent script is used for chat sessions. |\n\nSelect Save. The Agent script steps appears.\n\nIn the Agent script steps section, select New Agent script step. Quick Create: Agent script step appears.", "source": "cedocs\\app-profile-manager\\agent-scripts.md"} +{"id": "3a9ef4f4ca58-1", "text": "Select Save. The Agent script steps appears.\n\nIn the Agent script steps section, select New Agent script step. Quick Create: Agent script step appears.\n\nSpecify the following fields in the quick-create form.\n| Field | Description | Example Value |\n|--------------------|------------------------------|-------------------------------------------|\n| Name | Provide a name for the agent script step; this appears for the agent at runtime. You can use slugs for specifying the name of the step. To learn more, see Slugs. | Example 1: Greet the customer. Example 2: Hi {customer} |\n|Unique Name |A unique identifier in the _ format.Important: The following are required for the unique name: The prefix can only be alphanumeric and its length must be between 3 to 8 characters. An underscore must be there between the prefix and name.| Greet_script|\n|Owner|By default, the signed in user is displayed as the owner.| Clay Roddy |\n|Agent script | The agent script for which the script step is being created.| Chat session script|\n| Order | Specify the order number based on which step is displayed to the agent. | 1 |\n| Action Type | Select an action type from the list: Text instruction Macro Script |\n| Description | Describe the step briefly for your reference. | This step opens a draft email to send the customer links to knowledge articles. Note: This field appears only when you select the Action Type value as Target Macro or Target script. |\n| Text instruction | Specify the text instructions the agent needs to follow and execute. This is a text field. Additionally, you can pass parameter values by using the slugs and OData queries. More information: Pass parameter values Note: This field appears only if you select the Text value for the Action Type field. | Greet the customer with the welcome message from the quick reply repository. |\n| Target macro | Type the name of the configured macro in the text box, and then select the macro from the lookup results. Note: This field appears only if you select the Macro value for the Action Type field. | Email |\n| Target script | Type the name of the configured script in the text box, and then select the script from the lookup results. Note: This field appears only if you select the Script value for the Action Type field. | Close the session |\n\nSelect Save and Close to add, save, and close the quick-create form.\n\nSelect Save to save the changes.\n\n[!div class=mx-imgBorder]\n\nThe agent script is now configured.\n\nAssociate an agent script with a session template\n\nAfter you configure the agent script and add the field to a form, you need to associate the agent script with a session template so that the agent script will load for agents based on the type of session they've opened.\n\nSelect one of the following apps, and perform the steps.\n\n### Customer Service admin center\n\n### Omnichannel Admin Center\n\nSelect a template from the list for which you want to associate the template. For example, select the Chat - Default Session template.\n\nSelect the Agent scripts tab.\n\nIn the Agent scripts section, select Add Existing Agent script. The Lookup Records pane appears.\n\nIn the Look for Records box, select the search icon. Select the agent script from the list, and then select Add.\n\n[!div class=mx-imgBorder]\n\nSelect Save.\n\nThe agent script is associated with the session template.\n\nSet the default agent script for agents\n\nAs an administrator, you can set different default agent scripts for agents who handle different services, customers, or products. You need a way to show these agents a script that's appropriate for the context of the conversation between them and the customer. With the agent script expression builder, you can define the conditions that define which script an agent is shown by default in Omnichannel for Customer Service.\n\nBased on these conditions, when an agent accepts an incoming conversation, the agent script control selects a script from the different scripts that were made available for that particular session type and shows the script to the agent. In addition, agents can manually select a script from the list of available agent scripts if they need to switch between different scripts.\n\nEnable and build the expression\n\nYou can build the expression in the Agent scripts tab in the sessions template.\n\nSelect one of the following appss, and perform the steps.\n\n### Customer Service admin center\n\n### Omnichannel Admin Center\n\nGo to the Agent scripts tab.\n\nSet the Enable build expression toggle to Yes, and then select Build Expression to define the expression. The Expression builder page is displayed.\n\n[!div class=mx-imgBorder]\n\nSelect the Condition step, and then create the condition.", "source": "cedocs\\app-profile-manager\\agent-scripts.md"} +{"id": "3a9ef4f4ca58-2", "text": "Set the Enable build expression toggle to Yes, and then select Build Expression to define the expression. The Expression builder page is displayed.\n\n[!div class=mx-imgBorder]\n\nSelect the Condition step, and then create the condition.\n\nIn the If true step, select Add an action. The Condition step is displayed. To learn about conditions, see Use the automation dictionary to pass context data parameters.\n\nSelect the Customer Service tab, and then select Set default agent script.\n\n[!div class=mx-imgBorder]\n\nSelect a script from the Agent script list.\n\n[!div class=mx-imgBorder]\n\nFollow steps 4 through 7 for the If false step.\n\nSelect Save and close to save the expression and close the builder.\n\nNow, you've built the expression.\n\nUse the automation dictionary to pass context data parameters\n\nAs an administrator, you need to configure the condition by using the automation dictionary based on the evaluation of the condition. A script is set as default, and this script is displayed to the agent at runtime.\n\nThe automation dictionary provides you certain data parameter keys that you can use to build your condition. These parameter keys are resolved and replaced by contextual values at runtime.\n\nTo learn about the slugs for productivity tools, see Slugs.\n\nTo learn more, see Use the automation dictionary to pass data parameter keys.\n\nSee also\n\nAgent scripts\nMacros\nSmart assist\nSession templates\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\agent-scripts.md"} +{"id": "9d31aa52e473-0", "text": "Create an app profile\n\n[!INCLUDEcc-oc-admin-csh-deprecation.md]\n\nPerform the following steps to create an app profile:\n\nSign in to Power Apps.\n\nSelect the environment in which you want to create the app profiles.\n\nDo one of the following:\n\nOn the Home page, go to Your apps section.\n\nIn the left pane, select Apps.\n\nSelect More commands in Omnichannel for Customer Service or Customer Service workspace, and then select App profile manager on the menu that appears.\n\nIn the left pane, select App profiles.\n\nOn the App profile manager page, select New profile.\n\nOn the New profile pane, specify the following:\n\nName: The app profile name.\n\nUnique name: A unique identifier in the _ format.\n > [!IMPORTANT]\n > The following are required for the unique name:\n > - The prefix can only be alphanumeric and its length must be between 3 to 8 characters.\n > - An underscore must be used between the prefix and name.\n\nDescription: A description for the profile.\n\nAssign templates and enable productivity pane and channels\n\nFor an app profile, you can add only one session template for each entity type. Typically, you'll add one session template for each entity type, such as one each session template for accounts, contacts, and cases.\n\nThe settings that you enable for the app profile will be available for agents and supervisor only when you configure the corresponding templates and settings in the Customer Service Hub or Omnichannel admin center app. For example, channels must be provisioned in Omnichannel for Customer Service and channel instances must be configured.\n\nIn the App profiles section, select the app profile to which you want to assign templates.\n\nOn the Session templates, select Add entity session template.\n\nSearch for the template you want to add and select it. Make sure that the selected template is based on Entity type. More information: Manage session templates\n\n[!div class=mx-imgBorder]\n\nDo the following on the Productivity pane tab:\n\nIf you want to enable productivity tools, set the toggle to on for Turn on productivity pane.\n\nSelect the default mode as collapsed or expanded.\n\nIn the Productivity tools section, set the toggle to on for the following:\nSmart assist tool configuration\nKnowledge search tool configuration\nAgent scripts to allow access to smart assist configuration and agent scripts.\n\nOn the Channels tab, set the toggle to on for All active channels. The channels configured in Omnichannel for Customer Service will be available for the user to whom the profile is assigned.\n\n[!NOTE]\nThe toggle for channels will be enabled in the out-of-the-box app profile for Omnichannel for Customer Service.\n\nTo add a third-party channel provider, in the Voice channels section, select Add channel providers, search for the configured channel, and select it.\n\nIf a channel doesn't exist, select Create a new channel provider in Unified Interface. The channel configuration page opens on a new tab. More information: Configure channel provider using app profile manager\n\n[!NOTE]\n- Only telephony or voice channels are supported.\n- A number of voice channel providers can be configured at a time.\n\nConfigure the inbox view\n\nFor an app profile, you can enable the inbox view in the Customer Service workspace or Omnichannel for Customer Service apps. From the inbox, users can view their conversations and cases.\n\nOn the App profiles page, select the profile for which you want to enable the inbox. \n[!div class=mx-imgBorder]\n\nSelect the Inbox tab, and then toggle Turn on inbox view to On.\n[!div class=mx-imgBorder]\n\nAssign profiles to users\n\nOn the App profiles page, select the profile that you want to assign to a user.\n\nOn the page, select Assign users on the command bar, and select OK on the message dialog box. The profile opens on a new tab.\n[!div class=mx-imgBorder]\n\nOn the General tab, select Add Existing User.\n\nOn the Lookup Records pane, search and select the user.\n\n[!NOTE]\nYou can select Assign users on the page to view the list of users who have been assigned to the profile.\n\nDefault profile assignment\n\nWhen users are assigned roles corresponding to Customer Service workspace or Omnichannel for Customer Service, the default app profiles are assigned as follows.\n\nCustomer Service workspace: Users with the CSR Manager and Customer Service Representative roles.\n\nOmnichannel for Customer Service: Users with the Omnichannel administrator, Omnichannel supervisor, and Omnichannel agent roles.\n\nMore information: Roles and privileges associated with app profile manager\n\nSee also\n\nGet started with Customer Service admin center\nConfigure agent experience profiles\nManage session templates\nConfigure channels\nManage agent scripts\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\app-profile-manager.md"} +{"id": "84a99ce08d8d-0", "text": "Manage application tab templates\n\nAn application tab template in Customer Service lets you specify the type of applications that can be opened when agents start a session in the Customer Service workspace or Omnichannel for Customer Service app.\n\nThe vertical bar on the left panel shows the list of sessions. The panel will always show the Home session that can't be closed or customized.\n\nEvery session has at least one application tab, called the \"Anchor tab\", that can't be closed or customized. When you start a session, the corresponding application page and any other additional pages are opened based on your configuration settings.\n\nUsing the application tab template, you can define applications that are available for a session, and then associate those applications with the session. For example, you can create the Customer Summary page tab and associate it with a chat or SMS session. Now, when an agent accepts a notification from the chat or SMS channels, a session starts and the Customer Summary page opens.\n\nAs an administrator, you can create multiple application tab templates.\n\n[!Note]\nYou can't customize the out-of-the-box templates, but can create your own custom templates.\n\nCreate application tab templates\n\nSelect one of the following tabs, and perform the steps.\n\n### Customer Service admin center\n\n### Power Apps\n\nSelect New on the Active Application Tab Templates page.\n\nSpecify the following on the New Application Tab Template page.\n| Tab | Name | Description | Example |\n|-----------|-------------------|-----------------------------------|-------------------------------------|\n| General | Name | Specify the name of the application tab. This name won't be visible for the agents at runtime. | Knowledge article search |\n| General | Unique name | Provide a unique identifier in the _ format. IMPORTANT The following are required for the unique name: The prefix can only be alphanumeric and its length must be between 3 and 8 characters. An underscore must be added between the prefix and name. You can select the light bulb icon, and then select Apply to verify whether the name you've entered meets the requirements. | contoso_application_tab |\n| General | Title | Provide a title for the application that you want the agents to see at runtime. | Knowledge article search |\n| General | Page type | Select a page type from the list. | Web resource |\n| General | Description | Provide a description for your reference. | The page type is used to display a knowledge base search page. |\n\nSelect Save. The Parameters section displays the parameters for the page type that you selected.\n\n[!Note]\nWhenever you edit the application tab template, save the changes so you see the corresponding fields in the Parameters section.\n\nSelect the Value field of a parameter that you want to edit and provide the value.\n\nSelect Save.\n\nPage types\n\nThe following page types are available.\n\nDashboard\n\nEntity list\n\nEntity record\n\nSearch\n\nThird-party website\n\nWeb resource\n\nControl (for internal use only)\n\nCustom (preview)\n\nDashboard\n\nThis page type is used to display the dashboard as an application. The following parameter is available for the dashboard page type.\n\n|Parameter | Description | Required | Supported values | Example |\n|---------|--------------|------------------|--------- | --------|\n| dashboardId | GUID of the dashboard | Yes | String | d201a642-6283-4f1d-81b7-da4b1685e698 |\n\n[!NOTE]\nIf the target dashboard is not included in the app module definition, the default dashboard is displayed instead.\n\nEntity list\n\nThis page type is used to display an entity view that defines how a list of records for a specific entity is displayed. The following parameters are available for the entity view page type.\n\n|Parameter | Description | Required | Supported values | Example |\n|---------|--------------|------------------|--------- |---------|\n| entityName| Logical name of the entity | Yes | String Slugs | account {anchor._customerid_value@Microsoft.Dynamics.CRM.lookuplogicalname} |\n| viewId | GUID of the view | No | String | 00000000-0000-0000-00aa-000010001031 |\n\n[!NOTE]\nIf the target view does not exist or is not included in the app module definition, the default entity view is displayed instead.\n\nEntity record\n\nThis page type is used to display an existing record or open a form to create a new record.\n\nThe following parameters are available for the entity record page type when an existing record is opened.\n\nThe following parameters are available for the entity record page type when an entity form is opened to create a new record:\n\nSearch\n\nThe following parameters are available for the entity search page type.", "source": "cedocs\\app-profile-manager\\application-tab-templates.md"} +{"id": "84a99ce08d8d-1", "text": "The following parameters are available for the entity record page type when an entity form is opened to create a new record:\n\nSearch\n\nThe following parameters are available for the entity search page type.\n\n|Parameter | Description | Required | Supported values | Example |\n|---------|--------------|------------------|--------- |---------|\n| searchType | Define to use Relevance search or Categorized search. The possible values are:\n\n0 for Relevance search\n\n1 for Categorized search\n\nThird-party website\n\nThis page type is used to display third-party websites as an application. You can use this type to host only those websites that are compatible with iframe hosting. The application tab template parses the URL and data parameters to format the URL address to be displayed.\n\n[!Note]\nWhen an agent switches from the third-party website type of tab template to another tab, and then switches back to the third-party website tab template, the page will be refreshed to the initial state. For more information, see the \"Third-party application tab refreshes when focus is changed\" section in the Known issues document.\n\nHow parsing works\n\nThese examples are based on a scenario where the case was opened as the Anchor tab in a new session with ticket number: CAS-01003-P3B7G1.\n\nurl parameter: https://www.bing.com/search?q= \ndata parameter using slugs: {anchor.ticketnumber} \nExpected URL: https://www.bing.com/search?q=CAS-01003-P3B7G1\n\nurl parameter: https://www.bing.com/search?q= \ndata parameter using OData: {$odata.incident.ticketnumber.?$filter=incidentid eq'{anchor.incidentid}'&$select=ticketnumber} \nExpected URL: https://www.bing.com/search?q=CAS-01003-P3B7G1\n\n[!NOTE]\nThe url parameter requires the correct URL format using 'https://'.\n\nWeb resource\n\nThis page type is used to display web resources that represent files, which are used to extend the web application such as HTML files, JavaScript, CSS, and several image formats. The following parameters are available for the web resources page type.\n\n[!Note]\nWhen an agent switches from the web resource type of tab template to another tab, and then switches back to the web resource type of tab template, the page will be refreshed to the initial state. For more information, see the \"Third-party application tab refreshes when focus is changed\" section in the Known issues document.\n\nCustom (Preview)\n\n[!IMPORTANT]\n[!INCLUDEcc-preview-feature]\n[!INCLUDEcc-preview-features-definition]\n[!INCLUDEcc-preview-features-expect-changes]\n[!INCLUDEcc-preview-features-no-ms-support]\n\nThis page type is used to display custom pages on the application tab. You can use this tab template type to host custom pages that are available in the corresponding app module. For more information about custom pages, see Overview of custom pages for model-driven apps.\n\nThe following parameters are available for custom pages.\n\nOut-of-the-box application tab templates\n\nThe following out-of-the-box application tab templates are available.\n\n| Template name | Description | Application type |\n| -------------- | -------------------------------------- | -----------------|\n| Customer Summary | Displays the Customer Summary page in the tab. | Entity Record |\n| Entity record | Displays an entity record in the tab. | Entity Record |\n| Knowledge Search | Displays the knowledge article search page in the tab. | Web Resource |\n| Omnichannel Conversations Dashboard | Displays the Omnichannel Conversations Dashboard in the tab. | Dashboard |\n| Omnichannel Intraday Insights | Displays a Power BI report in the tab. | Control |\n| Quick Reply Preview | Displays a quick reply in the tab. | Control |\n| Rich Message Preview | Displays a rich message in the tab. | Control |\n| Search | Displays the Omnichannel search page in the tab. | Control |\n\nSee also\n\nGet started with Customer Service admin center\nManage session templates\nManage notification templates\nAssociate templates with workstreams\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\application-tab-templates.md"} +{"id": "e4ea3d390a4f-0", "text": "Associate templates with workstreams\n\nThe session, notification, and application tab templates that you create need to be associated with a workstream so that the Omnichannel system uses the corresponding templates for an incoming conversation.\n\nAfter an agent accepts the conversation request, a session starts for which the session template is used. In the session, certain application tabs are required such as dashboard, knowledge article search, and case pages. These application tabs are configured using the application tab templates and are associated with a session.\n\nAssociate templates with workstreams in Omnichannel admin center\n\nAfter you create a workstream, you can modify the default templates that are attached to the workstream.\n\nPerform the following steps:\n\nGo to the workstream for which you want to modify the template, and expand the Advanced settings section.\n\nSelect Edit beside Sessions, and on the Sessions panel that appears, select a template in the Default template list.\n\nSelect Save and close.\n\nSelect Edit beside Agent notifications, and on the Agent notifications panel that appears, select a template for each of the following types of notifications:\n\nIncoming unauthenticated\nIncoming authenticated\nConsult\nTransfer\nSupervisor assign\n\nSelect Save and close.\n\nAssociate templates with workstreams in Omnichannel Administration\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nYou can attach only generic type of templates to work streams. By default, the out-of-the-box templates are associated based on the channel. However, you can replace the default templates with the ones that you create.\n\nSign in to the Omnichannel Administration app.\n\nSelect Work Streams under Work Distribution Management.\n\nSelect a work stream for which you want to associate the templates.\n\nSelect the Templates tab in the work stream. You can see the Sessions and Notifications sections.\n\nYou can accept the default session template or select the search icon in Look for Session Templates.\n\nIn the list of templates that you created, select a template.\n\nIn the Notifications section, for each of the following fields, you can accept the default notification template or select the search icon in Look for Notification Templates, and select a template.\n\nIncoming authenticated\nIncoming unauthenticated\nConsult\nTransfer\nSupervisor Assign\n\nSelect Save to save the changes to the work stream.\n\nSee also\n\nManage session templates\nManage application tab templates\nManage notification templates\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\associate-templates.md"} +{"id": "006730349bab-0", "text": "Use automation dictionary to pass parameter keys\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nThe automation dictionary maintains the contextual data for sessions. You can use the keys from the automation dictionary to pass the parameter in an action.\u200b\n\nWhile creating templates and macros in the admin app, you can pass parameter keys such as title of a session, title of notification, title of an application tab template, and custom parameter values for application tab types. These keys are replaced based on the contextual information available at the time of execution.\n\nPass data parameter in templates\n\nLet's take a scenario for templates with the notifications.\n\nThe notification shows certain fields and values, which are called Field header and Value, respectively.\n\nKenny Smith, a customer, initiated a conversation and when the agent sees the notification, it displays Customer Name as Kenny Smith.\n\nHere, Field header is Customer Name and the Value is Kenny Smith.\n\nFor templates to identify the name of the customer as Kenny Smith, you (the administrator) must pass the parameter as keys.\n\nSimilarly, for session and notification titles, you can pass the data parameters. More information: Automation dictionary formats to data parameter keys\n\nThe system replaces these parameter keys with the actual values based on the context of the session, channel provider, Microsoft Dataverse, and user actions. More information: Types of context data parameters\n\nPass data parameter in macros and agent scripts\n\nMacros are a set of configured sequential actions that are run on demand by the user. As an administrator, you need to configure the actions that a macro must perform. To configure the actions, you need to pass the data parameters. More information: Automation dictionary formats to pass data parameter keys\n\nWhen the agent runs the macro, the system replaces these parameter keys with the actual values based on the context of the session, channel provider, Dataverse, and user actions.\n\nWhen the context is from a session, the macro action is run based on the information for a current session, where the information is obtained from an Anchor tab or current tab that's in focus. For example, to create a case, you need to define the actions that contain the incident entity form and the GUID of the form (optional). More information: Types of context data parameter\n\nTypes of context data parameters\n\nThe automation dictionary uses the context data parameters that are available from the following sources:\n\nContext data from the channel provider\n\nContext data from user actions\n\nContext data from Dataverse\n\nContext data from other macro actions\n\n[!div class=mx-imgBorder]\n\nContext data from the channel provider\n\nThis context data is from the first-party channel provider such as Omnichannel for Customer Service or a third-party channel provider that uses the widget exposed by Dynamics 365 Channel Integration Framework. The context data from Omnichannel for Customer Service are pre-conversation survey, visitor portal navigation, and so on.\n\nContext data from user actions\n\nThis data is populated as and when agents perform some activities in the session. An example is opening a new customer record, case, and so on.\n\nContext data from Dataverse\n\nThe organizational data is stored in Dataverse, and you can fetch the data with the use of OData queries. More information: OData queries\n\nContext data from other macro actions\n\nAn action in a macro generates context data that is consumed by other actions in that macro.\n\nFor example, there are two action steps in the following order:\n\nOpen a new form to create a record.\n\nOpen an email form with a predefined template.\n\nWhile creating the Open an email form with predefined template action, you can get the context data parameter keys from the Open a new form to create a record macro action step.\n\nThe context data parameter from the first macro action are as follows:\n\nEntity Logical Name\n\nPage Type\n\nTab Id\n\n[!NOTE]\nThe context data parameters from other macro actions are specific to macros, and aren't applicable to templates.\n\nAutomation dictionary formats to pass data parameter keys\n\nThe automation dictionary maintains the contextual data for sessions. The keys in the automation dictionary can be passed as parameters to the action in macros. The system replaces these parameter keys with the actual value based on the context of the session, channel provider, Dataverse, and user actions.\n\nThe automation dictionary supports the following formats:\n\nSlugs\n\nOData queries\n\nStatic values\n\nSlugs\n\nA slug is a replacement parameter that the system populates at runtime based on context. Use the following list of slugs only for macros and agent scripts, and to set an agent script as the default by using the agent script expression builder. More information: Productivity tools\n\nSlugs for productivity tools (macros and agent scripts)\n\nMacros and agent scripts support the following slugs:\n\nEntity records routing |\n|", "source": "cedocs\\app-profile-manager\\automation-dictionary-keys.md"} +{"id": "006730349bab-1", "text": "Slugs for productivity tools (macros and agent scripts)\n\nMacros and agent scripts support the following slugs:\n\nEntity records routing |\n|\n\n[!NOTE]\nOnly the ${anchor.} slug is supported in the macros and scripts for Customer Service workspace.\n\nSlug for reconnection link\n\nThe following slug is used to generate a reconnection link that can be shared with customers to connect back to the same agent and conversation. More information: Configure a reconnection to a previous chat\n\n| Slug | Description |\n|------------|-----------------------------------|\n|{ReconnectUrl{ReconnectID}}| Used in quick replies to generate the reconnect link. |\n\nFormat for slugs for productivity tools\n\nThe ${Slug} parameter format that retrieves the context from the channel provider, current user session, output of other macro actions, or Dataverse.\n\nProductivity automation context\n\nWhen you want to execute a slug in the productivity automation context, which is used to perform operations related to model-driven apps in Dynamics 365, use the ${} format. For example: ${customerName}\n\nSession connector context\n\nWhen you want to execute a slug in the session context, you must use the ${$session.} format. For example: ${$session.customerName}\n\nSlugs that are available for session context include:\n\n${$session.visitorDevice}\n\n${$session.visitorDevice}\n\n${$session.entityRoutingLogicalName}\n\n${$session.entityRoutingRecordId}\n\n${$session.\n\nOmnichannel connector context\n\nWhen you want to execute a slug in the Omnichannel for Customer Service context, you must use the ${$oc.} format. For example: ${$oc.customerName}\n\nThe Session.CurrentTab. and Session.AnchorTab. parameters provide context data based on the current session and the anchor tab or the current tab in focus. The following are the supported attribute types:\n\nEntityName\n\nEntityId\n\nExamples:\n- Session.CurrentTab.\n- Session.CurrentTab.\n- Session.AnchorTab.\n- Session.AnchorTab.\n\n[!NOTE]\nThe Session.CurrentTab. and Session.AnchorTab. parameters are only applicable to macros and aren't applicable to templates.\n\nSlugs for templates\n\nThe list of supported slugs are:\n\nEntity records routing |\n|\n\nFormat for slugs for templates\n\nThe {Slug} parameter format that retrieves the template context from the channel provider, current user session, or Dataverse. For example: {caseId}\n\nOData queries\n\nYou can use OData queries to get the contexts that are available from Dataverse.\n\nThe OData query format is:\n\n{$odata...}\n\nExamples:\n\n{$odata.account.name.?$filter=accountid eq '{customerRecordId}'}\n\n{$odata.incident.prioritycode.?$filter=incidentid eq '{caseId}'&$select=prioritycode}\n\n{$odata.incident.title.?$filter=incidentid eq '{caseId}'&$select=title}\n\nStatic values\n\nThese are hard-coded values that you update based on your business requirements. For every hard-coded attribute you choose, follow the format type for the particular attribute.\n\nExample (Macro):\n\nYou want a case title to always be appended with Contoso -. You use the Open a new form to create a record action with following fields.\n\n| Parameter | Value |\n|----------------------|----------------------------|\n| Entity Logical Name | incident | \n| Attribute Name | Case title |\n| Attribute value | Contoso - {caseTitle} |\n\nHere, Contoso - is the hard-coded static value.\n\nExample (Templates):\n\nFor an incoming chat request, you want to provide the static title to the session and notification template that agents see at runtime.\n\nNotification title = New chat request\n\nSession title = Chat conversation\n\nSee also\n\nManage session templates\nManage application tab templates\nManage notification templates\nAssociate templates with workstreams\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\automation-dictionary-keys.md"} +{"id": "c682ec853271-0", "text": "Create and use agent experience profiles\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nBy default, the following agent experience profiles are available out of the box for Customer Service workspace and Omnichannel for Customer Service. These profiles can't be deleted or modified. When you don't assign a custom profile to an agent, the default profile is assigned.\n\nOmnichannel for Customer Service - default profile\n\nCustomer Service workspace - default profile\n\nCustomer Service workspace + channels - default profile\n\nYou can configure agent experience profiles in Customer Service admin center or app profile manager. The app profile manager can be accessed through Power Apps.\n\nPrerequisites\n\nMake sure you have the App Profile Manager Administrator role. More information: Security roles\n\nThe Basic User role is also required to create profiles in Customer Service admin center.\n\nCreate agent experience profiles in Customer Service admin center\n\nBy using agent profiles, you can create targeted app experiences for agents and supervisors. Profiles help access the features that your agents and supervisors can use in their daily tasks to resolve customer issues.\n\nGo to Agent experience profiles in Agent experience > Workspaces.\n\nSelect New, and enter the following details on the Create a new agent experience profile dialog.\n\nName: The app profile name.\n\nUnique name: A unique identifier in the _ format.\n\nDescription: A description for the profile.\n\nSelect Create. An agent experience profile is created.\n\nAssign users, templates, configure productivity pane, channels\n\nFor the profile that you created, you can add users and configure option such as specific session templates, conversation channels, and productivity tools.\n\nGo to Agent experience profiles and select the required agent experience profile. You can perform the following actions:\n\nIn the Users section, specify the agents this profile must be associated with. Select Add Users to select users from the available users, or search for and add users to the profile.\n\nSelect Add entity session template to link a session template to the profile. On the Entity session templates pane, you can select an existing template or create a new entity session template.\n\nIn the Productivity pane, select Turn on to enable the productivity tools that the agents can access when they work on their assigned tasks. The following productivity tool options are available:\n\nDefault mode\n\nSmart assist\n\nAgent scripts\n\nMicrosoft Teams\n\nKnowledge search\n\n:::image type=\"content\" source=\"../customer-service/media/agent-experience-profile.png\" alt-text=\"The agent experience profile with configured settings in Customer Service admin center.\":::\n\nSee also\n\nManage session template\nOverview of Dynamics 365 Productivity Tools\nOverview of channels in Omnichannel for Customer Service\nOverview of agent experience profiles\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\create-agent-experience-profile.md"} +{"id": "7eaf56818783-0", "text": "Experience for accessing templates and productivity tools\n\n[!INCLUDEcc-oc-admin-csh-deprecation.md]\n\nThe app profile manager is an easy-to-use interface that helps you get started with what you can do on the page.\n\n[!div class=mx-imgBorder]\n\n[!IMPORTANT]\n[!INCLUDEcc-use-with-omnichannel]\n\nThe options to access and manage the following entities are available on the left pane of the app profile manager:\n\nSettings\n\nChannel provider\n\nTemplates\n\nSession templates\n\nApplication tabs\n\nNotifications\n\nProductivity\n\nSmart assist\n\nAgent scripts\n\nMacros\n\nAll these options are available in Unified Interface. Select any of the option to open it in a new tab.\n\nIrrespective of the path from where you navigate to any of the components, such as session templates or application tab templates, the templates that you've defined for Customer Service workspace and Omnichannel for Customer Service will be displayed because they're stored in a common library.\n\nSettings\n\nSelect Settings in Customer Service workspace to open the Queues page on a new tab.\n\nSelect Settings in Omnichannel Administration to open the Entity Records page on a new tab.\n\nChannel provider\n\nThe Channel provider option in Customer Service workspace or Omnichannel Administration opens the channels view on a new tab where you can configure a new channel or update the settings of the existing providers.\n\nTemplates\n\nThe following template types can be accessed:\n\nSession templates: Opens the Session templates page where the out-of-the-box templates and custom templates created by you're listed.\n\nApplication tabs: Opens the application tab templates page to create and manage application tab templates.\n\nNotifications: Opens the notifications templates page to manage the templates.\n\nProductivity\n\nYou can access the following options in the Productivity area:\n\nSmart assist: Opens the settings for AI-based suggestions for similar cases, knowledge articles, and ongoing conversations.\n\nAgent scripts: Opens the agent scripts page for you to create and manage scripts.\n\nMacros: Opens the macros page for you to create and manage macros.\n\nUpgrade experience for existing Omnichannel for Customer Service\n\nWhen you upgrade your existing environments, the settings for templates, productivity tools, and channels configuration in the out-of-the-box app profile will reflect the existing state of your environment. For example, if productivity pane is enabled and smart assist is configured, the settings will be retained in the out-of-the-box app profile.\n\nSee also\n\nCreate and use agent experience profiles\nManage session templates\nConfigure channels\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\create-app-profiles-powerapps.md"} +{"id": "7926d7fba0af-0", "text": "Set up Omnichannel for Customer Service channels in Customer Service workspace\n\nWhen your agents are working on cases, there may be times when you want them to also be able to have conversations with customers. Using Omnichannel for Customer Service add-on licensing, you can set up your Customer Service workspace environment so that agents are able to work on both cases and conversations without having to leave the Customer Service workspace app.\n\nEnable channel conversations in Customer Service workspace\n\nTo enable agents to be able to have conversations in Customer Service workspace, do the following:\n\nObtain Omnichannel for Customer Service add-on licenses and set up your Omnichannel environment. More information: Provision Omnichannel.\n\nConfigure the following in the Omnichannel administrator app: \na. Channels\nb. Queues and users\nc. Work streams\n\nAssign the Omnichannel agent and/or Omnichannel supervisor roles to your users. More information: Assign roles and enable users for Omnichannel for Customer Service.\n\nSet up profiles in app profile manager\n\nOnce you've completed the configurations above, go to App profile manager and complete the following:\n\nCreate a new app profile or use the default, out-of-box Customer Service workspace + Channels profile. More information: Create and use app profiles to manage apps.\n\nAssign the app profile you created to the agents and supervisors you want to work on both cases and conversations. More information: Roles and permissions.\n\nVerify that you've assigned Omnichannel for Customer Service-related roles to the agents and supervisors you want to work on both conversations and cases.\n\nAccess Omnichannel for Customer Service dashboard views\n\nWhen configured, the following dashboards are available in Customer Service workspace:\n\nFor agents:\n- Omnichannel Agent Dashboard\n- Customer Service Representative Dashboard\n\nFor supervisors:\n- Omnichannel Agent dashboard\n- Omnichannel Ongoing Conversations Dashboard\n- Intraday Insights\n- Customer Service Representative Dashboard\n- Customer Service Manager Dashboard\n\nAgent experience\n\nAfter you have configured the Omnichannel for Customer Service and app profile manager features, agents will have a user experience in Customer Service workspace that is similar to the following:\n\nThe agent signs in to Customer Service workspace and can view the Omnichannel agent dashboard from the dashboard view.\n\nThe agent can work on conversations by accepting or selecting a conversation from the dashboard, and all the functionality of Omnichannel for Customer Service is available to them, including:\na. Notifications - More information: View notifications \nb. Customer summary - More information: View a customer summary to get information about a customer \nc. Notes \u2013 More information: Take notes specific to a conversation \nd. Conversation and session forms \u2013 More information: View conversation and session forms \ne. Transcripts \u2013 More information: Search transcripts \nf. Viewing customer summaries for conversation requests \u2013 More information: View customer summaries for incoming conversation requests \ng. Presence status \u2013 More information: Manage presence status\n\nSupervisor experience\n\nWhen a supervisor signs in to Customer Service workspace, they can select a dashboard to do the following:\n\nMonitor agent conversations - More information: Monitor and assign conversations\n\nMonitor ongoing conversations - More information: View and understand Omnichannel Ongoing Conversations conversations dashboard\n\nView intraday insights - More information: View and understand Omnichannel intraday insights dashboard\n\nView customer satisfaction levels - More information: Sentiment monitoring\n\nSee also\n\nApp profile manager overview\nRoles and privileges associated with app profile manager\nCustomer Service workspace overview\nOmnichannel agent overview\nIntroduction to intraday supervisor experiences\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\csw-enable-channels.md"} +{"id": "3aeb5959bc63-0", "text": "Automate tasks with macros\n\nIn the customer service industry, agents have to click often to perform simple tasks, such as open a form, fill, and save it, and many repetitive and monotonous actions, such as greeting and verifying a customer, sending acknowledgment mail, and taking notes. These clicks and repetitive tasks can lead to human errors when agents copy and paste the data across different operations.\n\nMacros are a set of sequential actions that are performed by a user. They enable users to perform daily operations efficiently in a fast and process-compliant manner. You can reuse macros with different sessions based on the context parameters that are specific to the session.\n\nThe value propositions of the macros are as follows:\n\nAutomate repetitive and monotonous tasks with a single click.\n\nMinimize human errors.\n\nAdhere to business processes.\n\nLower average handling time.\n\nImprove customer satisfaction.\n\nCreate contextual and reusable macros.\n\nThe macros in Customer Service workspace have the following:\n\nPredefined automation actions\n\nBuilt-in control\n\nPrerequisites\n\nInstall Dynamics 365 Productivity Tools solution.\n\nEnsure that you have the Productivity tools administrator security role. More information: Assign roles and enable users\n\nEnsure that agents and supervisors are assigned the Productivity tools user security role. More information: Assign roles and enable users\n\nPredefined automation actions\n\nIn Customer Service, macros provide three connectors:\n\nProductivity automation: Provides actions to perform model-driven app operations.\n\nSession connector: Provides actions to perform session-related operations.\n\nOmnichannel connector: Provides actions to perform Omnichannel for Customer Service\u2013related operations.\n\nProductivity automation\n\nAs an administrator, you can use the actions any number of times across different macros to automate and perform model-driven app operations.\n\nThe following screenshot shows the actions that are explained in the subsequent sections.\n\n[!div class=mx-imgBorder]\n\nOpen a new form to create a record\n\nThis action is used to open a new form to create a record. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity that you want to open. This is a mandatory field. | incident |\n | Entity form ID | Specify the form ID. This is an optional field. |\n | Attribute Name | Specify the attribute logical name. You need to provide the attribute name to prepopulate the field with a value.| |\n | Attribute Value | Specify the attribute value. You need to provide the attribute value to prepopulate the attribute field. | |\n\nOpen an existing record\n\nThis action is used to open an existing record form. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity that you want to open. This is a mandatory field. | incident |\n | Entity record ID| Specify the entity record ID. This is a mandatory field.| |\n | Entity form ID | Specify the form ID. This is an optional field. | |\n\nOpen a record grid\n\nThis action is used to open a record grid. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity for which you want to open the grid. This is a mandatory field. | incident |\n | View ID| Specify the ID of the view that you want to open. This is a mandatory field. | |\n | View type | Specify the view type. This is a mandatory field. | |\n |||\n\nSearch the knowledge base for the populated phrase\n\nThis action is used for searching knowledge articles based on the populated phrase. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Search string | Provide the phrase based on which you want to search for knowledge articles. You can provide the context data. For example, the context data parameter can be a case title. | |\n |Tab Label| Specify the tab label.|\n\nDo a relevance search based on the phrase\n\nThis action is used for searching knowledge articles based on the populated phrase. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Search string | Provide the phrase based on which you want to do a relevance search. You can provide the context data. For example, the context data parameter can be a case title. This is a mandatory field. | |\n\nUpdate an existing record\n\nThis action is used to update an existing record. The action contains the following fields.", "source": "cedocs\\app-profile-manager\\macros.md"} +{"id": "3aeb5959bc63-1", "text": "Update an existing record\n\nThis action is used to update an existing record. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity that you want to update. This is a mandatory field. | incident |\n | Entity record ID| Specify the entity record ID. This is a mandatory field.| |\n | Attribute Name | Specify the attribute logical name you want to update.| |\n | Attribute Value | Specify the attribute value that will be updated for the above-mentioned attribute. | |\n\nOpen an email form with predefined template\n\nThis action is used to open an email with a predefined template. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity. This is a mandatory field. | incident |\n | Entity record ID| Specify the entity record ID. This is a mandatory field.| |\n | Email recipients | Specify the recipients to whom you want the mail to be sent. This is a mandatory field. | |\n | Template ID | Specify the ID of the template that must displayed in the email. This is a mandatory field. | |\n\nResolve a case\n\nThis action is used to resolve a case. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Billable time | Specify the time that is billable. This is a mandatory field. | incident |\n | Incident ID| Specify the ID of the case that you want to close. This is a mandatory field.| |\n | Resolution | Specify the reason to resolve the case. This is a mandatory field. | |\n\nAutofill form fields\n\nThis action is used for updating the form attribute (field). The action updates the attribute of a form if that form is currently in focus and has the same entity type as mentioned in action. If the action is run for any other entity, then the action will fail. Also, the action only updates the field and doesn't save the record. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity that you want to update. This is a mandatory field. | incident |\n\nClone current record\n\nThis action is used for cloning an existing record that is open in the current tab. The action only copies the fields and does not save the record. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Record title | Specify the title of the record that you want to clone. This is a mandatory field. | |\n\nOpen knowledge base article\n\nThis action is used to open the knowledge base article. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity record ID | Specify the entity ID of the knowledge base article that you want to open. This is a mandatory field.| |\n\nSave the record\n\nThis action saves the record after you've entered data in all the mandatory fields. The action fails if the mandatory fields aren't entered or are left blank.\n\nClone input record\n\nThis action clones an existing record. The action only copies the fields and does not save the record. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity logical name | Specify the logical name of the entity that you want to clone. This is a mandatory field. |\n | Entity record ID | Specify the ID of the entity record. This is a mandatory field.|\n |Record title| Specify the record title.\n\nSession connector\n\nAs an administrator, you can use the actions any number of times across different macros to automate and perform operations related to a session in Customer Service workspace.\n\n[!div class=mx-imgBorder]\n\nGet the current tab\n\nThis action gets the details of the current tab in Omnichannel for Customer Service. The action retrieves the Tab ID that could be used in the Refresh tab and Focus tab actions.\n\nOpen application tab\n\nThis action opens the specified application in a new tab with the attributes that you define. The action contains the following fields.", "source": "cedocs\\app-profile-manager\\macros.md"} +{"id": "3aeb5959bc63-2", "text": "Open application tab\n\nThis action opens the specified application in a new tab with the attributes that you define. The action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Page type | Specify the application type to be opened. More information: Page types This is a mandatory field. |\n | Application Template ID | Specify the ID of the application template. This is a mandatory field. |\n | Attribute Name | Specify the attribute logical name you want to update.| |\n | Attribute Value | Specify the attribute value that will be updated for the above-mentioned attribute. | |\n\nRefresh the session context\n\nThis action refreshes the session context in Customer Service workspace for entity sessions. For example, if you launch an entity session for a case record, the session context variables will be defined when the session starts. However, if you update the case title, the session context will not be updated. Therefore, macros will use the cached information. You can add the Refresh the session context step after starting the macro run to use the latest information.\n\nRefresh the tab\n\nThis action refreshes a tab in the Customer Service workspace session. This action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Tab ID | Specify the ID of the tab that you want to refresh. This is a mandatory field.|\n\nFocus on the tab\n\nThis action focuses on a tab in the Customer Service workspace session. This action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Tab ID | Specify the identifier of the tab that you want to give focus to. This is a mandatory field.|\n\nOmnichannel connector\n\nAs an administrator, you can use the actions any number of times across different macros to automate and perform operations related to Omnichannel for Customer Service.\n\n[!NOTE]\nMacro actions for the Omnichannel connector is available if Customer Service workspace in Omnichannel for Customer Service is installed.\n\n[!div class=mx-imgBorder]\n\nSend KB article in chat\n\nThis action pastes a knowledge base article in the conversation chat window. It must be used with the Search knowledge base for the populated phrase action. The action contains the following field.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity record ID | Specify the ID of the entity record. This is a mandatory field. |\n\nLink record to the conversation\n\nThis action links a record to the conversation when the customer is communicating with the agent in the Omnichannel for Customer Service session. This action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity Logical Name | Specify the logical name of the entity that you want to link. This is a mandatory field. | incident |\n | Entity record id| Specify the entity record ID of the entity that you want to link. This is a mandatory field.| |\n | Entity primary Name | Specify the primary name of the entity that you want to link. This is a mandatory field.| |\n\nUnlink record from the conversation\n\nThis action unlinks a record from the conversation when the customer is communicating with the agent in the Omnichannel for Customer Service session. This action contains the following fields.\n\n| Field | Description | Parameter |\n |-----------------|-----------------------------|--------------------------|\n | Entity Logical Name | Specify the logical name of the entity that you want to unlink. This is a mandatory field. | incident |\n | Entity record id| Specify the entity record ID of the entity that you want to unlink. This is a mandatory field.| |\n | Entity primary Name | Specify the primary name of the entity that you want to unlink. This is a mandatory field.| |\n\nFlow connector\n\nAs an administrator, you can use the actions any number of times across different macros to automate and perform operations related to Omnichannel for Customer Service and Customer Service workspace.\n\n[!div class=mx-imgBorder]\n\nRun Flow\n\nThis action triggers Power Automate flows using macros in agent scripts. This action contains the following fields.", "source": "cedocs\\app-profile-manager\\macros.md"} +{"id": "3aeb5959bc63-3", "text": "[!div class=mx-imgBorder]\n\nRun Flow\n\nThis action triggers Power Automate flows using macros in agent scripts. This action contains the following fields.\n\n| Field | Description | Parameter |\n|----------------------|-----------------------------------------|------------|\n| Entity logical name | Specify the logical name of the entity that you want to link. This is a mandatory field. Any Microsoft Dataverse entity, such as Account, can be used based on business needs. | account |\n| Entity record id | Specify the entity record ID of the entity that you want to link. This is a mandatory field. Ids or slugs, such as {customerRecordId}, can be used. While this field is labeled as entity record id, any value to be processed can be passed. While the field is required, values do not have to be functional unless required for the flow logic. | {customerRecordId} |\n| Select flow | Specify or select the Power Automate flow to be run by this action. Requires instant cloud flows with When a record is selected flow triggers. Existing flows with proper permissions will be detected and displayed in the drop-down list. | |\n\nPower Automate flow permissions\n\nReferenced flows require valid connection and run permissions for the Omnichannel for Customer Service and Customer Service workspace tenant and agents that run the flow from within agent scripts.\n\n[!div class=mx-imgBorder]\n\nWhen you run the Run flow action, flows are run within the embedded flow widget on Omnichannel for Customer Service.\n\n[!div class=mx-imgBorder]\n\nBuilt-in\n\nThe Built-in control allows you to run a macro action step based on the conditions. The Built-in category connector has a Condition action.\n\n[!div class=mx-imgBorder]\n\nTo use the Built-in category, you first need to have a trigger (predefined automation actions). That is, select a predefined automation action first, and before or after a step, you can define the condition. You can also create nested conditions as per your requirements.\n\nUsing the View run history option for a particular macro, you can see the condition that was run and whether it succeeded.\n\nFor example, you want to open a new form and save it after entering the fields. If the Product field in the form has Surface as the value, evaluate it as true and then perform the knowledge base article search with the search phrase as Surface. If it is evaluated as false, don't perform any further actions.\n\n[!div class=mx-imgBorder]\n\nUse the automation dictionary to pass macro context data parameters\n\nMacros are a set of configured actions that are run on demand by users. As an administrator, you need to configure the actions that a macro must perform. To configure the actions, you need to provide certain data parameters keys. When an agent runs the macro, these data parameters keys are replaced by contextual values.\n\nTo learn about the slugs for productivity tools, see Slugs.\n\nTo learn more, see Use automation dictionary to pass data parameter keys.\n\nCreate a macro\n\nTo create a macro\n\nIn Dynamics 365, go to one of the apps, and perform the following steps.\n\n### Customer Service admin center\n\n### Omnichannel admin center\n\n### App profile manager\n\nOn the page that appears, select New.\n\nOn the Macros page, specify the following.\n| Field | Description | Example value |\n|-------------|-----------------------------------|------------------------------------|\n| Name | Provide a name to the macro. The name is displayed to the agent at runtime. | Create case |\n| Description | Describe the purpose of the macro. The description is displayed to the agent at runtime. | This macro action is used to create a case. |\n|||\n\nOn the Preferred automation actions tab, select Start macro execution, and then select New step.\n\n[!div class=mx-imgBorder]\n\nSelect a connector from the list. The following connectors are available:\n\nProductivity Automation\nSession Connector\nOmnichannel Connector\n\nSelect an action from the list of actions. You can add as many actions as you need, based on your business requirements.\nIf you select Productivity Automation, you'll see the following actions.\n| Purpose | Action name |\n |-----------------------------|---------------------------------------------|\n | Open a new form to create a record | Create new |\n | Open an existing form | Open form |\n | Open a record grid | Open grid |\n | Search the knowledge base for the populated phrase | Search knowledge articles |\n | Do a relevance search based on the phrase | Search |\n | Update an existing record | Update record |\n | Open an email form with predefined template | Open email |\n | Resolve a case | Resolve case |\n\n[!div class=mx-imgBorder]", "source": "cedocs\\app-profile-manager\\macros.md"} +{"id": "3aeb5959bc63-4", "text": "[!div class=mx-imgBorder] \n \n\nFor example, select Open a new form to create a record, and the step appears. More information: Productivity automation.\nIf you select Session connector, you'll see the following actions.\n| Purpose | Action name |\n |-----------------------------|---------------------------------------------|\n | Refresh the application tab | Refresh tab |\n | Focus on a particular application tab from another application tab| Focus tab |\n | Get the details of the current application tab | Get current tab |\n\n[!div class=mx-imgBorder] \n \n\nMore information: Session connector\nIf you select Omnichannel connector, you'll see the following actions.\n| Purpose | Action name |\n |-----------------------------|---------------------------------------------|\n | Link a record to the conversation while interacting with the customer | Link record to the conversation |\n | Unlink a record from the conversation while interacting with the customer | Unlink record from the conversation |\n\n[!div class=mx-imgBorder] \n \n\nMore information: Omnichannel connector\n\n[!Note]\nOmnichannel connector is not available in Customer Service workspace.\n\nSpecify the values in the fields. To learn how to specify the values, see Use automation dictionary to pass data parameters keys.\n\nIf you selected Open a new form to create a record, you can select Show advanced options to add the attributes and values you want. If required, you can select Add new item to add more attributes.\n\n[!div class=mx-imgBorder]\n\nAfter you add an action step, to define conditions, select the Built-in tab, and select Control.\n\nSelect Condition to define the conditions. The condition has If true or If false. Define the condition as per your requirement.\n\nTo add another action step, repeat step 7 and optionally step 8.\n\nSelect Save and close.\n\nNow, when the agent runs the macro, the actions will be run by fetching the data parameter keys according to the context available from the sources. More information: Use automation dictionary to pass data parameters keys.\n\nView macro run history\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nAs an administrator, you can view the macro run history, which shows how many times a macro has been run, along with the success or fail status. When you select a macro that failed, you can view the exact action step at which the failure occurred.\n\nGo to the Macros page, and select the macro for which you want to view the history.\n\nSelect View run history.\n\n[!div class=mx-imgBorder]\n\nSelect the macro that failed from the list.\n\n[!div class=mx-imgBorder]\n\nSee the macro action step that caused the failure. Review the previous step for any issue in the slug data parameters that might've been passed incorrectly or slug data parameters that were updated incorrectly.\n\n[!div class=mx-imgBorder]\n\nFor example, when you select on the Open a new form to create a record step, select Show more, and you can view that the mandatory fields don't have values, which are mandatory to save the record. Due to this reason, the macro run failed at the Save the record step.\n\n[!div class=mx-imgBorder]\n\nFix the macro step action that you think might have caused the failure, and then try running it again. For example, since the values are not resolved, go to the macro designer and then check on the slugs, and then try running the macro again.\n\n[!Note]\nIf the issue persists, contact Microsoft support.\n\nSee also\n\nUse automation dictionary to pass data parameters keys\nAgent scripts\nSmart Assist\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\macros.md"} +{"id": "1acf3f962f4b-0", "text": "Manage notification settings and templates\n\nWhen a notification is sent to an agent, it displays certain information, such as the customer from who the conversation request is coming, the timeout period after which the notification will disappear, and accept and reject buttons. Each organization has varied business requirements and wants the notifications to show relevant information to the agents.\n\nAs an administrator, system integrator, or partner, you can use the out-of-the-box templates for notifications or create your own. A notification template is a combination of notification-related, reusable information. The template is used to configure what information needs to be displayed to the agents and supervisors for an incoming conversation, escalation, transfer, or consult.\n\nDesktop notifications\n\nFor optimal functioning of desktop notifications, make sure that you are using the latest supported browsers as specified in the system requirements.\n\n[!Note]\n\nThe legacy version of Microsoft Edge is not supported for desktop notifications.\n\nDesktop notifications when the app is in the background\n\nAgents can receive desktop notifications when the Customer Service workspace or Omnichannel for Customer Service app is not in focus. These notifications help ensure that agents won't miss any conversation requests. Some scenarios where the app isn't in focus might include:\n\nThe agent has minimized the app.\n\nThe agent is working in another browser window.\n\nThe agent is working on another tab of the browser.\n\n[!div class=mx-imgBorder]\n\nAgents can accept or reject the conversation request by selecting a button on the desktop notification. When an agent accepts the conversation, the app is made active and displayed to the agent, and a session is started.\n\nIf the agent selects the notification message body and not a button, the app is made active and the notification is displayed to the agent in the app. Then the agent can choose to accept or reject the conversation by selecting the appropriate button.\n\nYou can configure the wait time and the notification is displayed for the agent according to this time, but wait time isn't displayed on the notification. The desktop notification theme is based on the Windows operating system theme and settings.\n\n[!Note]\n\nDesktop notifications will not work when the browser is opened in incognito mode or if focus assist is turned on in your Windows 10 operating system.\n\nIf the native browser notification option is disabled, the notification will be shown in a different user interface.\n\nAllow a browser to show notifications\n\nTo get desktop notifications, agents need to allow their browser (Microsoft Edge or Google Chrome) to show them. When an agent gets a browser notification, they need to select Allow. Based on your requirements, you can enable or disable notifications in the browser settings.\n\nAlso, as an administrator, you can set the browser notification permission by using group policy.\n\n[!div class=mx-imgBorder]\n\nNotification fields\n\nThe fields that are shown in the notification are based on the notification template configuration. To learn more, see Slug for notification field header and Create a notification template.\n\nSlugs for notification field header\n\nA slug is a replacement parameter that is populated at runtime based on the context variables.\n\nThe notification shows certain fields and values, called Field header and Value respectively.\n\nFor example, a customer Kenny Smith initiates a conversation. When the agent sees the notification, it displays Customer Name as Kenny Smith.\n\nHere, Field header is Customer Name and the Value is Kenny Smith.\n\nFor the application to identify the name of the customer as Kenny Smith, as an administrator, you must configure slugs as the value. The Omnichannel system replaces the slug with the actual value that is extracted based on the context variables.\n\nThe application supports the following slugs.\n\nEntity records routing. |\n|\n\nManage templates\n\nOut-of-the-box notification templates\n\nFor the supported channels, Customer Service provides you with out-of-the-box notification templates that you can use in your environment. When you attach the out-of-the-box notification template, the default settings are used in the notifications. For customers whose record exists in Dynamics 365, the settings in the authenticated template for notifications are used. If the customer details are not available in Dynamics 365, the settings in the unauthenticated template are used for displaying the notifications. For information on the notifications behavior and what the notifications display for agents, see notifications for agents.\n\nThe out-of-the-box templates are as follows.", "source": "cedocs\\app-profile-manager\\notification-templates.md"} +{"id": "1acf3f962f4b-1", "text": "The out-of-the-box templates are as follows.\n\n| Channel/Entity | Consult | Authenticated | Unauthenticated | Transfer | Other\n|---------|--------------------|-----------------------|------------------------|--------------------|--------------------|\n| Chat | Chat - consult - default | Chat - incoming authenticated - default | Chat - incoming unauthenticated - default | Chat - transfer - default |\n| Custom messaging | Custom messaging - consult - default | Custom messaging - incoming authenticated - default | Custom messaging - incoming unauthenticated - default | Custom messaging - transfer - default |\n| Facebook | Facebook - consult - default | Facebook - incoming authenticated - default | Facebook - incoming unauthenticated - default | Facebook - transfer - default |\n| LINE | LINE - consult - default | LINE - incoming authenticated - default | LINE - incoming unauthenticated - default | LINE - transfer - default |\n| SMS | SMS - consult - default | SMS - incoming authenticated - default | SMS - incoming unauthenticated - default | SMS - transfer - default |\n| Microsoft Teams | Teams - consult - default | Teams - incoming authenticated - default | Teams - incoming unauthenticated - default | Teams - transfer - default |\n| Twitter | Twitter - consult - default | Twitter - incoming authenticated - default | Twitter - incoming unauthenticated - default | Twitter - transfer - default |\n| WeChat | WeChat - consult - default | WeChat - incoming authenticated - default | WeChat - incoming unauthenticated - default | WeChat - transfer - default |\n| CDS entity |||||CDS entity - Default assigned |\n| Customized ||||| Customized notification template |\n| Sentiment ||||| Sentiment threshold alert - supervisor |\n|Voice|Voice call - consult - default|Voice call - incoming authenticated - default|Voice call - incoming unauthenticated - default|Voice call - transfer - default|Voice call - supervisor assign - default|\n|||||||\n\n[!Note]\n\nYou can't customize the out-of-the-box notification templates; instead, you'll need to create your own custom templates.\n\nIf you use custom notification templates for record routing, we recommend that you do not add a reject option. By design, the record will be assigned to the routed agent even if you provide the option to the agent to reject the assignment.\n\nCreate a notification template\n\nTo create the notification template\n\nIn Dynamics 365, go to one of the apps, and perform the following steps.\n\n### Customer Service admin center\n\n### Omnichannel admin center\n\nOn the Templates tab, select New Notification Template in the Active Notifications Templates area.", "source": "cedocs\\app-profile-manager\\notification-templates.md"} +{"id": "1acf3f962f4b-2", "text": "In Dynamics 365, go to one of the apps, and perform the following steps.\n\n### Customer Service admin center\n\n### Omnichannel admin center\n\nOn the Templates tab, select New Notification Template in the Active Notifications Templates area.\n\nSpecify the following in the New Notification page.\n| Tab | Name | Value, description | Example |\n|---------|--------------------|-----------------------------------------------|--------------------|\n| General | Name | Specify the name for the notification. This name wouldn't be visible for the agents at the run-time. | Authenticated chat notification |\n| General | Title | Provide a title to the notification that you want the agents to see at the run-time. | Incoming chat conversation |\n| General | Icon | Select web resource path to add an icon. | /webresources/msdyn_chat_icon_zfp.svg Note: - This is the default value. You can change the icon as your requirement. - If you enable the Show desktop notifications option, and if you use svg icon format, then the svg icon won't be shown in the desktop notifications. |\n| General |Show timeout| Yes |Set Yes to show the timer in the notification, or No to hide the timer in the notification for the agents. Note: - Irrespective of whether you set Yes or No to show or to hide the timeout value for the agent, the timer runs, and after the timeout duration, the notification disappears. - Yes is the default value for the templates when you get the latest release of Omnichannel for Customer Service. - When you upgrade from previous to the latest release of Omnichannel for Customer Service, then existing notification templates will show no value for this field in the user interface. However, the notification templates consider the values as Yes, and display the timer to the users at the runtime. - If you enable the Show desktop notifications option, then the timer won't be shown in the desktop notifications. |\n | General | Timeout (seconds) | Provide a duration in seconds; after this duration, the notification disappears. | 120. Note: This is the default value. You can change the duration as per your requirement.\n | General|Auto-assign work items| Set to Yes to automatically assign the incoming conversation.| The default value is No. Note: This setting is in preview. More information: Enable automatic acceptance of conversations.|\n | General | Accept Button | Specify a text for the accept button. This text appears for the agents to accept a conversation request. | The default value is Accept that changes to Open when the Auto-assign work items value is Yes. You can change the text as per your requirement. |\n | General | Reject Button | Set the toggle to yes if you want to show the reject button to agents. After you set the toggle to Yes, the default label for the button appears. | Reject Note: This is the default value. You can change the text as per your requirement. The Reject Button is disabled when the Auto-assign work items value is Yes. |\n | General | Show desktop notifications | Specify whether you want to show notifications to the agents when the Omnichannel for Customer Service app not in focus. | When app is in background Note: The default value is Never. To learn more, see Desktop notification when app is in background and Receive notifications when app is in background. |\n\n[!div class=mx-imgBorder]\n\nSelect Save. The template is saved, and the Notification Fields section appears on the page.\n\nSelect Add Existing Notification Field in the Notification Fields section. The Lookup Records pane appears.\n\nSelect the search icon in the Look for Records box. If no records are available, you will see a message: No records found. Create a new record..\n\nSelect New to create a notification field. A confirm dialog box appears, asking whether you want to leave the page. Select OK.\n\nSpecify the following in the New Notification Field page.\n| Tab | Name | Value, description | Example |\n|---------|--------------------|-----------------------------------------------|--------------------| \n| General | Name | Specify the name for the notification. This name won't be visible to the agents at the runtime. | Name of the customer |\n| General | Field header | Provide a name to the field header. This appears in the notification that agents see at the runtime. | Name |\n| General | Value | Provide a slug value that appears against Field header in the notification. To learn more, see Slug for notification field header. |{customerName} |\n\n[!div class=mx-imgBorder]\n\nSelect the back arrow on the browser to go to the notification template you created. Alternatively, you can select Notifications in the sitemap, and then select the template you created.\n\nSelect Add Existing Notification Field in the Notification Fields section. The Lookup Records pane appears.", "source": "cedocs\\app-profile-manager\\notification-templates.md"} +{"id": "1acf3f962f4b-3", "text": "Select Add Existing Notification Field in the Notification Fields section. The Lookup Records pane appears.\n\nSelect the name of the notification field you created, and then select Add. For example, Name of the customer.\n\nRepeat steps 6 through 12 to add more notification fields.\n\nSelect Save.\n\nAfter saving the notification, sign in to the Omnichannel for Customer Service app as an agent, and you can view the notification as per your configuration when a work item is routed.\n\nTo learn more, see View notification.\n\nEdit a notification field\n\nAs an administrator, you can edit the value of a notification field header in the grid.\n\nSelect the notification you want to edit on the Active Notifications page.\n\nSelect a notification field you want to edit and then select the record to edit it.\n\nSelect the save icon in the grid.\n\nCustomize a notification\n\nLet's see a scenario: In the Contoso Pvt Ltd customer service center, every case notification that is shown to an agent needs to have the following:\n\nTitle of the notification: A new case is assigned.\n\nNotification fields:\n\nCase priority: Priority of the case such high or low.\n\nCase title: Title of the case.\n\nDevice: Device from which the case was created by the customer.\n\nLanguage: Language of the customer.\n\nAs an administrator, you need to customize the notification template to show the title and notification fields.\n\nStep 1: Create a notification template with the following values\n\nStep 2: Create the notification fields with the following values\n\n| Name | Field header | Value |\n|---------|--------------------|-----------------------------------------------|--------------------| \n| Case priority | Case priority | {$odata.incident.prioritycode.?$filter=incidentid eq '{caseId}'&$select=prioritycode} |\n| Case title | Case title | {$odata.incident.title.?$filter=incidentid eq '{caseId}'&$select=title} |\n| Device | Device | {visitorDevice} |\n| Language | Language | {visitorLanguage} |\n\n[!div class=mx-imgBorder]\n\nStep 3: Save the changes\n\nSee also\n\nGet started with Customer Service admin center\nManage session templates\nManage application tab templates\nAssociate templates with workstreams\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\notification-templates.md"} +{"id": "ee8376f2be50-0", "text": "Agent experience profiles\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nAgent experience profiles enable you to create targeted app experiences for agents and supervisors, and are an alternative to building and maintaining custom apps.\nWith the agent experience profiles, administrators can create custom profiles with specific session templates, conversation channels, and productivity tools. These profiles can then be assigned to users.\n\nAgent productivity tools use intelligence and automation to enable agents to find answers to customer questions and help resolve customer issues quickly, improving satisfaction in service delivery. The productivity tools help in easy knowledge base search, suggestions for similar knowledge articles and cases, and agent scripts with macros to automate tasks in common workflows.\n\nThe profiles are available for agents and supervisors who use the Customer Service workspace or Omnichannel for Customer Service apps.\n\nThe system requirements for agent profiles and Customer Service workspace are the same. More information: System requirements for Customer Service workspace\n\nHow the agent experience profile works\n\nManaging the agent experience profiles is as follows. The tasks in every step will be done by administrators who have different roles. It could be one administrator or a set of administrators.\n\nCreate users in Microsoft Dynamics 365 admin center.\n\nAssign security roles, such as Customer Service Representative or Omnichannel agent.\n\nCreate business processes, such as work streams, queues, sessions, and productivity tools.\n\nCreate agent experience profiles.\n\nAssign agent experience profiles to users.\n\nFor existing orgs, only steps 4 and 5 are required.\n\nThereafter, users with the required agent or supervisor role will be able to see and use the settings that are made available through the assigned agent experience profile. If you don't assign an agent experience profile, by default, the out-of-the-box agent experience profile will be assigned.\n\nYou can create and manage agent experience profiles in the Customer Service admin center app or in Power Apps.\n\nSee also\n\nCreate and use agent experience profiles \nCreate app profiles\nSystem requirements\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\overview.md"} +{"id": "7299e433a51d-0", "text": "Overview of productivity tools\n\nThe Dynamics 365 Productivity Tools app provides capabilities that help users perform day-to-day operations in a fast, efficient, and process-compliant manner and deliver value to customers.\n\nThe Dynamics 365 Productivity Tools app contains the following functionality to help with repetitive and monotonous tasks, such as greet customers and fill forms. The tool also helps with displaying AI-based suggestions for knowledge articles and similar cases to agents, and thereby helps users perform day-to-day operations in a fast, efficient, and process-compliant manner.\n\n[!NOTE]\n\nThe productivity pane and productivity tools are not available in Omnichannel for Customer Service on Unified Service Desk.\n\nMacros\n\nWith macros, agents can perform repetitive, monotonous tasks\u2014Open model-driven app forms, pre-populate fields with details, send an email to a customer, take notes, and much more\u2014all in a single click. A macro is a set of sequential actions that tells the system how to complete a task. When an agent runs a macro, the system performs each action, and this helps save time and gives agents the freedom to handle more customer issues. Also, macros provide preciseness, clarity, and consistency to the tasks that agents perform.\n\nAgent scripts\n\nAgent scripts provide guidance to agents about what to do when they get a customer issue. The scripts ensure that only accurate, company-endorsed information is being shared, while also safeguarding the organization in regard to legal-compliance issues. Agent scripts help organizations to be unified, accurate, and effective while being quick and efficient in handling customer needs.\n\nSmart assist\n\nSmart assist is an intelligent assistant that provides real-time recommendations to agents, helping them take actions while interacting with customers. You can use the AI-based suggestions for knowledge articles and similar cases by enabling the feature. You can also build a custom bot to interpret the conversation context and provide suggestions to agents. These recommendation cards are displayed on the agent user interface based on the context of the current conversation.\n\nThe smart assist feature can be enabled across all channels like Chat for Dynamics 365 Customer Service, SMS, and Facebook, except entity records, making it a consistent experience for agents.\n\nMicrosoft Teams\n\nMicrosoft Teams is a tool that can help agents more easily collaborate with colleagues by using the capabilities of Teams within Dynamics 365. Agents can view their chats, and with admin setup, can view chats that are relevant to certain records, also known as connected chats. Connecting all of their chats in one place helps agents work without switching context or leaving the application. Admins can also configure an optional introduction note that agents can use to provide further context when collaborating on Teams.\n\nSee also\n\nMacros\nAgent scripts\nSmart assist\nMicrosoft Teams\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\productivity-tools.md"} +{"id": "3ce24464223a-0", "text": "Roles and privileges associated with app profile manager\n\nThe following roles are available with the app profile manager:\n\nApp Profile Manager Administrator\n\nApp profile user\n\nIf your organization uses custom roles, and you want a user with the custom role to manage app profiles, then you can either assign the App Profile Manager Administrator role or manually add the privileges pertaining to the App Profile Manager Administrator role to the custom role.\n\nRoles for Customer Service workspace\n\nBy default, the privileges pertaining to the App Profile User role have been added to the Customer Service Representative and CSR Manager roles out of the box. You need to manually provide the App Profile Manager Administrator role to the user who will create app profiles, templates, productivity tools, and channel provider configurations.\n\nRoles for Omnichannel for Customer Service\n\nOut of the box, for the Omnichannel administrator role, the privileges pertaining to the App Profile Manager Administrator role have been added, and for the Omnichannel agent and Omnichannel supervisor roles, the privileges pertaining to the App Profile User role have been added.\n\nRoles and their privileges\n\nThe actions and privileges for the roles in app profile manager are as follows.\n\nRole: App Profile Manager Administrator\n\nThe App Profile Manager Administrator has the following privileges.\n\n| Action | Privileges|\n|----|--------|\n|Read/Append user|prvAppendUser prvReadUser |\n|Read/Assign role|prvAssignRole prvReadRole |\n|Read/Write/Create/Delete channel provider|prvWritemsdyn_channelproviderprvReadmsdyn_channelproviderprvDeletemsdyn_channelprovider prvCreatemsdyn_channelprovider |\n|Read/Write/Create/Delete/Append/Appendto application configuration|prvReadmsdyn_appconfiguration prvWritemsdyn_appconfiguration prvCreatemsdyn_appconfiguration prvDeletemsdyn_appconfiguration prvAppendmsdyn_appconfiguration prvAppendTomsdyn_appconfiguration |\n|Read/Write/Create/Delete/Append/Appendto application extension| prvCreatemsdyn_applicationextension prvReadmsdyn_applicationextension prvWritemsdyn_applicationextension prvDeletemsdyn_applicationextension prvAppendmsdyn_applicationextension prvAppendTomsdyn_applicationextension |\n|Read/Write/Create/Delete/Append/Appendto application tab template| prvReadmsdyn_applicationtabtemplate prvWritemsdyn_applicationtabtemplate prvCreatemsdyn_applicationtabtemplate prvDeletemsdyn_applicationtabtemplate prvAppendmsdyn_applicationtabtemplate prvAppendTomsdyn_applicationtabtemplate |\n|Read/Write/Create/Delete/Append/Appendto notification field| prvReadmsdyn_notificationfield prvCreatemsdyn_notificationfield prvWritemsdyn_notificationfield prvDeletemsdyn_notificationfield prvAppendmsdyn_notificationfield prvAppendTomsdyn_notificationfield |\n|Read/Write/Create/Delete/Append/Appendto notification template| prvReadmsdyn_notificationtemplate prvCreatemsdyn_notificationtemplate prvWritemsdyn_notificationtemplate prvDeletemsdyn_notificationtemplate prvAppendmsdyn_notificationtemplateprvAppendTomsdyn_notificationtemplate |\n|Read/Write/Create/Delete/Append/Appendto session template| prvReadmsdyn_sessiontemplate prvCreatemsdyn_sessiontemplateprvWritemsdyn_sessiontemplate prvDeletemsdyn_sessiontemplate prvAppendmsdyn_sessiontemplate prvAppendTomsdyn_sessiontemplate|\n|Read/Write/Create/Delete/Append/Appendto template parameter| prvReadmsdyn_templateparameter prvWritemsdyn_templateparameter prvCreatemsdyn_templateparameter prvDeletemsdyn_templateparameter prvAppendmsdyn_templateparameter prvAppendTomsdyn_templateparameter |\n| Read/Write solution | prvReadSolutionprvWriteSolution |\n| Publish/Read/Write customization| prvPublishCustomizationprvReadCustomizationprvWriteCustomization |\n|Read/Write Query| prvReadQueryprvWriteQuery |\n|Read saved query visualizations| prvReadSavedQueryVisualizations |\n|Read system form|prvReadSystemForm|\n|Write entity|prvWriteEntity|\n|Write attribute|prvWriteAttribute|\n|Write relationship|prvWriteRelationship|\n|Write/Read application module|prvWriteAppModuleprvReadAppModule |\n|| |\n\nRole: App Profile User\n\nThe App Profile User has the following privileges.", "source": "cedocs\\app-profile-manager\\security-roles.md"} +{"id": "3ce24464223a-1", "text": "Role: App Profile User\n\nThe App Profile User has the following privileges.\n\n|Action|Privileges|\n|-------|-----|\n|Read application module|prvReadAppModule|\n|Read channel provider| prvReadmsdyn_channelprovider|\n|Read application configuration|prvReadmsdyn_appconfiguration |\n|Read application extension| prvReadmsdyn_applicationextension |\n|Read application tab template|prvReadmsdyn_applicationtabtemplate|\n|Read notification field| prvReadmsdyn_notificationfield |\n|Read notification template| prvReadmsdyn_notificationtemplate |\n|Read session template|prvReadmsdyn_sessiontemplate|\n|Read template parameter|prvReadmsdyn_templateparameter|\n|Read user|prvReadUser |\n|Read role|prvReadRole |\n|| |\n\nSee also\n\nAn overview of app profile manager\nUsers and roles in Omnichannel for Customer Service\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\security-roles.md"} +{"id": "675f6efcda2a-0", "text": "Manage session templates\n\nA session template is a combination of attributes and application tab information that can be reused.\n\nIn Omnichannel for Customer Service app, when an agent accepts an incoming conversation request from a customer, a session is started. The system opens the Customer Summary application that you (an administrator) defined as an Anchor Tab in the application tab panel. The Anchor Tab can't be closed. Simultaneously, the system expands the communication panel for you to exchange messages with the customer.\n\nSession templates are used to define the aforementioned session experience, such as:\n\nwhich application must be opened as an anchor tab in the application tab panel;\n\nwhat are the additional application tabs that must be opened when a session is started;\n\nwhat must be the default mode of the communication panel when a session is started.\n\nYou can create session templates in Omnichannel admin center or use the out-of-the-box templates. In your environment, as an administrator, you can create multiple session templates.\n\n[!Note]\nYou can't customize the out-of-the-box session templates; instead, you'll need to create your own custom templates.\n\nThe out-of-the-box session template for using in Customer Service workspace is Case entity session - default template.\n\nThe following out-of-the-box session templates are of the generic type and are for use in the Omnichannel for Customer Service app:\n\nCase entity session - default template\n\nChat session - default\n\nVoice call session - default\n\nCustom messaging session - default\n\nEntity records session - default\n\nFacebook session - default\n\nLINE session - default\n\nSMS session - default\n\nTeams session - default\n\nTwitter session - default\n\nWeChat session - default\n\nWhatsApp session - default\n\nCreate a session template\n\nSelect one of the following tabs, and perform the steps.\n\n### Customer Service admin center\n\n### Power Apps\n\n[!INCLUDEcc-omnichannel-administration-deprecation-note.md]\n\nSelect New on the Active Session Templates page.\n\nSpecify the following on the New Session Templates page.\n| Tab | Name | Value description | Example |\n|-----------|-------------------|-----------------------------------|-------------------------------------|\n| General | Name | Specify the name of the session. This name won't be visible to the agents at the runtime. | Chat session |\n| General | Unique Name | A unique identifier in the _ format. IMPORTANT The following are required for the unique name: The prefix can only be alphanumeric and its length must be between 3 to 8 characters. An underscore must be there between the prefix and name. You can select the light bulb icon, and then select Apply to verify whether the name you've entered meets the requirements. | msdyn_chat_custom |\n| General | Type | Select one of the following: Entity: If you select entity, the Entity field is displayed.Generic: Select when the template is required to be assigned to any channel. | Entity|\n| General | Entity | Select an entity from the list. Note: The option is displayed only when Type is entity. | Case |\n| General | Title | Provide the title of the session that you want agents to see at the runtime. | {customerName} |\n| General | Communication panel mode | Select the default mode of the panel when a session is started. Choose one of the following: Docked: The panel will be in expanded mode. Minimized: The panel will be in minimized mode. Hidden: The panel will be hidden. Note: For an entity routing session\u2014that is, for a case session\u2014the communication panel mode is hidden. | Docked |\n| General | Description | Provide a description for your reference. | The session template is used for a conversation request from Chat channel. |\n| General | Owner | Search and select an owner. By default, the user who is creating the template is set as the owner | Alan Steiner |\n| General | Anchor tab | Select an application from the list. The application is opened by default when the session starts and can't be closed. Note: The anchor tab option is displayed only when Type is generic. | Customer summary |\n\nSelect Save.\n\nAssociate application tabs, agents scripts with session templates\n\nYou can associate application tabs that need to open when a session is started. Agents can't close these application tabs. You can also associate agents scripts; however, you must first configure the agent scripts. More information: Agent scripts\n\nGo to the session template that you want to modify.\n\nIn the Additional Tab section, Select Add Existing Application Tab Template. The Lookup Records pane appears.\n\nType the application tab names in the search box and select the search icon. A list of records appears. Select the application tabs, and then select Add. The application tabs are added to the session template.", "source": "cedocs\\app-profile-manager\\session-templates.md"} +{"id": "675f6efcda2a-1", "text": "Type the application tab names in the search box and select the search icon. A list of records appears. Select the application tabs, and then select Add. The application tabs are added to the session template.\n\nSelect the Agent scripts tab, and set the Enable build expression toggle to Yes to define the expression to set an agent script as default for a particular session template.\n\nBuild the expression, and then select Save and close. To learn more, see Set default agent script for agents.\n\nSelect Save.\n\n[!div class=mx-imgBorder]\n\nThe session template is configured. Now, you must associate the session template with a workstream. To learn more, see Associate templates with workstreams.\n\nSee also\n\nGet started with Customer Service admin center\nManage application tab templates\nManage notification templates\nAssociate templates with workstreams\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\session-templates.md"} +{"id": "5d2cdb473471-0", "text": "Manage smart assist\n\nThe new-age customer service industry is moving toward the vision of being intelligent rather than process-driven while interacting with customers. Pivoting on intelligence capabilities helps unleash the productivity of agents to perform better on key performance indicators and\u2014at the same time\u2014deliver better customer experience.\n\nSmart assist is an intelligent assistant that provides real-time recommendations to agents, helping them take actions while interacting with customers. It allows organizations to build a custom bot and plug-in to their environment. These custom bots interpret conversations in real time and provide relevant recommendations such as knowledge articles, similar cases, and next-best steps to the agent's user interface.\n\nThe smart assist feature can be enabled across all channels, such as Chat for Dynamics 365 Customer Service, SMS, and Facebook (excluding Entity Records Channel), making it a consistent experience for agents.\n\n[!IMPORTANT]\nThe smart assist recommendations are displayed only after the agent sends a message.\n\nValue proposition\n\nContextual recommendations are generated based on real-time conversations.\n\nPlug-in organization-specific recommendations are displayed to agents in real time.\n\nAction-oriented recommendations are displayed for agents to send responses or run automated actions.\n\nIntelligence is powered by using Microsoft Azure or third-party capabilities.\n\nAgents can achieve improved average handling time and first call resolution.\n\nPrerequisites\n\nProductivity pane must be enabled. Out of the box, productivity pane is enabled by default.\n\nSmart assist must be enabled.\n\nOne of the following:\n\nAI-suggested similar cases and knowledge articles should be enabled by your administrator.\n\nDevelop a smart assist bot and integrate it with Omnichannel for Customer Service. The smart-assist bot interprets the conversation context in real time and provides suggestions to agents. For information: Build a smart assist bot using Azure Bot Service.\n\n[!NOTE]\nPower Virtual Agents bots aren't supported as smart assist bots.\n\nEnable AI suggestions for similar cases and knowledge articles\n\nTo enable AI-suggested similar cases and knowledge articles, see Enable AI suggestions for similar cases and knowledge articles.\n\nEnable smart assist for the bot framework in Omnichannel for Customer Service\n\nTo enable smart assist for the bot framework in Omnichannel for Customer Service, perform the following steps:\n1. Create a bot user\n\nAdd smart assist bot to a workstream\n\nCreate a bot user\n\nCreate a bot user in the application to work as a smart assistant to the agent. A bot user is created as an application user and assigned the Omnichannel agent role. If your bot needs to search for knowledge base articles, then you need to provide either the Customer Service Manager or Customer Service Representative role.\n\nYou can create an application user only in the web client. Use the bot application ID of the smart assist bot to create the bot user. More information: Create a bot user\n\nAdd a smart assist bot to a workstream\n\nAfter you create a bot user, you need to add the bot to the workstream so that agents who use the channel of this workstream can see the suggestions.\n\nIn Customer Service admin center, go to Workstreams in Customer support, and select the workstream in which you want to add the smart assist bot.\n\nExpand Advanced settings, and select Add bot in the Smart Assist bots area.\n\nIn the Add from existing panel, select a bot user from the list, and then select Add.\n\nYou can add multiple bots to a workstream based on your business requirements.\n\nSee also\n\nMacros\nAgent scripts\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\smart-assist.md"} +{"id": "059f1cb81d2f-0", "text": "Overview of templates in Customer Service\n\nWhen you (an agent) get an incoming conversation request, the system searches and opens the records like case, contact, or account. However, your organization might have different requirements and want to use different custom entities and correlate to a conversation.\n\nAlso, Omnichannel for Customer Service allows you to open third-party web applications in the application tabs. Your organization might have different line-of-business applications, and while starting a session, you might want to load the line-of-business applications for a specific conversation type.\n\nFor example, when you accept an incoming chat conversation notification, a session starts. For every chat session, when the application identifies the customer, you want to open a contact record, related case page, SharePoint site, and the line-of-business application.\n\nTo choose the applications you want to open for every session, in accordance with your organization's requirements, session templates are introduced.\n\nYou can use the following templates:\n\nSession templates\n\nApplication tab templates\n\nNotification templates\n\nSee also\n\nAssociate templates with workstreams\nUnderstand and create workstream\n\n[!INCLUDEfooter-include]", "source": "cedocs\\app-profile-manager\\templates-overview.md"}