Table of Contents
Introduction
In this article, we will explore how to create an automated workflow using Copilot in Power Automate cloud flows. Copilot is a powerful tool that allows you to streamline your workflow by using natural language expressions. With Copilot, you can easily describe your automation scenario and create a flow through a series of conversational steps.
Getting Started with Copilot in Cloud Flows
Copilot in cloud flows provides several actions that can help you automate your workflow more efficiently. These actions include:
- Understanding your intent and creating a flow based on the scenario prompt you provide.
- Auto-setting up connections to get your automation up and running quickly.
- Applying necessary parameters in the flow based on your prompt.
- Responding to your requests for changes in the flow, such as updating or replacing actions.
- Answering questions about your flow and the product itself.
To use Copilot in Power Automate cloud flows, you need to have a Power Platform environment in the supported regions. If you don’t see the Copilot feature in your environment, contact your admin to enable it in the Power Platform admin center.
Creating a Flow with Copilot in the Cloud Flows Designer
To create a flow using Copilot in the cloud flows designer, follow these steps:
- Sign in to Power Automate.
- Start describing your automation scenario. As you type, the cloud flows designer with Copilot will suggest AI-generated flow descriptions.
- Alternatively, you can select “Create” and then “Describe it” to design your flow.
- Choose a suggestion from the list or use the scenario you created in step 2.
- Select “Next” to accept the flow created by Copilot. If you want to see different suggestions, you can update your prompt or select “This isn’t what I’m looking for.”
- Review your connected apps and services, then select “Next.”
- Configure the required settings to finalize your flow, and then select “Create flow.”
- The cloud flows designer with Copilot will open with your flow. Follow the Copilot suggestions on the panel to the right to complete the flow setup or make edits using “Edit with Copilot.”
- Once your flow is complete, select “Save this flow.” We recommend testing it by selecting “Test” in the upper-right corner.
Writing a Good Prompt for Copilot
When using Copilot, it’s important to write a good prompt to get accurate and relevant results. Here are some tips for writing a good prompt:
- Be specific and provide details. Instead of a generic prompt like “I want to process an email,” try something more specific like “When an email arrives, I want to post the subject of the email to ‘Contoso’ Teams General channel.”
- Mention the connector in your prompt if possible. For example, include Outlook, Teams, Forms, or other relevant connectors.
- Try different variations of prompts to see what works best. If the initial results aren’t what you’re looking for, tweak your prompt and run it again.
For more general information about writing prompts with generative AI, refer to “The art of the prompt: How to get the best out of generative AI.”
Interacting with Copilot
Here are some example scenarios of how you can interact with Copilot:
- From the Home page or “Describe it” option inside the canvas:
- Prompt: “When an email arrives from contoso@gmail.com, post in Teams.”
- Ask Copilot to edit the flow: “I want to send the email subject to Teams channel.”
-
Ask Copilot what your flow does: “What does my flow do?”
-
When an item is created in SharePoint, send a mobile notification.
- Edit the flow with this prompt: “I want to send the item title to notification.”
- Edit the flow with this prompt: “I don’t want to receive mobile notification. Send me an email instead.”
For more examples, you can try out the Power Platform Prompt Library.
Editing a Flow with Copilot
In addition to creating flows, you can also use Copilot to edit or complete existing flows. Here’s how:
- Sign in to Power Automate.
- On the left navigation pane, select “My flows.”
- Find your flow and select the vertical ellipsis (⋮), then select “Edit.” Alternatively, you can access the cloud flows designer with Copilot from the flow Details page by selecting the flow name from “My flows” and then selecting “Edit.”
- Your flow will open with the Copilot pane on the side. Use the cloud flows designer with Copilot capabilities to edit your flow.
- Try typing prompts like “Delete action X” or “I want to send an email at the end of the flow with subject equal to the SharePoint file name.”
- Instead of email, I want to post a message on Teams channel.
- Check if each of the SharePoint items being returned has a title that equals ‘USB’, and if so, send an email.
Frequently Asked Questions
Here are answers to some frequently asked questions about Copilot in Power Automate cloud flows:
- Why don’t I see the cloud flow designer with Copilot in my Power Automate experience?
-
Check if your environment is in the Copilot available region. If it is, contact your admin to ensure Copilot is enabled in the Power Platform admin center.
-
How do I enable Copilot?
-
If your region doesn’t have Copilot enabled by default, your admin can enable it in the Power Platform admin center by consenting to data movement.
-
How do I disable Copilot in the cloud flows designer?
-
Refer to the availability table to determine if your region supports Copilot. You can toggle off the cross-geo data sharing settings from the Power Platform admin center if your region doesn’t have native GPUs to support Copilot.
-
How is Copilot in cloud flows different from the text generation model in AI Builder?
-
Copilot in cloud flows helps you create and edit Power Automate flows using natural language expressions. The text generation model in AI Builder allows you to use the GPT model directly in your flows and apps for tasks like text summarization and text classification.
-
What are the limitations of the cloud flows designer with Copilot?
- The cloud flows designer with Copilot has some limitations. It can’t edit flows with non-Open API flows, flows with comments, unsupported hybrid triggers, Power Apps V1 triggers, Perform a Changeset Request (Dataverse), Power Pages components, or solution flows using connections instead of connection references.
These are just a few of the frequently asked questions about Copilot in Power Automate cloud flows. If you have more questions, feel free to explore the Power Platform documentation for further information.
Conclusion
Copilot in Power Automate cloud flows is a valuable tool for creating and editing automated workflows. By using natural language expressions, you can streamline your workflow and easily describe your automation scenarios. Whether you’re creating a new flow or editing an existing one, Copilot provides helpful guidance and suggestions. Take advantage of this powerful tool to enhance your workflow automation with Teams and Copilot.
No responses yet