Power Virtual Agents – Chatbot

Published: May 26, 2020

Table of Content

  1. Introduction
  2. Understand Power Virtual Agents chat bot in detail
  3. Conclusion


  • Power Virtual Agents is used to create a powerful chat bot using graphical interface i.e. without need of coding, AI expertise or deploying any solution. Thus, this tool reduces the effort required to deploy and maintain a custom solution.
  • After creating chat bot in Power Virtual Agents, you can use it anywhere i.e. in your live site, Microsoft Teams, Facebook, mobile or custom apps etc.
  • You can implement a functionality in the Power Automate Flows and can consume in it in your bot via Power Virtual Agents.
  • You can create a chat Bot using Power Virtual Agents and use it in your website for interaction with customers.

Understand Power Virtual Agents chatbot in detail

  1. Steps to create new chat bot
    • First Sign in into https://powervirtualagents.microsoft.com/en-us/ using your email. After sign in, you can create your chat bot using Power Virtual Agents.
    • Now select a Bot icon from ribbon and click on “New bot”.
      New Bot
    • Dialog box will be opened like a below image. Insert your bot name and click on Create button.
      Create a new bot
    • After creation of Bot, you will be redirected to your Bot.
      Note: You can create multiple Bots, and navigate between them by selecting the Bot icon and then selecting the specific Bot like a below image.
      Help Bot
    • Now you can start conversation with your Bot using the chat window. Enter (Hi, Hello) like phrase and click the send button. The Bot will reply in the chat window.
      Power Virtual Agents
  2. Topics
    Bot plays its conversation based on Topics defines in it. When you create bot, there are some prebuilt Topics available in it.
    From the left navigation, click on Topics and you will see the list of 12 prebuilt Topics in the newly created Bot.

    You can create your own topic by clicking on New topic.
    New Topic
    Add Topic’s Name, Description and Trigger phrases (you can add multiple phrases using Add button) in below image. The trigger phrases are used to trigger a topic when user add a phrase in the chat.

    Click Go to authoring canvas button.
    Go to Authoring Canvas
    Now, you can modify a Topic and write your own business logic in it.

    • You can add a new Node by clicking on (+) button into it.
    • You can ask question to user by adding an Ask a question node.
      Ask a Question
    • In Ask a question, you can ask a question to user and based on answer, you can show reply message to the user.
    • In below image, we have asked a question to user and allow to choice the answer options for the question.
      Trigger Phrases
    • Based on selected option, you can give response to user by adding a Show a message node like a below image.
      You have to add hardware issue request
    • You can also add other node based on your requirement from the list of node in below image.
      End the conversation
    • For condition based logic, you can use Add a condition node.
    • To call a Power Automate Flow, add Call an action node.
      Call an action
    • To jump on other topic, use Go to another topic node.
    • To finish the conversation, add End the conversation node.
      At last, save the topic and test it in the chat window.
  3. Entities
    • For storing the user answer values, Entities is used in Power Virtual Agents.
    • There are some prebuilt entities available in a newly created bot and are accessible through Entities in the Left Navigation.
    • You can add a new custom entity by clicking on New custom entity.
      New Custom Entry
    • A form will be opened for adding an entity. Add Entity’s Name, Description and List items (multiple items can be added) that may be available in your entity. Save an entity.
    • Now, this newly added entity is available to use in your topics.
  4. Analytics
    Using the built-in Analytics, you can monitor the Bot to update and enhance using an online web interface.
  5. Publish
    For deploying the latest content of your bot, you have to publish your bot by clicking on Publish.

    • Test chat bot in demo website
      • Go through Left Navigation → Manage → Channels.
      • Click on “Demo website”.
      • It will open a panel like below image. Copy the website URL.
        Demo Website
      • Open copied URL in new tab. You are able to see a site like below image and can test your chat bot here.
    • Test chat bot in live site
      • Go through Left Navigation → Manage → Channels.
      • Click on “Custom website”.
      • It will open a panel like below image. Copy the “Embed code” and put it into the site where you have to add this chat bot.
        Custom Website


With the help of this blog, you have learnt the basics ideas about creating a chat bot with the Power Virtual Agents. It allows you to serve and resolve your customer’s queries quickly without requiring any code, intermediaries or AI expertise. It effectively reduces the costs for dealing with the complex issues and improves the customer satisfaction level by providing them self-help and available for 24/7 at their service. As it don’t require a single line of code, a chat box requires no deployment of any custom solution. The chat box just requires to get publish to be available for all the customers. Connect with Tatvasoft Sharepoint Develpment team for for more information about Power Virtual Chatbot development and implementation..


  • Leave a message...

Related Articles

Power Apps – Portals (Part 3)

Sep 15, 2020

HIPAA Compliance Healthcare Software Development

Sep 9, 2020

Power Apps – Model Driven Apps (Part 2)

Sep 7, 2020