Giter VIP home page Giter VIP logo

microsoft-teams-apps-adopt-bot's Introduction

Adoption Bot 2022

Adoption Bot is a user care chat bot built with Power Virtual Agents for Microsoft Teams (PVA) and the Employee FAQ Template. Out of the box, Adoption Bot answers 100+ common questions about Microsoft Teams and Microsoft 365. You can edit the included topics, add your own topics, or ingest your existing FAQs in bulk. If users need additional help, Adoption Bot can connect them to experts or be extended to open service tickets in ITSM with Premium Power Automate connectors.

New with Adoption Bot 2022:

  • Numerous improvements forked from Employee FAQ Bot Template
  • Dataverse for Teams stores Ask an Expert request status and captures resolved requests
  • Status Flow for users to check the status of their requests
  • Adoption Bot Canvas app to allow experts to review request status and feedback from users
  • 103 updated Teams and M365 QnA pairs in English

Benefits:

*Use of bots to handle employee questions reduces the number of IT and HR support tickets by 10% to 15%. Source: Forrester Consulting Total Economic Impact™ Of using Microsoft Teams as a platform and Teams with Power Platform

Cost

Adoption Bot 2022 is free for most Enterprise customers for use in Teams. Adoption Bot 2022 and Power Virtual Agents app in Microsoft Teams are available as part of most Microsoft 365 subscriptions and use standard connectors.

Prerequisites

  • Subscription that includes Power Virtual Agents for Teams. Most plans except A1, F1 and SUB SKUs. note for full details see Get access to Power Virtual Agents - Power Virtual Agents | Microsoft Docs
  • Access to Power Virtual Agents for Teams App to deploy and customize the Bot
  • Microsoft Teams Team to host the Bot/Dataverse and Ask an Expert and Submit Feedback escalations to land (Team Owner)
  • Required network access to PVA service endpoints listed here

Deployment Guide

First, add the required apps to Teams, and create your Power Apps app:

  1. Download the Adoption Bot 2022 solution Zip file.
  2. Add the Power Apps app in Microsoft Teams, and open it.
  3. It will open the app in Home tab and select Start now.
  4. Select the team you want to use, and Create an application. If this is the first time you are creating an app in the team, it will take a few seconds to setup a Dataverse database before you are prompted to name the application. When prompted, name the application Demo and select Save.D

Next, import the template solution:

  1. In the Power Apps app, select the Build tab to see your list of teams on the side panel.

image

  1. 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.
  2. Select See all.

image

  1. On the top menu bar, select Import, then select Browse in the pane that appears.

Image

  1. Select the template solution you downloaded, and then Next.
  2. When you see the items to choose to import, make sure everything is selected and click Next.

image

  1. If you have connections, select them, if you do not, then add them. You will need to add Microsoft Teams, Office and Dataverse connection.

Image

  1. Select Import. Note: the import will take a few minutes

image

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.

image

Set up and validate Adoption Bot

We need to update Power Automate Flows, validate the Adoption Bot is working and add our Adoption Bot Admin application to a teams channel. Once this section is completed, the Adoption Bot bot's escalation flow will be up and running and ready to be added with your organization's content.

Setting up Power Automate flows

  1. In the Power Apps app, select the Build tab to see your list of teams on the side panel.

image

  1. Select the team you choose in the previous step from the list, then select See all to view the solution overview.

image

  1. Select Cloud flows on the side panel.

image

  1. Select the Adoption Bot – Ask an Expert flow to open it. This flow takes employee's escalation request and notify human expert in a team channel.
  2. Select Edit
  3. Open the action Convert time zone - Select Your Timezone and set the destination time zone to your timezone.

image

  1. Open the action Post adaptive card in a chat or channel - Select Team and Channel. Note: this is at the bottom of the Post Action
  2. Change the Team and Channel to your desired team and channel for the feedback information adaptive card to be posted to. Note: you may want to create a new channel in yout team to host Ask an Expert Requests

image

  1. Expand the condition action.
  2. Open the action Convert time zone - Select Your Timezone - Resolved and set the destination time zone to your timezone.

image

  1. Select Save.

  2. Select the back arrow ←.

  3. Select the Adoption Bot - Feedback flow to open it. This flow takes employee's feedback and post into a team channel for human expert to review

  4. Select Edit.

  5. Open the action Convert time zone - Select Your Timezone and set the destination time zone to your timezone.

image

  1. Open the action Post adaptive card in a chat or channel - Select Team and Channel.
  2. Change the Team and Channel to your desired team and channel for the feedback information adaptive card to be posted to.

image

  1. Select Save.

Bot Validation

  1. Add the Power Virtual Agents app in Microsoft Teams, you can search for it directly in Microsoft Teams app store.
  2. Open the Power Virtual Agents Teams application.
  3. Select Chatbots.

image

  1. Select your team.
  2. Select your chat bot.
  3. Select Publish on the left menu, Select Publish button and Publish again .

image

  1. Select Turn on Teams.

image

  1. Select Open the bot.

image

  1. Select Add to add the bot into Microsoft Teams for yourself

image

  1. 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:
  • Hello
  • Ask an expert
  • What is the status of my request
  • Submit feedback
  1. For Ask an expert and Submit feedback, make sure to check the bot posts request and feedback to the team and channel you configured earlier. Note that you won't be able to deep link to yourself from the request adaptive card if you are the same person requesting it.

Set up Power App Teams tab

