Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Empowering Organizations with Power Virtual Agents
Empowering Organizations with Power Virtual Agents

Empowering Organizations with Power Virtual Agents: A practical guide to building intelligent chatbots with Microsoft Power Platform

eBook
€8.99 €23.99
Paperback
€29.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Empowering Organizations with Power Virtual Agents

Chapter 1: Introducing Power Virtual Agents

Welcome to a new adventure. You might have encountered various incarnations of chatbots over the years but not even realize what they are or how they work. This book is about to change all of that.

This is not a new topic or a fashionable episode in technology that will fade away. The time is now to start adopting these capabilities and putting your organization on the path to success.

In this chapter, we will focus on a historical overview of chatbots. We will be touching on the following:

  • What is a chatbot?
  • What is Power Virtual Agents?
  • How does Power Virtual Agents add value?
  • How does licensing work for chatbots?

Grab a coffee and let's get going.

What is a chatbot?

Chatbots, or simply bots for the context of this book, are not something new. They are almost as old as the internet. Of course, they evolved at different stages, taking various shapes and forms.

At a high level, the definition of a bot is a piece of software, or an application, that performs an automated task or set of tasks.

Way back in the beginning, chatbots were doing this by running a script or a set of scripts. This is nothing more than automating a set of commands.

If you think about it, it is pretty obvious how this would be valuable. It has been recognized that when dealing with repetitive tasks, leveraging a bot can not only take some of the workload from humans but also perform these tasks much faster and much more accurately.

