power virtual agent

Power Virtual Agent – Build and publish bot to your website

Welcome to the first part of the three-part series of my blog where I detail the steps to build a Power Virtual Agent bot that you can publish to your custom website. We will also see how to dynamically fetch data from the website using Power Automate and display them as a part of the bot’s response.

In this first part, we will build a simple Power Virtual Agent bot.

Go to https://aka.ms/TryPVA in your browser to begin. Select Try preview, and then sign in with your work email address. Choose a name for the bot and select Create. 

Power Virtual Agent - Create

I have published a bot to this site (named it after my son’s nick – Battu) . It’s a work in progress. You should see the bot icon at the bottom right-hand corner of this page. Yeah, the bot avatar you see, is my son’s pic as well. 🙂

You should now be able to create and edit Topics. Topics allow you to start a new branch of conversation with the user. To know more about Topics, go through the Microsoft docs link here. 

As a sample, we will create a topic that will send a link to the subscription page of the blog to the user. You can add new trigger phrase(s) as given below. 

new-topic-pva

After you are done with adding trigger phases click on ‘Go to authoring canvas.’ Click on the ‘+’ sign to add a new node and click on “Show a message. 

pva-message

You can now “Save” your bot and test it. From the left navigation, select Test Your Bot at the bottom. 

test-bot-power virtual agent

Type any phrase that is related to your trigger phase. You should see the bot respond with your choice of response present in the authoring canvas.

pva-test-bot

The chat stopped because the dialog flow has ended. You can now play around with the topic or creatnew topics, test them till you are happy with the flow. 

In this part, we have built a bot using power virtual agent.

In the next part of the blog we will create a  more complex topic incorporating variablesentities, and Power Automate flows. 

Oh hi there! 👋
It’s nice to meet you.

Subscribe to receive awesome content in your inbox, every week.

I don’t spam! Read my privacy policy for more info.

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.