Posts

Showing posts with the label Microsoft Dynamics and Power Platform

Introduction to Microsoft Copilot: Building an Agent Flow

Image
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 do...

Introduction to Microsoft Copilot: Calling an Agent Using an In-Built Trigger

Image
Hello Guys, In our previous blog , we learnt how to create Prompt for your Agent and how to use Prompt as tool. Today we will see, how to trigger an agent using in-built trigger. 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 Add Trigger. Select Dataverse – When a row is added . Configure the trigger as shown above. Once the configuration is complete, click Create Trigger. As you can see, the trigger has now been added to our agent. Click on the trigger to open it in Power Automate Flow . Configure the Power Automate flow as shown below and specify the name of the trigger. Next, open the Get Trip Details  topic and add a Message step as shown below. Save the changes and publish the agent.  Our agent is now ready. To test the trigger, open any Trip record and update the data. As you can see, the agent i...

Introduction to Microsoft Copilot: Adding a Prompt to a Topic

Image
Hello Guys, In our previous blog , we learnt how we can send response back to power automate flow. Today we will see how to create Prompt for your Agent and how to use Prompt as tool. 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 Ravish, as shown below. We have also added the Trip table as a knowledge source for the agent. Adding a Prompt as a Tool Now, navigate to the Tools tab. Click Add Tool and select Prompt. Configure the prompt as shown below. As you can see, we have added PromptTripID as an input variable. To add an input variable, simply type ` / ` and select Input. Similarly, you can use the ` / ` option to add knowledge to the prompt. Once the prompt is configured, click Add and Configure . Adding the Prompt to a Topic Now, open the Topic where you want to use the prompt. Click the + icon, select Add a Tool , and then select th...

Introduction to Microsoft Copilot: Returning an Agent Response to Power Automate

Image
Hello Guys, In our previous blog , we learnt how to call an agent using Power Automate Flow. Today we will see how we can send response back to power automate 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. We will be working with the same example which we used in our previous blog. As you can see in above image, We received Trip ID from the PA Flow.  Now we will be adding one variable of type blank which can be used to store Trip Details. Now we will be adding one tool which nothing but the connector which connects to Dataverse and retrieve Trip Details based on Trip Id.  Now set output variable as shown below: Now click on details and create one output variable as shown below: Once Output variable is added, we will set the formatted json to this variable as shown below: JSON({     TRIP:Topic.TripDetails.crdb7_tripid,     Destination:Topic.TripDetails.cr...