Extend Copilot with Power Automate ๐Ÿš€

Do you want to use Power Automate actions to extend your custom copilots or Microsoft Copilot? ๐Ÿ‘€ Well stick around friends because in this post Iโ€™ll be showing you exactly how to do it! ๐Ÿ˜ Add a plugin action So the first thing weโ€ฆ READ MORE [https://lewisdoes.dev/blog/extend-copilot-with-power
In: Low Code Lewis Content ๐Ÿš€

Do you want to use Power Automate actions to extend your custom copilots or Microsoft Copilot? ๐Ÿ‘€ Well stick around friends because in this post Iโ€™ll be showing you exactly how to do it! ๐Ÿ˜

Add a plugin action

So the first thing we need to do within topics in our copilot is add a plugin actionโ€ฆ

Within the dialog that appears select the plus to create a new action and choose the option to create a new flow.

Now we can head over to Power Automate where weโ€™ll have a trigger from Copilot and a response back to Copilot. Then effectively we can put any actions in the middle that we want to utilise where weโ€™d need that data inside of our copilot that weโ€™d want to message back to the user.

Heading to Power Automate

So now Iโ€™m in Power Automate and I can start building my flow aka my copilot action. Now Iโ€™m very simply just going to add a compose action, hard code a value and pass it back in the last action in my flow to copilot to demonstrate that we can pass data back here. You should implement your own logic in the flow here.

And hereโ€™s me passing the data back to Copilot.

Now letโ€™s head back to Copilot Studio to configure the action we just created using a flow.

Back in Copilot Studio

So now, youโ€™ll be able to see the flow you just created as an action in Copilot Studio to add to your copilot. Select the flow here.

Ensure you add and configure any inputs and outputs here that you created in your flow.

Finally, define how the copilot should respond to the user using the detail in the flow.

Iโ€™ve configured mine to deliver a custom message which in this case Iโ€™ve set as the dynamic value coming back from my Power Automate flow aka my copilot action.

Creating a topic that calls the action

Now letโ€™s create a topic that calls the action in the copilot. Iโ€™m just going to through in some silly test phrases that I know will trigger the flow and weโ€™ll see if we get the correct response in the copilot. Iโ€™ll add the phrases then app my flow as an action to the topic after the trigger.

Now simply add a message after the action to send the user the outputs from the previous action. Then save the topic and send the copilot some of the phrases to test it out!

And check it out! Thereโ€™s my response from the Power Automate flow I made! Awesome! So Iโ€™m now extending my copilots with ANY functionality I can build with Power Automate. Um HELLO extending Copilot with low-code! ๐Ÿ˜

Written by
Lewis Baybutt
Microsoft Business Applications MVP โ€ข Power Platform Consultant โ€ข Blogger โ€ข Community Contributor โ€ข #CommunityRocks โ€ข #SharingIsCaring
Comments
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.