Introduction to Microsoft Copilot: Building an Agent Flow

Hello Guys,

In our previous blog, we learnt how to trigger an agent using in-built trigger. Today we will see how we can create an agent flow which is similar to PA Flow.



Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends.

As you can see, we have already created our agent named Ravisha.





Now click on Retrieve Trip Details.




Here you can see, we are using Trip Knowledge. There is one limitation here. If we want to filter the Trip based on column then we can use only one column at a time. It means we can not use multiple conditions to filter the table.

In this scenario, we can create an Agent Flow which can connect to Dataverse and based filter criteria, it can retrieve the data. 

Let's see how to create it.

Click on Flows:




Now click on New Agent Flow and search skill as shown below:




Select "When an agent calls the flow".




Click on Add Input.




Specify details as shown above. Once done add one more step i.e. Respond to an agent (Search in skill).




Save the Flow.




As you can see our flow is created. Now we will be editing this flow in Power Automate.

Visit Make.PowerAutomate.com. As you can see our flow is visible here.




Now click on the flow.




Now click on + sign and add a new steps as show below:






Now open the Topic "Get Trip Details".




Click on + Node and add a tool as shown below:





As you can see agent flow is added in topic as tool. This will give us Json Object. Click on + sign and add a message step and after the end the topic conversation.




So our topic is ready to use the flow.

To see the Flow is working or not, modify the trip and you will see.




As you can see in above image.

Hope it helps...




Comments

Popular posts from this blog

Creating Custom API in D365.

JavaScript in Power Platform – Frequently Asked Interview Questions.

Using Concurrency Control & Degree of Parallelism in Power Automate Flow.