{"id":33883,"date":"2022-01-27T09:39:26","date_gmt":"2022-01-27T14:39:26","guid":{"rendered":"https:\/\/centricconsulting.com\/?p=33883"},"modified":"2022-03-07T14:38:09","modified_gmt":"2022-03-07T19:38:09","slug":"microsoft-power-virtual-agents-or-how-to-talk-to-a-machine","status":"publish","type":"post","link":"https:\/\/centricconsulting.com\/blog\/microsoft-power-virtual-agents-or-how-to-talk-to-a-machine\/","title":{"rendered":"Microsoft Power Virtual Agents (Or, How to Talk to a Machine)"},"content":{"rendered":"

Power Virtual Agents (PVAs) are Microsoft chatbots created for the Power Platform. But unlike previous Microsoft chatbots, PVAs don\u2019t require custom code \u2014 presenting new opportunities for citizen developers.<\/h2>\n
\n

If you’ve surfed the web, shopped online or simply asked Alexa for today’s temperature<\/a>, you’ve probably run across a chatbot. Chatbots provide an automated way for your customers or end users to ask questions and get responses quickly. As automation becomes more ubiquitous, chatbots can help fill a vital bridge between your users and your systems.<\/p>\n

In my job, many of my daily activities are simply answering questions from my clients and co-workers. I can guarantee if my bosses could suck out all my knowledge and augment my activities with a chatbot, they absolutely would.<\/p>\n

How Can Power Virtual Agents Help?<\/h2>\n

Power Virtual Agents<\/a> bring the low-code revolution to your chatbots! The Power Virtual Agent designer provides a visual interface in which you can add Questions, Responses, Conditions and Actions and then publish your chatbots to Microsoft Teams<\/a> or embed them into a website.<\/strong> By creating PVAs with low code, your development to production pipeline becomes more rapid, making it much easier to refine your chatbots over time.<\/p>\n

\"Power<\/a><\/p>\n

In addition, chatbots come with a wealth of analytics, so you can monitor and refine the performance of your Questions, Responses and Actions to improve what each chatbot can, and should, handle for your customers:<\/p>\n

\"Power<\/a><\/p>\n

What If I Want It to Do More?<\/h2>\n

PVAs bring low-code chatbots to your organization, but they’re not strictly limited to low code<\/a>. You can extend the functionality of a PVA with the Bot Framework with Skills.<\/strong> Skills are custom-code solutions that can perform a series of actions the PVA can call to perform complex operations \u2014 anything from writing to a database or connecting to Azure Services and much more.<\/p>\n

In addition to skills, artificial intelligence (AI) capabilities currently in Preview on the platform can perform tasks like conversing with the PVA or automatically suggesting topics to end users based on their previous interactions with the PVA.<\/p>\n

These PVAs Sound Cool, But How Much Do They Cost?<\/h2>\n

The good news is that the PVA licensing model is very simple.<\/strong> For retail, it’s $1,000 per month for 2,000 sessions (a session is a single two-way conversation between the chatbot and the end user). An add-on license is available that allows you to purchase additional sessions for $450 per month for each additional 1,000 sessions. While that may give you some sticker shock, the ease with which you can get PVAs up and running to help your end users makes it more enticing than months of custom coding and testing, which can cost even more.<\/p>\n

Is It Easy to Build One?<\/h2>\n

Let\u2019s make one to find out. In this example, we will create a very simple chatbot to demonstrate how PVAs can help accelerate chatbot creation. First, navigate to https:\/\/make.powerapps.com\/<\/a>, expand Chatbots, and then click Create. For this example, we will select the \u201cBasic Conversational Bot\u201d template.<\/p>\n

\"Power<\/a><\/p>\n

The chatbot we are going to build will help us find information on Power Platform<\/a> licensing by using the Suggested Topics feature to crawl the Power Platform Licensing PDF as well as the FAQ listed on Microsoft\u2019s website. Suggested Topics uses AI to analyze and recommend the most likely topics that appear in the documentation.<\/strong> You can then connect Suggested Topics to any publicly available document or site for it to read from.<\/p>\n

\"Power<\/a><\/p>\n

It will take a few minutes to crawl all the information you feed it, but once the process has finished, it will return all the suggested topics it has found<\/p>\n

\"Power<\/a><\/p>\n

By clicking Suggested, you can see all of the possible topics. In my case, the chatbot found 391 new topics to choose from. Each topic is a possible question and answer pair users can leverage when conversing with the chatbot. On the Suggested tab, I can review all of the pairs pertinent to what I want the chatbot to convey.<\/strong><\/p>\n

\"Power<\/a><\/p>\n

I can then highlight the topics I want to include in the chatbot and move them to Existing Topics so they can be modified or enhanced.<\/p>\n

\"Power<\/a><\/p>\n

To change the topic, I can highlight it and then click \u201cGo to authoring canvas.\u201d<\/p>\n

\"Power<\/a><\/p>\n

Within the Authoring Canvas, I can then modify the message that the chatbot will return when they ask that particular question. I can also add in Conditions (and Actions) to be performed during this topic. For instance, if I wanted to send the user an email about this topic, I can attach a Power Automate flow to send that email or do any other function developed in a Flow.<\/strong><\/p>\n

\"Power<\/a><\/p>\n

I can also test the chatbot inline to see what will happen when the user asks a specific question, which can greatly speed up the development and testing of numerous different conversational topics.<\/p>\n

\"Power<\/a><\/p>\n

When I\u2019m satisfied with my chatbot, all I need to do is click Publish to deploy all the changes I\u2019ve made to the chatbot and prepare it for accessibility (either internally with authentication or publicly available anonymously).<\/p>\n

\"Power<\/a><\/p>\n

Finally, I can grab my code snippets based on the channel I want my chatbot to serve. In the example below, I want to deploy it to a publicly available website.<\/strong> I can copy and paste my embed code into the web pages I am serving up.<\/p>\n

\"Power<\/a><\/p>\n

Conclusion<\/h2>\n

I hope you find creating chatbots with PVA useful, especially if you want to help your employees or customers with automation. It\u2019s an excellent skill set for citizen developers to have.<\/p>\n","protected":false},"excerpt":{"rendered":"

Microsoft Power Virtual Agents (PVAs) are Microsoft chatbots created for the Power Platform. But unlike previous chatbots, PVAs don\u2019t require custom code.<\/p>\n","protected":false},"author":86,"featured_media":33897,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[1],"tags":[18559,23639],"coauthors":[15564],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2024-07-21 21:47:16","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category"},"_links":{"self":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts\/33883"}],"collection":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/comments?post=33883"}],"version-history":[{"count":0,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts\/33883\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/media\/33897"}],"wp:attachment":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/media?parent=33883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/categories?post=33883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/tags?post=33883"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/coauthors?post=33883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}