Power Community

Power Community

MY COPILOT IN MY POWER APPS MODEL DRIVEN

One of the features that I love the most is using Copilot within my Model-based Applications, which provides very interesting data analysis, except that for now it is only available for subscriptions in the USA or environments in the United States, so which we look forward to when it arrives in the European region.

I have been testing Copilot Studio and all the capacity of generative AI and really for now what it can contribute within an organization is quite good, in another post I will give you some examples of what I have set up.

But now I want to focus on a use case where I create my own Copilot to insert inside my Model Driven Apps using the Side Panes to call my Copilot.

Let’s look at this simple example but we can extend it in other scenarios. First I have an application to manage ticketing, this application allows me to create cases so that the IT support area can attend to them.

The application is supported with Dataverse and we have a Model-Based application that is not complex.

Jmanriquerios_0-1712155779536.png

Now I will use Copilot Studio to create my Bot using an action that allows me to know the details of a particular case through a Power Automate flow.

To do this I go to the actions area and create a new action

Jmanriquerios_1-1712155800507.png

I call this action PA asks about a case, if the action does not previously exist I can create it

Jmanriquerios_2-1712155819584.png

If it exists, I simply look for it within the existing actions or flows.
I will show a little bit of what the Power Automate flow that I have built is about.

Jmanriquerios_3-1712155850583.png

The flow simply uses Copilot’s ability to receive the case number information, and from there it queries the Dataverse table and obtains the corresponding case, then uses the same Copiot ability to respond, but later we will see something very useful.

Once we have created the flow, we move on to configure the action:

Jmanriquerios_4-1712155870713.png

In this case let’s see how we configure both the input and the output.

Jmanriquerios_5-1712155884916.png

I’m using generative AI to populate input information

Jmanriquerios_6-1712155904164.png

And in turn I use generative AI for output information

From here the next step is to create the Side Pane, to insert the BOT, but first I must obtain the URL, to do this I go to channels and go to Custom Website, I copy the HTML that has been generated and then I create a web resource of HTML inside my solution in Power Apps

At the same time I create a JS to load the side panel, in the official documentation it is  Creating side panes by using a client API in model-driven apps – Power Apps | Microsoft Learn

I also load this JS that refers to the web resource created and publish

Jmanriquerios_7-1712155943014.png

Once I have all this ready, all we have left is to test our Copilot

Jmanriquerios_8-1712155969943.png

Let’s see the result of asking him about the TKT-1010

Jmanriquerios_9-1712155981014.png

Interesting for when we have large volumes of data and we want a summary. This functionality is like using a part of Sales Copilot that asks you to give you a summary of the opportunity.

The most interesting thing is that I did not build the output with Power Automate, but with natural language it is capable of creating that response.

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

5 Benefits of In-App Notifications for Microsoft Dynamics 365 CRM users

For a successful sales process, you need to stay up-to-date with crucial sales information like deal closures, opportunities won,...

More Articles Like This

- Advertisement -spot_img