This might sound familiar to those of us who have looked at how the personal computer was born. Not only have chatbots been around for almost as long as the personal computer, but they are now as important and prevalent as the personal computer, as we will see when we look at internet traffic consumption later in this chapter. As a matter of fact, the Encyclopedia Britannica defines a computer as a device for processing, storing, and displaying information (https://www.britannica.com/technology/computer).

But let's take a step back in time and look at some history. Bear with me here; this will set the necessary context for where we are going.

A condensed history of bots

The internet took shape in the 1970s. But it only caught the attention of the general public in the early 1990s. So, when I mentioned in the introduction that bots are almost as old as the internet, I was not lying.

Some of the first appearances of bots can be traced back to 1988. Yes, you read that right. Their preferred cradle at the time was a network called Internet Relay Chat (IRC). For those of us with gray hair, or no hair left at all, this will be familiar. We used to spend entire nights exchanging information and finding things out, reading documentation and other materials shared, among other things. Various servers were powering different networks with multiple channels, some more friendly or interesting than others. Funnily enough, IRC is still around; you can always poke around and find out more about it.

Those early bots provided all sorts of automation in a channel. From keeping a channel active, recognizing users, and providing them with moderator or administrator status, to responding to specific commands and even returning automated messages or documents, they were ubiquitous in that space.

As a matter of fact, they were extremely important. Due to the nature of IRC, a bot was always used by an established channel in order to keep the channel open and to prevent malicious users from taking over that channel. At the time, these kinds of bots were run from machines with long uptimes, typically running some version of BSD or Linux.

As they started to show true value, they started to become more refined and to escape the confines of IRC. They also started to separate functionality. Some bots are designed for the repetitive execution of tasks, while others are more inclined toward conversation. And that's how chatbots were born.

Some of the first incarnations of bots outside of IRC though were in fact web crawlers. To be more specific, the first such bot was called WebCrawler, and it was created in 1994. It went from AOL to Excite. But the most famous web crawler was created in 1996. It was named BackRub and was later renamed Googlebot.

Important note

To find out more about BackRub, take a look at the following link: https://en.wikipedia.org/wiki/History_of_Google#BackRub.

But bots have not always been used for a good cause, as we will see in the next section.

Malicious use of chatbots

As bots became recognized for their power and usefulness, they started to catch the attention of various malicious groups. Just like everything on the internet, they started to take on a life of their own, varying based on the group that adopted them.

Besides the obvious valid and good use cases, bots started to be adopted and used for malicious use cases. Having the ability to perform a large set of actions in an automated way was appealing to all.

Between the years 1999 and 2000, several incarnations of malicious bots and botnets (groups of bots working in conjunction) started to appear, for which people were unprepared. Some of these activities started through IRC but then expanded into the wild.

The year 2007 brought us one of the largest botnets at the time, called Storm. It was estimated that the botnet infected 50 million computers. There were various programmed use cases and scenarios leveraged in the attack. While negative in its intended use, it did show that bots can really scale.

Some of these use cases include actions such as sending large numbers of spam emails, identity theft, unauthorized distribution of malware, DDoS attacks, bots for artificially increasing traffic and revenue on advertising, game cheating bots, and many more.

But it is not all bad, so let's shift gears and fast forward a little.

Fast forward to today

What we know and use today on the internet was shaped in great part by bots. Starting with the assistance provided on various IRC channels, or the web crawlers that put information at the fingertips of users, bots evolved into indispensable tools for many business use cases. The ability to automate processes, as well as the power to interact with bots through normal conversation, became an indispensable tool. As technology evolved, so did the capacity of bots. We can now create smarter, faster, and better bots. Bots assist us in doing our day-to-day activities, assist our customers, and provide a differentiator for businesses that adopt and use them wisely. The current business landscape has evolved to leverage bots at scale.

In fact, bots are currently adopted so much that some statistics show that out of today's web traffic, roughly half is bot-generated traffic. As technology evolves, exponential bot traffic growth is expected. This will be driven by technologies such as Artificial Intelligence (AI) and Artificial Intelligence of Things (AIoT) and the ability to implement conversational scenarios through natural language processing.

Let's just look at the Turing test, developed in the 1950s. It was meant to test the ability of a machine to have a conversation with a human in an indistinguishable manner from a normal conversation between two humans.

As AI-infused conversational chatbots have taken shape, their uses have extended into various scenarios, including the following:

  • Messaging applications, either as part of websites or baked into various applications.
  • Marketing platforms with a focus on external customers and potential customers.
  • Company internal platforms focused on serving internal users and employees.
  • Customer service scenarios targeted at helping existing customers.
  • Healthcare scenarios for scheduling appointments, locating services, or providing basic medical information.
  • Toys are getting smarter, with educational scenarios for various ages.

Chatbots are used in many other scenarios too.

In today's business world, chatbots will have an essential role to play. Let's look at the expected impact next.

Impact on organizations

As organizations of all sizes strive to evolve and compete with one another, part of their digital transformation strategy is to look at the use of bots.

Also known as enterprise chatbots, bots can serve various use cases in business, including the handling of customer-facing functions such as managing order status updates, cancellations and returns, account balance and payment processing, and customer service through automated support, all of which lessen the load on customer support and other teams.

Through integration with various automation processes, including Robotic Process Automation (RPA), enterprise bots can not only increase customer satisfaction and provide better and faster services but also greatly reduce expenses, reduce workload on support staff, and serve various other purposes.

We do have to recognize, though, that while bots have gotten smarter and can do more, they are not in a position to replace humans. Hence, their position is ideal as a first line of contact, but processes will be escalated to a human team for more complex scenarios or scenarios that are not pre-determined.

Furthermore, the technological evolution over the last several years has brought us the democratization of bots and the bot creation experience. A multitude of platforms now allow non-developers to start creating basic bots for various scenarios.

To somewhat differentiate them from the old, negative connotation associated with the bot nomenclature, but also to more closely describe a specific category of services offered by bots nowadays, we find bots being referred to as virtual agents. Organizations have offerings of great value, such as the following:

And these are only some of the larger offerings. There is a whole range of solutions available from smaller vendors.

The differentiating factors between these offerings are their ease of use and creation, their ease of integration into various applications and services, their capability to leverage AI, their capability to resolve real use case scenarios in the most efficient manner possible, their capability to monitor their evolution and performance, and their ability to manage any associated risks. As AI is becoming more embedded in technology, ethics is a new topic on the table as well. The ethical consideration is at the forefront of a lot of new technologies, as we strive to make sure that the use of these platforms serves a real purpose and does not have a negative impact on people.

Some of the most common scenarios for enterprise virtual agents include the following:

  • Support bots aimed at providing real-time help to customers
  • Informational bots providing additional context in specific scenarios
  • Application bots providing specific application access
  • Enterprise productivity bots enabling organizations to streamline and integrate systems and processes

From a visual perspective, these chatbots are presented in various ways. It is often up to the design team to define the look and feel of chatbots on their specific target locations.

From a web presence perspective, the visual presentation often takes a cue from the overall web design, keeping with the tone of the branding of the respective site or pages where the chatbot is present. Let's have a quick look at some of the formats for presentation, as seen with a few of the larger providers of this service.

ServiceNow presents on their platform page a minimalistic chatbot at the bottom right of their page; it looks like this:

Figure 1.1 – ServiceNow chatbot

Figure 1.1 – ServiceNow chatbot

To make it obvious that a user browsing this page can engage with the chatbot, a starting message is also presented in a conversation bubble.

IBM, on the other hand, takes a more simplistic approach, presenting a simple icon:

Figure 1.2 – IBM chatbot

Figure 1.2 – IBM chatbot

When clicked, a conversation window is presented to the user, as presented in the following screenshot:

Figure 1.3 – IBM chatbot conversation window

Figure 1.3 – IBM chatbot conversation window

Other organizations take a less conservative approach, by presenting the chatbot trigger with a graphic representing a robot, as we see in the following example from ShareGate:

Figure 1.4 – ShareGate chatbot

Figure 1.4 – ShareGate chatbot

Besides the custom-designed representations, there are many options for free graphics-depicting chatbots available on various sites that serve stock images. These can be used to put a face to your virtual agent.

It is not uncommon for these chatbots to receive a name and even a person's image or avatar in order to make them a little more personal. You might see messages such as the following, presented by the Amtrak virtual assistant:

Figure 1.5 – Amtrak chatbot

Figure 1.5 – Amtrak chatbot

Typically, you will see these chatbots presented at the bottom right of a web page. Note that not all elements positioned in that area of the presented web page are chatbots. Chatbots will not always be presented in that particular page area. It is simply a design decision rather than a standard. Historically, the bottom-right area of a web page was the space used by organizations for mailing list subscription buttons or social network links. A little bit of healthy competition for that screen real estate takes place sometimes.

Now that we understand more about chatbots and have seen how other organizations create and present chatbots, let's next focus our attention on the Microsoft offering.

What is Power Virtual Agents?

Power Virtual Agents is Microsoft's offering in the chatbot space. As organizations start to realize the importance of such a service, Microsoft joins the ranks of other vendors providing solutions in this space.

As we have just seen, there is quite the competition going on in the chatbot space, with offerings from all the big players in the industry, including Google, IBM, Amazon, ServiceNow, and others. Furthermore, there are offerings from small, specialized players with solutions tailored for various industries and various degrees of complexity or simplicity.

Around 2016, Microsoft recognized the potential of the bot offering for the masses and began its foray into this space with the introduction of Bot Framework. This was, at the time, a very developer-focused offering, with the ability to build complex bots using languages such as C# and Node.js as the core.

This robust framework was presented in conjunction with the Microsoft Cognitive Services offering, as well as the expansion of Cortana and chatbots into Skype. It is acknowledged that Cognitive Services played a role in the success of conversational chatbots.

The main components of Bot Framework included the following:

  • Bot Framework Service (BFS)
  • Bot Framework SDK (Software Development Kit)
  • Bot Framework tools for development
  • Bot deployment and channel configuration

As the resource needs for such a comprehensive offering are great, some Azure supporting services are leveraged, including the following:

  • Azure Cognitive Services
  • Azure Storage

The adoption of cloud services is now essential for such solutions.

Value to these offerings is provided through services such as the following:

  • LUIS – natural language processing
  • QnA Maker – answering questions in a natural way
  • The Dispatch tool – allows for the selection of the correct tool for each scenario type
  • Cards – complex presentational elements that include graphics, menus, and other artifacts to augment standard text presentation and provide a better user experience

The next evolutionary concept revolves around the ability of the bot to provide a REST endpoint to be called by the Bot Connector service. Having the ability to bypass the SDK, you can now create bots with other languages, such as Python. With version 4 of the SDK, support has extended to languages such as Python, Java, and JavaScript, along with the existing C# capabilities. All this was happening around 2018.

Important note

The Bot Framework SDK is in fact an open source SDK. This is a testament to Microsoft's renewed commitment to the community, and a stark contradiction to other organizations' walled gardens of proprietary solutions.

The most common channels supported by connectors include Facebook, Messenger, Slack, Teams, Telegram, Twilio, and many others.

Improvements and new features are continuously being added. For example, in 2020, a new implementation of Azure Blob Storage for better performance occurred, as well as better integration with Azure Queue Storage. Bots talking to other bots is possible through API communication or even through RPA.

Fast forward to the end of 2019, and Microsoft introduced the public preview of Power Virtual Agents for the first time. Wrapped in the Power Platform, it now provides users the ability to create chatbots in a no-code manner. Leveraging Azure AI and a specific toolset for building bots, the aim is to expand creation capabilities to allow citizen developers (your typical business users that do not have a development background), along with IT pros and pro-developers, to create and deploy chatbots with minimal effort and custom coding.

The new offering relies heavily on AI functionality to understand intention from existing conversations without the need to define all possible key phrases. It also relies on other features such as Power Automate to trigger specific actions on other platforms.

Another key aspect is the ability to generate and capture advanced analytics. You can easily track where the bot fails to provide the right answers and easily make adjustments to improve communication. A robust analytics dashboard provides deep insights into engagement over time, outcomes over time, resolution, escalation and abandon rates, as well as, when configured as such, customer satisfaction.

A lot of the analytics we were looking for in a regular customer service agent interaction are now bubbled up and presented to the administrator for the bot interactions. And this being a scripted process, you can easily go in and adjust the process as needed for better results.

The process to create new bots is now streamlined to the point where basic bots can be created by users with no development knowledge. Simple conversational bots can be created, monitored, and optimized by business users. This is part of a trend identifying these users as citizen developers. The bulk of the experience is built around a streamlined user interface that allows for configurable processes.

The developer role in the chatbot space

That is not to say that the role of IT pros or pro-developers becomes obsolete. Developers will always play an important role, especially when dealing with more complex or custom scenarios. The expectation is that developers will start to understand and leverage the tools available in their tool belts and use a no-code approach where possible. The advantages are obvious, with the ability to create processes and scenarios that require less effort to produce, less overhead in future maintenance, and a more streamlined product that protects the assets created from the unnecessary complexity that comes with custom development. This applies across the entire Power Platform and is not something specific to Power Virtual Agents. A configuration-first approach provides the ability to support the created assets in the future with fewer overheads and reduces the need to call upon a technical partner or internal pro-developer resource to support these assets in the future. It generally puts the power in the hands of IT pros, or even less technical and more business-focused people.

An important aspect is the understanding of the technology, best practices, and overall governance. While now we can allow non-developer users the ability to create business value through a no-code approach, we still need to enforce certain rules for better operation of the business assets created.

For those of us coming from the development world, this might sound a lot like the start of a typical Dynamics 365 (CRM) implementation, where a business analyst would start to mock up the requirements through simple configurations. As we've all seen so far, in some scenarios we could continue to build on top of those configurations, while in many other scenarios, we wind up leveraging those configurations only for the initial discussions with our customers and end up starting with a configuration from scratch. It all depends on the level of understanding of the platform capabilities from those resources that were involved in the initial stages of a project.

Overall, as those business analysts become more familiar with the platform, best practices, and overall design, more of what they produce in those initial stages will be reusable down the road.

From a user experience perspective, the bot creation and editing interface is simplified, as we can see in the following screenshot, which shows a brand-new bot I just created:

Figure 1.6 – Power Virtual Agents bot authoring

Figure 1.6 – Power Virtual Agents bot authoring

The left navigational area presents the various category options available, including the topics, the entities our bot will interact with, standard analytics on the performance of our newly created bot, and the ability to publish our bot to a selected channel. The Manage section provides detailed bot configuration options. We will be looking at each of those areas in more detail throughout this book, as we begin to build specific bots to serve various purposes.

The next area to the right of the navigation is the Test bot panel. This is where we can run and interact with our bot as we are building it, allowing us to validate the logic and the expected behavior. We can always show or hide this area as needed. Typically, we will keep this section closed to maximize the edit area while we are building our bot logic.

Finally, the right-most area covering the majority of the screen is the editing area. While on the Home area, this will present various details on how to get more information about building bots. This is a great place to start when learning about bot creation, as it provides links to the most relevant learning materials available from Microsoft.

As you move through to any of the other categories, you will find you are able to configure the details of the bot behavior. Again, don't worry if you are unfamiliar with these options at this time; we will inspect and analyze each of these options throughout this book.

Note that at the time of writing, there are two distinct scenarios envisioned for Power Virtual Agents. They are presented as the following versions:

  • Power Virtual Agents web app: This is meant for creating bots that will integrate into existing or new web applications or mobile applications. This is what we saw in the previous screenshot and is aimed at users creating bots that will interact and engage with customers. These are, for the most part, publicly available bots. Of course, there is nothing stopping you from creating and presenting these bots on an intranet portal to internal users and taking advantage of internal authentication, as we will see in Chapter 6, Handling Authentication and Personalization.
  • Power Virtual Agents Microsoft Teams app: This is meant for supporting existing employees of your organization. By definition, they are not exposed publicly and are only aimed at supporting your staff, team members, or any other internal resources. In many cases, you can leverage existing Microsoft 365 licensing, which includes the standard Office functionality along with several cloud services such as SharePoint, OneDrive for Business, Exchange, Teams, and others.

We will see throughout the book how to build bots for both these scenarios and will gain a better understanding of the differences.

Now we know what Power Virtual Agents is, let's look at its value and benefits.

How does Power Virtual Agents add value?

Power Virtual Agents is an integral part of the Power Platform, a robust offering from Microsoft targeting the no-code marketplace. As such, for organizations invested heavily in Microsoft technologies, it simply makes perfect business sense to obtain services that would keep them in the same technology realm. This provides easier maintenance, less of a need to reskill existing support and administration staff, and a better integration story across the board.

In addition, Power Virtual Agents leverages some of the same technologies that other platforms use, for example, Dataverse. Dataverse is the data model formerly known as Common Data Service (CDS) – it powers a few other solutions in the business applications space and can also be leveraged with other components of the Power Platform. This allows the creation of unified solutions, sharing data, and creating robust business processes unbound by standard application limitations.

Also, from a licensing perspective, the ability to leverage Power Virtual Agents with your Microsoft 365 license allows organizations to start taking advantage of these features without incurring any additional costs.

From a usability perspective, with Power Virtual Agents being an integral part of the Power Platform, you have the ability to leverage a large number of pre-built connectors and services to increase the capability of the services you provide through chatbots.

Finally, from a user experience perspective, the ability to use Power Virtual Agents through a common interface, similar to other Microsoft services, provides a level of familiarity to users. This greatly reduces the need for training and adjustments from one solution vendor offering to another.

These are only some of the highlights; there are a lot more benefits to implementing chatbot functionality using Power Virtual Agents, as we will continue to see throughout the following chapters.

In the next section, we will tackle the licensing aspect of Power Virtual Agents at a very high level.

How does licensing work for chatbots?

While this is not a comprehensive licensing guide, I want to start touching on this topic right from the first chapter. Licensing is extremely important to understand when designing solutions, in particular solutions spanning multiple technology stacks. Licensing Power Virtual Agents is tightly integrated with the Power Platform general licensing. We will be looking at more licensing details and how to estimate licensing requirements in Chapter 2, Licensing for Power Virtual Agents.

Microsoft provides a comprehensive Power Platform licensing guide that you should be reviewing to understand the intricacies and details related to licensing various components of the Power Platform. Power Virtual Agents being one of the Power Platform service offerings, it is also covered in this licensing guide.

Microsoft revises this guide with every release, and you should always refer to the latest version. At the time of writing, the current version is the November 2020 guide, which is available to download from the Power Virtual Agents pricing page at https://powervirtualagents.microsoft.com/en-us/pricing/.

Keeping in line with the separate offering for Power Virtual Agents, the licensing provides two distinct options for Power Virtual Agents for the web versus Power Virtual Agents for Teams.

We have a tenant license available for Power Virtual Agents, which covers the functionality for the respective tenant it is associated with. The user licenses are licenses assigned to bot authors. They are available at no additional cost on a tenant with a Power Virtual Agents license and can be assigned by an administrator through the admin portal. This is done through the Microsoft 365 admin center, as shown in the following screenshot:

Figure 1.7 – Licenses

Figure 1.7 – Licenses

To view the available licenses in your tenant, you can navigate in the admin center to the Billing area and look at the Licenses tab, as shown in the following screenshot:

Figure 1.8 – Licenses tab

Figure 1.8 – Licenses tab

In addition to the standard Power Virtual Agents tenant license, an organization can purchase a capacity add-on if needed. This allows organizations to extend usage beyond the standard license limitations for sessions and storage.

Note that the default license allows up to 2,000 sessions per month and the following capacities for storage:

  • Database capacity up to 10 GB
  • File capacity up to 20 GB
  • Log capacity up to 2 GB

These capacities are calculated on a monthly basis and remaining unused sessions do not carry over to the next monthly cycle. Storage capacity is fixed, though capacity add-ons can be purchased in increments of 1 GB as needed.

At this time, while organizations adopt and implement this functionality, some reasonable overages might be deemed acceptable, but organizations should plan accordingly for a possible future date when enforcement could be enabled automatically, resulting in potential business disruption. It is always a good idea to monitor usage and stay within the permitted licensing limits.

Since the Teams bot functionality is slightly different, the licensing is also separate. The Power Virtual Agents for Teams functionality is included with the standard Microsoft 365 licensing. Typically, the Enterprise and Business licenses will also include user rights for Power Virtual Agents for Teams.

With the Teams license, currently there is no restriction on the number of sessions or capacity. Capacity is actually calculated based on the Office 365 licensing capabilities. This might change as the platform evolves and Microsoft revises the licensing model.

Note that only some Microsoft 365 licenses allow chatbots to leverage Dataverse. In this scenario, once the capacity limits are reached, organizations will need to upgrade to a dedicated Power Virtual Agents plan to increase capacity.

In addition, another limitation of chatbots built for Teams is the ability to leverage only standard connectors. Premium and custom connectors are not available for these scenarios at this time.

Seeing how chatbots have evolved over time should now put this technology into perspective. We now have an understanding of how this technology was born, how it evolved to where it is today, and what the true business value is for current and future organizations.

Summary

Throughout this chapter, we looked at how the current chatbot offering was born, how it evolved through time to where it is now, as well as some of the good and bad uses of this technology. We continued our journey to the present day, looking at the importance of leveraging chatbots in the current business landscape and the value differentiator between Power Virtual Agents and Power Virtual Agents for Teams.

After we looked at the various providers of similar chatbot solutions, we narrowed our focus to Microsoft. Power Virtual Agents, being an integral part of the Power Platform offering, provides distinct advantages for various organizations and business scenarios. We looked at the different approaches to the creation of chatbots, based on the target audience. We now should have a clear picture of the difference between creating public chatbots aimed at customers and the larger audience and chatbots for internal organization users.

While we had a quick look at the licensing options and limitations, in the next chapter we will delve deeper into licensing concepts and look at some of the important aspects to consider when choosing your licensing model.

Left arrow icon Right arrow icon

Key benefits

  • Provide instant customer support on your webpages using Power Virtual Agents
  • Discover tips and techniques for the governance, administration, and deployment of chatbots
  • Build conversational solutions for your web apps, public portals, and Teams environment

Description

Power Virtual Agents is a set of technologies released under the Power Platform umbrella by Microsoft. It allows non-developers to create solutions to automate customer interactions and provide services using a conversational interface, thus relieving the pressure on front-line staff providing this kind of support. Empowering Organizations with Power Virtual Agents is a guide to building chatbots that can be deployed to handle front desk services without having to write code. The book takes a scenario-based approach to implementing bot services and automation to serve employees in the organization and external customers. You will uncover the features available in Power Virtual Agents for creating bots that can be integrated into an organization’s public site as well as specific web pages. Next, you will understand how to build bots and integrate them within the Teams environment for internal users. As you progress, you will explore complete examples for implementing automated agents (bots) that can be deployed on sites for interacting with external customers. By the end of this Power Virtual Agents chatbot book, you will have implemented several scenarios to serve external client requests for information, created scenarios to help internal users retrieve relevant information, and processed these in an automated conversational manner.

Who is this book for?

This book is for organization representatives looking to automate processes, relieve the first-contact workload of their front-line agents, and provide actionable results to employees and customers. Business professionals, citizen developers, and functional consultants will also find this book helpful. Familiarity with the Modern Workplace and the Dynamics 365 family of products will be useful. Beginner-level knowledge of Power Platform and its main modules will assist with understanding the concepts covered in the book more effectively.

What you will learn

  • Get to grips with Power Virtual Agents and understand the license requirement for using it
  • Deploy bots on public websites or web pages
  • Create conversational solutions for your organization using Microsoft Teams
  • Explore best practices for governance that are essential for implementing Power Virtual Agents
  • Explore different business scenarios for implementing Power Virtual Agents
  • Understand the integration between Power Virtual Agents and Microsoft Power Platform

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 13, 2021
Length: 246 pages
Edition : 1st
Language : English
ISBN-13 : 9781801074742
Vendor :
Microsoft
Concepts :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Aug 13, 2021
Length: 246 pages
Edition : 1st
Language : English
ISBN-13 : 9781801074742
Vendor :
Microsoft
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 95.97
Empowering Organizations with Power Virtual Agents
€29.99
Extending Microsoft Power Apps with Power Apps Component Framework
€31.99
Microsoft Power Apps Cookbook
€33.99
Total 95.97 Stars icon
Banner background image

Table of Contents

17 Chapters
Section 1: An Introduction to Power Virtual Agents Chevron down icon Chevron up icon
Chapter 1: Introducing Power Virtual Agents Chevron down icon Chevron up icon
Chapter 2: Licensing for Power Virtual Agents Chevron down icon Chevron up icon
Chapter 3: Building Your First Power Virtual Agent Chatbot Chevron down icon Chevron up icon
Section 2: Leveraging Power Virtual Agents on Your Website Chevron down icon Chevron up icon
Chapter 4: Creating a Power Virtual Agent for Your Website Chevron down icon Chevron up icon
Chapter 5: Integrating a Power Virtual Agent into Your Website Chevron down icon Chevron up icon
Chapter 6: Handling Authentication and Personalization Chevron down icon Chevron up icon
Section 3: Leveraging Power Virtual Agents in Teams Chevron down icon Chevron up icon
Chapter 7: Building a Power Virtual Agents Application for Teams Chevron down icon Chevron up icon
Chapter 8: Integrating the Power Virtual Agent into Teams Chevron down icon Chevron up icon
Chapter 9: Serving Information from Various Sources Chevron down icon Chevron up icon
Section 4: Best Practices for Power Virtual Agents Chevron down icon Chevron up icon
Chapter 10: Power Virtual Agents Governance Chevron down icon Chevron up icon
Chapter 11: Power Virtual Agents Best Practices Chevron down icon Chevron up icon
Chapter 12: Power Virtual Agents Administration Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.8
(5 Ratings)
5 star 80%
4 star 20%
3 star 0%
2 star 0%
1 star 0%
Michel Mendes Sep 21, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a great book for everyone looking to get started to build chatbots using Power Virtual Agents or to people with some knowledge on other Power Platform tools looking to expand the knowledge to Power Virtual Agents.The book guides you through all of the important features and capabilities of Power Virtual Agents, from the platform technology background and licensing considerations to creating bots for Teams and public websites, explaining the key differences of each approach. And wraps up nicely with PVA administration features and recommendations.Overall, great book, highly recommended!
Amazon Verified review Amazon
Julian Sharp Sep 22, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have created bots for customers and internal users for several years, mainly with the Azure Bot Framework which required deep coding skills. Power Virtual Agents allows you to create and deploy automated chatbots without requiring a developer, just a browser and Microsoft Power Platform. This book provides a great introduction to Power Virtual Agents written in a friendly and non-technical way.I like that licensing is addressed in this book up front; there is a tendency to hide the license and cost implications and focus on the technology when talking about new and exciting software products.This book explains the concepts used in chatbots such as topics, trigger phrases, entities, and conversations and how these are uses to build your bot. You are taken through creating a trial of Power Virtual Agents into building your first chatbot.The book shows how to deploy a Power Virtual Agent to your organization's website or to a Power Apps Portal. The book explains step-by-step how to configure your chatbot to authenticate both internal and external users, possibly one of the more technical aspects of building a chatbot.Microsoft Teams has become so important within organizations as a central way to manage and access data. I see the future of Power Virtual Agents more in being deployed internally to support the organization internally rather than in the more tradition use of bots assisting external customers. I was therefore glad to see this book focus on the creation and deployment of bots within Microsoft Teams and also demonstrating how Power Virtual Agents can be used to access and leverage information held across internal systems.Finally, I was especially pleased with chapters on best practices. There are some really good thoughts and suggestions in this book that you should consider when planning your bots.
Amazon Verified review Amazon
Joe Nov 12, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a beginner with chatbots and Power Platform, I found this book very useful. It does not assume any prior knowledge. It provides in-depth knowledge about the combination of Power Virtual Agents and Microsoft Power Platform.
Amazon Verified review Amazon
Ricardo D. Jul 15, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Amazing contribution to build a solid knowledge foundation on the Power Platform encompassing Power Virtual Agents.
Amazon Verified review Amazon
Pervaiz Dostiyar Oct 29, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Empowering Organizations with Power Virtual Agent is different from some of the books out there because it covers an enormous amount of ground in the larger area of self-improvement while seamlessly tying all these ideas back into the central theme on how to best use and integrate the virtual power agent with different systems.Nicolae Tarla, has covered topics from intro, create/build and then integrating the PVA from Power platform family into Teams, Website or others system.I would give 4.5 star this is the start next version might get 5 out of 5 hehehe.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.