Power Virtual Agents
Power Virtual Agents-Bot Variables, Multi-Language and working in a Solution
Category: #citizendevelopers #functionalconsultant #powerapps #canvasapps #businessuser #MSDyn365,#pva,D365Champs,Power Platform,Power Virtual Agents,PowerPlatform,powervirtualagents Author: Prashant Shukla Date: 4 months ago Comments: 0

Hi Everyone In this video, I am talking about three new features that were released between April-May 2020. Bot Variables/Global…
Source: Prashant Shukla


Power Virtual Agents with D365 SCM
Category: D365 Finance & Operations,Power Automate,Power Virtual Agents Author: d365bits Date: 6 months ago Comments: 0

EP2 – #QTMBA

Power Virtual Agents (PVA) is part of Microsoft’s low code Power Platform and this gives the capability of creating Intelligent chat bots. You wouldn’t require to having a data scientist helping you to build it. PVA can answer questions as well as take actions in response to the customer responses.

Isn’t that amazing if I tell you that you have the ability to create intelligent chat bots with your data in ERP system such as D365 Finance and Operations App. But you might be wondering how much effort you need to put into built this bot. It’s not difficult at all you can follow steps I have given below and create your own Intelligent chat bot with connecting D365 Finance and Operations.

One more thing to note here is that when PVA is utilizing the power of Power Automate connectors to connect with Dynamics 365 Finance and Operations.

Let’s look at an example that we want to build a chat bot which has the capability to inquire about confirmed delivery date of a sales order.

Firstly you can create new topic by pressing New topic.

Click New topic

Provide the Name , Description and then Insert your Trigger phrases

Once you have created the new topic it will be appearing under User Topics.

Click on Go to authoring canvas icon from the topics page.

You will see Trigger Phrases which you have entered in the earlier step. Then proceed to add two new questions as shown below.

Question 1 : Please provide the company code

Question 2 : Please provide your sales order number

Make sure to provide a proper variable name to identify your variable easily. In this example I have used CompanyVar and SOVar.

Next add in action to create a flow. For this you have to use Call an action option

Then click on Create a flow to create new flow.

Create a flow

Add in Inputs Company_Input and SalesOrder_Input use

Inputs from PVA
Select Dynamics 365 for Fin & Ops connector

Select the Instance and Entity Name. Then provide object id these are the inputs coming from PVA. First it should be the company code and then it has to be sales order as shown below. Make sure to provide in below format.

@{triggerBody()[‘text’]},@{triggerBody()[‘text_1’]}

Next up need to provide return value to PVA. In this scenario it will be confirmed ship date. Select the respective field accordingly and it should look like below image once completed.

Once your full flow is completed it will look like below.

Then you can continue to add it in your PVA. Select the flow and then provide the variables as shown below. Also need to add the response message as shown below.

One completed this step you can End of Conversation or can continue to add more scenarios. I have few scenarios and will cover in the next set of blogs so stay tuned.

Once you added the End of Conversation then you can start on testing your bot.

You can proceed to publish the bot and then use a Demo website to check your bot.

Have fun with creating Intelligent chat bots with D365 SCM. 😊

Source: Kausun