Skip to main content

How to: Create a Bot in PVA

    1. Login to your environment in https://powervirtualagents.microsoft.com/en-us/
    2. The pop up for create new bot will be visible, name the bot and create.
    3. Go to Topics
    C powerva.microsoft.com/#/topics/existing 
Power Virtual Agents First 
New topic Suggest topics 
Topics 
Existing (12) 
Name 
Suggested (0) 
V 
User Topics (4) 
Lesson 1 
Lesson 2 
Lesson 3 
- A simple topic 
- A simple topic with a condition and variable 
- A topic with a conditions, variables and a pre-built e... 
Trigger phrases 
(4) When are you closed 
(5) Are there any stores around the area 
items

    1. Follow the numbers sequence in the below screenshot for the steps
    Power Virtual Agents I First 
Initial Greetings 
Save topic 
Setup 
Name •k 
Analytics 
1 
Initial Greetings 
Description 
This will be triggered when the user 
says etc 
Trigger phrases (4) O 
How might your customers ask about this topic? Try to start with 5-10 diverse phrases. 
Enter a trigger phrase 
OK 
3 
Help 
Hello 
Add 
5 
6% Go to authoring canvas 
Modified 
1/9/20, 2:52 PM 
Status 
@ 1 error
    1. After you click go to Authoring canvas, you can add messages, actions or call flows.
    CD Discard changes 
Undo 
Redo 
29 Topic checker 
Save 
2 
Trigger Phrases (4) 
OK 
Help 
Hello 
Hi, How may i help you?

    This is where you write the responses and actions of your BOT, Topic Checker displays errors if any.

    1. You can test the Bot by clicking on "Test Your bot", left bottom of the browser.
    You can check the working and update the bot topic  while testing by enabling the "Track between topics".
    Discard changes 
Test bot 
Track between topics 
Chat 
Hi, How may i help you? 
Initial Greetings 
x 
CD Reset 
ok 
Just now 
Undo 
Redo 29 Topic che 
Trigger Phrases (4) 
OK 
Help 
Hello 
O 
Hi, How may i help you?
    1. You can also  Publish and click on demo website to see the working of the Bot in a demo website.

Comments

Popular posts from this blog

Get Business Process Flow Stage Id using API Query

Developers may need to get the stage ids of BPF stages in order to use in power automate or JS. Here is a blog that will help. API Query-   https:// CRMURL.dynamics.com/ api/data/v9.0/processstages?$select=stagename&$filter=processid/workflowid eq BPFGuid   Eg: 1) Get the GUID of  Business Process Flow whose stage details you need. Replace below Query with Your CRM URL and BPF GUID. https://Test130.crm.dynamics.com/ api/data/v9.0/processstages?$select=stagename&$filter=processid/workflowid eq 9128E4D1-1234-4852-ABD0-A63A6ECA5C5D   Output:    The output will provide the stage name and ID.

Power Automate to Access SharePoint Recycle Bin

Introduction : A ccess Recycle Bin of SharePoint using Power Automate. Steps: Actions: select "Send an HTTP request to SharePoint" Enter the below details: Site Address: Select your site address from the list. Method: GET Uri, Headers: Refer the screenshot below. Pls. Note: Trigger used was When a File is Deleted- SharePoint Connector. Select Action "Parse JSON" In parse JSON, the content is the body of HTTP Response Enter the below Schema: { "type" : "object" , "properties" : { "odata.metadata" : { "type" : "string" }, "value" : { "type" : "array" , "items" : { "type" : "object" , "properties" : { "odata.type" : { "type" : "string" }, "odata.id" : { "type" : "string" }, "odata.editLink" : { "t

Dynamic, Multiple Recipients of D365 Email in Power Automate

When t he activity parties (TO, From, CC) ae static, we can easily send emails. However here is how we can set the activity party dynamically on the Email.    In above screenshot we can see the Activity party attribute is populated for single value and is static to only a single entity record GUID.   Solution: The create a record of Email message is as below, here we are entering the attributes of activity party, by clicking on "Switch to Input entire array" You will get the Array format, the participationtypemask is TO, FROM,CC while the partyid@data.bind is the email address. Now all you need to do is create a dynamic array, You can use append to array variable action to create an array with participationtypemask as per your requirement. Example: get all users whom you need to send email, append the user id to array. pass this array as input to the Activity Parties field in create an email record.