You can review the bot's performance in Power Virtual Agents built-in analytics dashboard. In addition to the dashboard, Adoption Bot also comes with a Canvas app to allow experts to review the verbal feedback from employees.

  1. Open the Power Apps for Teams app and the Build Tab.
  2. Select your team
  3. Select See All.

picture31

  1. Select the three dots next to the Adoption Bot Admin App (...).
  2. Select Edit.

image

  1. Select Publish to Teams on the upper right.

image

  1. Select Next.

image

  1. Select your team and channel where you want to pin the Adoption Bot Admin App.

image

  1. Select + Add app as a Tab.

image

  1. Select Save and close.
  2. Open your team
  3. Select the Adoption Bot Admin tab

image

  1. Once selected you will see the Adoption Bot Admin Canvas App. You will be able to view requests and feedback.

image

Next steps

You have now fully set up the Adoption Bot template. The next step is to go to Power Virtual Agents Teams application to add FAQ content for the bot to answer your organization's questions. Extension documentation

Adding bot content in Power Virtual Agents

The Adoption Bot template can easily be extended in Power Virtual Agents Teams application by adding new topics, messages, questions, actions and more.

As a starting point, 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. Yyou can freely edit the topics or simply create new topics to handle any additional areas you wish to include. You can also quickly and easily add new topics with the built-in topic suggestion feature.

Reach out to the Github Repro here or the PVA Community for help and ideas from our community members.

Making the bot available to employees

Once you are satisfied with the bot's content, it's time to make it available to employees. You can easily make the bot available in Microsoft Teams app store by following the steps to share the bot with your organization. We recommend to partner with your IT admin to also pre-pin the bot on the left rail so employees can easily discover the bot in Microsoft Teams without needing to manually install it. Learn more about best practice guidance to partner with admin to roll out bot in Microsoft Teams.

Alternatively, you can also directly share the bot's installation link with others in the organization without going through the admin approval process. Make sure you change the bot's access to fit your target audience so they have permission to install the bot.

Brand Adoption Bot for your organization

Optionally, you can give the bot a name that makes sense to your organization. To change the Bot name and icon, click Manage and Details. Click save at the top.

image

Contributing

Special thanks to contributors Aditya Challapally, Michael Chow, Flow-Joe, Belinda Parker and Nidhi Shandilya who helped create and launch this app template.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

microsoft-teams-apps-adopt-bot's People

Contributors

hickey77 avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

microsoft-teams-apps-adopt-bot's Issues

Ask an expert is not working

Hi Team,
Deployment app template by following deployment guide. But when we ask for an expert by giving title and description, app is throwing following error:

Sorry, the bot can't talk for a while. It's something the bot's owner needs to address. Error code: 2012. Conversation ID: 1oX8oqktQe3L8Aq057XA3W-k. Time (UTC): 2/10/2021 11:17:09 AM.

Sent at February 10 at 4:47 PM
Bot true said:
We couldn't find in . Please check your content.

image

Error when clicking "Ask an Expert" or "Submit Feedback"

Hello,

I have been able to configure the bot and its working fine for regular queries. However, when I tried to click on "Ask an Expert" or "Submit Feedback" following error is received:

Sorry, the bot can't talk for a while. It's something the bot's owner needs to address. Error code: 2012. Conversation ID: a:1WSwcU4fTwdGwkx9wUel31Jyr7ys8zqlN5r2k39e7Q_PAPa1k5DLTbEkjK5abRw1KXQoh8Lh77gjBZXwWuod5eboB2UqmT3FiLo86fKtbDfMqleYju3OMaVPQAZpo0tHH. Time (UTC): 1/29/2021 7:08:54 PM.

Please help to resolve this.

failed to import duplicate template with same Teams group

We have imported and published template with a Teams group and then we got a request to implement duplicate template with same Teams group but it failed and replaced the first template instead of importing as duplicate.

For testing purpose, we are able to import same template in another group but admin required to keep duplicate template in same Teams group.

Power Automate Import Problem

i've tried import the AdoptionBotPVA2021_1_0_0_5.zip to Microsoft Powre Automate, but not working. I've tried 3 separeted M365 tenant.
import_package_error

Step 31 doesn't work.

Dear Hickey77

Thank you for sharing your awesome solution.
Please let me suggest this issue.

[as is: ]
You say like this in README.md. So I input Team's name and Channel's name, but this flow doesn't work.

  1. Change the Team and Channel where you want to Submit Feedback escalations to land. In My Case I created a Team called M365 Champs | Adoption Bot Feedback. Note: if using a service account, the service accounts needs to be a member of this Team to show up here.

Otherwise, I input Team's ID and Channel's ID, this flow works correctly.

[to be:]
Please confirm step 31 and consider correcting step 31 in README.md.

[environment:]
This situation has occurred in my tenant.

Almost works untill you select Add..."Something went wrong"

This was pretty easy to follow, the app is added to my tenant and I see it in the Org store but when I try to add it is says "Something went wrong." I've rebuilt it a few times, I keep getting the same message. No way to tell what is wrong it just keeps saying that. What do I do now? There is no error code or anything I can tell to troubleshoot this.

The solution cannot be imported

I have followed the deployment steps and when I click on import and select the file I see this issue:
The solution file is invalid. The compressed file must contain the following files at its root: solution.xml,
customizations.xml, and [Content_Types].xml. Customization files exported from previous versions of Microsoft
Dynamics 365 are not supported.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.