Use Power Platform Prompts in Copilot

Are you building Copilots or extending Microsoft Copilot with Microsoft Copilot Studio? Are you familiar with the recently released functionality in the Power Platform for custom AI prompts which I discussed in the last few days on my blog? If not, check out the… READ MORE [https://lewisdoes.dev
monitor screen with openai logo on black background
Photo by Andrew Neel on Pexels.com
In: Low Code Lewis Content 🚀

Are you building Copilots or extending Microsoft Copilot with Microsoft Copilot Studio? Are you familiar with the recently released functionality in the Power Platform for custom AI prompts which I discussed in the last few days on my blog? If not, check out the post below before continuing, but then remember to come back here for some Copilot goodness!

How can we use AI prompts in Copilot Studio?

So you might be wondering… how can we use AI prompts in Copilot Studio to build our own copilots and extend Microsoft Copilot… 🧐

Well lets say there’s a common topic that a copilot will be approached with, and you want to be able to have the copilot respond in a certain way which can be shaped with a more defined response than that of which the user might come up with. Let’s say you want to build a copilot that can write a poem. The user is bound to ask it anything like write a poem, or write a poem about X.

A more detailed prompt for this kind of scenario which we might use would be “You are a creative poet who should write a poem with four to five stanzas about [SUBJECT]”. This would get us something that the user might expect a little more, but they might not expect to have to prompt the LLM in this way.

This is where AI prompts come in…

Reuse prompts over Power Platform & Copilot Studio

So check this out friends… the cool thing here is that any of the prompts you’ve been building in Power Platform to use across your low-code applications, can also be used in Copilot Studio! Awesome!

So I have this Poet prompt that I made and now I want to use that in my copilot. Let’s give it a go and build it with Copilot Studio! 🥰

Using AI prompts in Copilot

So now  in Copilot Studio, I have a Copilot here and I’m going to create a new topic for poems and add a bunch of different phrases that I think people might approach the copilot with when they want a poem writing for them.

Now I need to ensure I know what this poem will be about so I’m going to have the copilot ask that question and store the subject in a variable.

From here I can add another action and this time I’ll call a plugin. Select the option for ‘Add a plugin action’.

From here, we’re now able to select the AI prompt we built and have been using across the Power Platform! 🚀

Now the copilot will do something intelligent here. By default it will try to populate any inputs to the AI prompt that it can using things it identified in previous messages in the conversation. Or we can override the input value.

And it’s that simple! Now my users will be able to interact with my copilot and the copilot will utilise my AI prompt from Power Platform so that I ensure the LLM returns the response I’m looking for based on me having provided a higher quality prompt!

If you didn’t already in the previous post on AI prompts in Power Platform, let me know what prompts you’ll be creating to use with Copilot Studio now below! ⬇️

Written by
Lewis Baybutt
Microsoft Business Applications MVP • Power Platform Consultant • Blogger • Community Contributor • #CommunityRocks • #SharingIsCaring
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to LewisDoesDev.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.