Skip to content

Commit 491955c

Browse files
committed
Initial Commit of ReadMe and Extend documents
Read Me and Extend documents created, screenshots added, Styling added.
1 parent e68d905 commit 491955c

10 files changed

Lines changed: 292 additions & 0 deletions

File tree

Templates/Employee FAQ/EXTEND.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Extend the Employee FAQ template
2+
3+
## Overview
4+
5+
The Employee FAQ template is designed to allow organizations to easily create a bot to handle day-to-day questions, agent requests, agent responses and obtain feedback on the performance within Microsoft Teams. This is a template that can be easily customized and extended to suite your needs and this file is designed to help you begin that journey.
6+
7+
8+
9+
## Power Virtual Agents
10+
11+
The Employee FAQ template can easily be extended by adding new topics, messages, questions, actions and more. To begin customizing we suggest looking at the greeting system topic, customizing it to provide a personal greeting that represents your company and how you want your users to start using the bot. You can also quickly and easily add new topics to your bot with the built-in [topic suggestion feature](https://docs.microsoft.com/power-virtual-agents/teams/advanced-create-topics-from-web-teams).
12+
13+
There are also [four lessons provided](https://docs.microsoft.com/power-virtual-agents/authoring-template-topics) with the template to get you started on familiarizing yourself with Power Virtual Agents. Once you have gone through these lessons, you can freely edit the topics or simply create new topics to handle any additional areas you wish to include. You can also reach out to the [PVA Community](https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Community/ct-p/PVACommunity) for help and ideas from our community members.
14+
15+
16+
17+
## The Microsoft Dataverse feedback data model
18+
19+
The data model structure for logging feedback is structured around basic core principles for gathering feedback. It’s aimed at providing customers with a basic toolset for logging and reporting on that feedback, and giving the capability to extend it.
20+
21+
22+
23+
#### In-depth review of the feedback data model
24+
25+
26+
27+
![image-20210616103757883](C:\Users\junwin\Documents\GitHub\PowerVirtualAgentsSamples\Templates\Employee FAQ\Images\Data-Model)
28+
29+
The first part of gathering feedback is from a **Survey Response**. A **Survey Response** has core information, including the name of the person who the survey was related to, the channel it was originally obtained on, and when the response was created.
30+
31+
32+
33+
A survey response can have multiple questions associated to it, which is displayed through the **Survey Question** table. The **Survey Question** table has only the question and the link to the originating **Survey Response**.
34+
35+
36+
37+
The survey response tracks what the **Survey Question** was and has a related table called **Question Response**. The response is linked back to the originating question and is the original response to the question from the respondent on the **Survey Response**.
38+
39+
40+
41+
This initial data model allows for basic principles of feedback to be followed, and separating the **Survey Response**, **Survey Question**, and **Question Response** to allow for extension and additional reporting. By default, the Power Virtual Agent bot is setup for customer satisfaction (CSAT) type questions.
42+
43+
44+
45+
## Extending the Survey Data Model
46+
47+
48+
49+
A canvas application using the Dataverse model allows users to track feedback in a list format, giving visibility of who the respondent is, the feedback, when it was obtained, and the satisfaction score where it is relevant.
50+
51+
The **Respondent Name** is currently logged as text, as well as ‘CSAT’. This can be sufficient in most cases where simply knowing and tracking the feedback is enough, however, to provide aggregation and metric-based reports, CSAT would need to be extended to be a number-type field to allow for aggregation.
52+
53+
This can be done in several ways, including in Power Automate, Dataverse or Power BI, based on the administrator's preference and specific needs. In the same way, **Respondent Name** can be extended to be a lookup reference to a **User** table by modifying the Power Automate contained in the solution to search for and get the related user record.
54+
55+
56+
57+
## Extending the Data Model itself
58+
59+
In addition to using existing information available, administrators can also add lookups and other data points to the Survey Response table.
60+
61+
Examples include using the ‘User’ table to provide more information such as which team they are in, geography or region information, allowing feedback to be aggregated across additional dimensions and providing insight into the feedback in those areas.
62+
63+
Another example of extending the data model is to add choices to the choices field for ‘Channels’ to include additional options based on what is being used in the business (it currently defaults to ‘Bot’ in the provided solution)
64+
65+
66+
67+
## Using the data model for user and customer feedback
68+
69+
The current functionality for the Power Virtual Agent Bot has been developed to support logging user or internal requests and feedback. The same data model built for logging feedback from those users can also be used to track the same data model for customer experiences in some cases, depending upon the maturity of your organization.
70+
71+
An example of using the feedback data model for customers would be to log the survey question and response from a bot deployed on a website.
72+
73+
Extensions can be made to the data model to capture specific dimensional data such as ‘Stores’ and ‘Locations’ in a retail or manufacturing industry to then report on feedback from those dimensions, identifying improvement or issues at a store or location.
74+
75+
76+
77+
## Extending the number and types of questions asked
78+
79+
Administrators can also extend the bot to ask more questions of the user, and modify the related flow using Power Automate to be able to tailor the feedback questions being asked after the request has been made.
80+
81+
This experience can be adding questions to the experience or tailoring the type of question asked of the user and what type of response is back. Currently supported are single-type text questions.
82+
83+
84+
85+
## Extending with Power BI
86+
87+
Enhanced reporting can be built on the data model using Power BI for a visual experience, adding charts and tables for extended viewing and sharing of the data. Power BI can also be used to provide high level branded reporting such as the overall CSAT based on related data for the year, and more.
88+
89+
You can connect your data stored in Dataverse for Teams to Power BI to visualize that data in numerous ways. The main way to connect to your data is to click on ‘Dataverse’ button in Power BI Desktop in the toolbar and enter in your environment details.
90+
91+
To learn how to get your environment details and for a step by step guide on authenticating Power BI with Dataverse for Teams, check out the [View Dataverse for Teams table data in Power BI Desktop](https://docs.microsoft.com/powerapps/teams/view-table-data-power-bi) document.
92+
93+
Once connected to Dataverse for Teams, select the Table’s you wish to view in the ‘Navigator’ window and click ‘Load’. Depending on the amount of data being loaded, this can take a few minutes. Once this is completed, you can then access your Tables on the right hand side of the ‘Report’ view.
13 KB
Binary file not shown.
6.36 KB
Binary file not shown.
8.96 KB
Binary file not shown.
34.7 KB
Binary file not shown.
24.2 KB
Binary file not shown.
4.25 KB
Binary file not shown.
19.7 KB
Binary file not shown.
8.1 KB
Binary file not shown.

Templates/Employee FAQ/README.md

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
Employee FAQ PVA Template
2+
3+
## Overview
4+
5+
The Employee FAQ [Power Virtual Agents](https://powervirtualagents.microsoft.com/) template is designed to allow organizations or departments easily create a bot to handle their employee’s common questions by adding content that matches the business’s needs. Whether it’s HR, IT or other internal employee functions, the Employee FAQ bot template is a great place to start.
6+
7+
Bots are great at providing automated responses to save your organization cost and time and help your employees, and when it can’t help, it needs a way to escalate to human agents. The Employee FAQ template is a Power Virtual Agents template that can be easily customized and extended to suite your needs. It comes with a built-in capability to log an employee’s escalation request, notify a human agent, and allow them to quickly respond to the employee - all within [Microsoft Teams](https://www.microsoft.com/microsoft-teams/group-chat-software).
8+
9+
Finally, the Employee FAQ template obtains feedback from the employee on the bot’s performance so you can continuously improve the bot.
10+
11+
12+
13+
## Features
14+
15+
The template supports the following features:
16+
17+
18+
19+
#### Power Virtual Agents bot
20+
21+
- Lessons Topics
22+
- Escalation requests (allow users to make requests with a **Title** and **Description** then post the request to a team for human support with an adaptive card)
23+
- Instant chat links from the request adaptive card to talk to the user that has made a request
24+
- Resolve requests directly in teams via the adaptive card
25+
- Status (provide the status of requests for both **all** and **active** requests)
26+
- Feedback (receive and display feedback to a teams channel with adaptive cards)
27+
28+
29+
30+
#### Power Automate flows
31+
32+
- Receives and stores information into Microsoft Dataverse
33+
- Posts adaptive cards to teams
34+
- Receives information from adaptive cards
35+
36+
37+
38+
#### Power Apps - canvas app
39+
40+
- View and filter requests
41+
- View and filter feedback
42+
43+
44+
45+
## License requirement
46+
47+
Employee FAQ template can be used with Office licenses that include Power Virtual Agents. Learn more about [Licensing for Power Virtual Agents for Teams]( https://docs.microsoft.com/power-virtual-agents/teams/requirements-licensing-teams). Easy way to check is if you can launch [Power Virtual Agents Teams app](https://aka.ms/PVAForTeams) in your Microsoft Teams client.
48+
49+
As you extend the bot beyond what is included in the template, you may be required to upgrade to a premium license. Learn more on [Licensing for Power Virtual Agents](https://docs.microsoft.com/power-virtual-agents/requirements-licensing-subscriptions) on capabilities that require a standalone Power Virtual Agents subscription.
50+
51+
52+
53+
## Prerequisites
54+
55+
To install and use the Employee FAQ template you will need a Microsoft Teams account. If you do not have this, [sign up here](https://www.microsoft.com/microsoft-teams/group-chat-software) and make an account before proceeding.
56+
57+
58+
59+
## Installation
60+
61+
First, add the required apps to Teams, and create your Power Apps app:
62+
63+
1. Download the Employee FAQ template solution.
64+
2. Add the [Power Virtual Agents app in Microsoft Teams](https://docs.microsoft.com/power-virtual-agents/teams/authoring-first-bot-teams#add-the-power-virtual-agents-app-in-microsoft-teams).
65+
3. Add the **Power Apps** app in Microsoft Teams, and open it.
66+
4. Go to the **Build** tab and select **Create+** at the bottom of the list of teams.
67+
5. Select the team you want to use, and create an application. When prompted, name the application **Demo** and select **Save**
68+
69+
70+
71+
Now, import the template solution:
72+
73+
1. In the Power Apps app, select the **Build** tab to see your list of teams on the side panel.
74+
75+
76+
![Build Tab](Images\Build-Tab)
77+
78+
79+
2. Select the team you choose in the previous step from the list. The app you just created will appear in the main section of the window, this may take a few minutes to update.
80+
81+
3. Select **See all**.
82+
83+
84+
![See All](Images\See-All)
85+
86+
87+
4. On the top menu bar, select **Import**, then select **Browse** in the pane that appears.
88+
89+
90+
![Import](Images\Import)
91+
92+
5. Select the template solution you downloaded, and then **Next**.
93+
94+
6. When you see the items to choose to import, make sure everything is selected and click **Next**.
95+
96+
7. If you have connections, select them, if you do not then add them. You will need to add Microsoft Teams, Office and Dataverse connection.
97+
98+
99+
![Connections](Images\Connections)
100+
101+
8. Select **Import**.
102+
103+
104+
105+
You have now imported the solution and your can go to the **Build** tab in Power Apps to see all of your items. To use the bot, you will need to go through some additional set up steps.
106+
107+
108+
109+
## Set up your Power Virtual Agents bot
110+
111+
We need to update our Power Automate Flows, validate the bot is working and add our Employee FAQ Admin application to a teams channel.
112+
113+
114+
115+
#### Setting up Power Automate flows
116+
117+
1. In the Power Apps app, select the **Build** tab to see your list of teams on the side panel.
118+
119+
120+
![Build Tab](Images\Build-Tab)
121+
122+
123+
2. Select the team you choose in the previous step from the list, then select **See all** to view the solution overview.
124+
125+
126+
![See All Imported](Images\Imported-See-All)
127+
128+
129+
130+
3. Select **Cloud flows** on the side panel.
131+
132+
133+
![Cloud Flows](Images\Cloud-Flows)
134+
135+
136+
4. Select the **FAQ Bot - Request** flow to open it.
137+
1. Select **Edit**.
138+
2. Open the action **Convert time zone - Select Your Timezone** and set the **destination time zone** to your timezone.
139+
3. Open the action **Post adaptive card in a chat or channel - Select Team and Channel**.
140+
4. Change the **Team** and **Channel** to your desired team and channel for the feedback information adaptive card to be posted to.
141+
5. Expand the condition action.
142+
6. Open the action **Convert time zone - Select Your Timezone - Resolved** and set the **destination time zone** to your timezone.
143+
7. Select **Save**.
144+
8. Select the back arrow ←.
145+
146+
5. Select the **FAQ Bot - Feedback** flow to open it.
147+
1. Select **Edit**.
148+
2. Open the action **Convert time zone - Select Your Timezone** and set the **destination time zone** to your timezone.
149+
3. Open the action **Post adaptive card in a chat or channel - Select Team and Channel**.
150+
4. Change the **Team** and **Channel** to your desired team and channel for the feedback information adaptive card to be posted to.
151+
5. Select **Save**.
152+
153+
154+
155+
#### Bot Validation
156+
157+
1. Open the *Power Virtual Agents* Teams application.
158+
2. Select *Chatbots*.
159+
3. Select your team.
160+
4. Select your chat bot.
161+
5. Select *Publish* on the left menu.
162+
6. Select *Open the bot*
163+
7. Select *Add*
164+
8. You will now be taken to a chat window with your bot. Here you can try trigger phrases to ensure that the bot is functioning correctly. We have listed several phases you should consider trying below:
165+
1. Hello
166+
2. Talk to agent
167+
3. What is the status of my request
168+
4. Leave review
169+
170+
171+
172+
#### Set up Power App Teams tab
173+
174+
While we are setting the Canvas application up, it is important to note that you can also use the bot session performance in the PVA analytics.
175+
176+
177+
178+
1. Select **Apps**.
179+
180+
2. Select the three dots next to the app name (...).
181+
182+
3. Select **Add to Teams**.
183+
184+
185+
![Add to Teams](Images\Add to Teams)
186+
187+
4. Select **Add to Teams** on the side menu that opens.
188+
189+
5. Select the dropdown arrow and select **Add to a team**.
190+
191+
6. Search for your team.
192+
193+
7. Select **Set Up a Tab**.
194+
195+
8. Select **Save**.
196+
197+
198+
199+
You have now fully set up the Employee FAQ template.

0 commit comments

Comments
 (0)