|
| 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 | +  |
| 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 | +  |
| 85 | + |
| 86 | + |
| 87 | +4. On the top menu bar, select **Import**, then select **Browse** in the pane that appears. |
| 88 | + |
| 89 | + |
| 90 | +  |
| 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 | +  |
| 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 | +  |
| 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 | +  |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | +3. Select **Cloud flows** on the side panel. |
| 131 | + |
| 132 | + |
| 133 | +  |
| 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 | +  |
| 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