title | description | suite | author | contributors | ms.author | ms.reviewer | ms.subservice | ms.topic | ms.date | search.audienceType | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create a cloud flow from a description |
Learn to create a cloud flow from a written description of the scenario. |
flow |
sbasi19 |
|
ralinga |
angieandrews |
cloud-flow |
conceptual |
11/08/2024 |
|
When you build automation with Power Automate, it might take valuable time to learn which actions and triggers you need, especially if you’re new to the Power Automate. If you want to jump right in and get started, you can now just write a description of what you want to automate in everyday language. Supporting most of the connectors, Power Automate then uses OpenAI Codex to translate your description into code, and then provides a corresponding flow that you can create instantly.
-
A work or school account with access to a Power Automate environment that's based in Europe or the United States.
[!NOTE]
- You can't create cloud flows from a description if you're logged in with a Microsoft account.
- If you don’t have access to an environment that's based Europe or the United States, you can create a new environment and select Europe or United States as the region.
-
Check current limitations for more information.
In the following example, you build an automated cloud flow that sends a notification through Teams and an email each time someone responds to a Microsoft Forms survey.
-
Sign in to Power Automate.
-
On the navigation menu to the left, select Create > Describe it to design it (preview).
:::image type="content" source="media/easy-flow/describe-it-main.png" alt-text="Screenshot of the Describe it to design it (preview) tile.":::
A screen opens where you can enter a description of what you want to automate. You also get an example you can use for inspiration and try it out right away. As an alternate, you can also go to Home and start describing your requirement. Learn more in Create a flow using Copilot.
-
For this example, enter Every time someone responds to a Microsoft Forms survey, post a message to Teams and send an email.
-
Select Confirm (the right arrow).
Power Automate returns a suggested flow that corresponds to what you entered.
[!NOTE] If the suggestion doesn't correspond to what you’re looking to automate, select This isn't what I'm looking for. You get guidance on what you can do next. This helps Microsoft to improve the AI behind this feature.
:::image type="content" source="media/easy-flow/describe-flow.png" alt-text="Screenshot that displays a suggested flow after providing a description of what to automate.":::
-
Select Next.
-
Set up the connections you need to run the flow.
-
Select Next.
-
Enter the information needed to run the flow. For example, which form to use and to whom to send the Teams message and email. You can decide to fill in the information on this step or do it later in the designer.
-
Select Create flow.
Your flow is now built. Congratulations! You can make modifications and edit the flow, or save and test it.
:::image type="content" source="media/easy-flow/generated-flow.png" alt-text="Screenshot of a cloud flow that's been built from a description.":::
You can use natural language to flow in Teams. If the Workflows app doesn’t have a template that fits your scenario, this feature helps you create a flow in Teams. To do this, type a prompt describing what you want the flow to do, and then the feature generates the flow for you. These steps eliminate the need to start from scratch.
Note
Natural language to flow in Teams is available only for select channels.
To use natural language to flow, follow these steps:
-
At the top of the Teams Chat menu, select Channels.
-
Find your channel, select the ellipsis (...), and then select Workflows.
-
At the bottom of the Workflows screen, select Workflow builder.
:::image type="content" source="media/easy-flow/nl2flow.png" alt-text="Screenshot of sample flows in the Workflows flow builder.":::
-
In the empty field, type your prompt.
The AI suggests a list of flows based on your prompt.
If the examples don't quite match your scenario, scroll down and select View more examples. If you're not satisfied with the examples, you can edit the prompt for new examples.
-
Select an example that fits your scenario and then select Next.
-
Review the flow. If you're satisfied, select Next. If you're not satisfied, select This isn't what I'm looking for and follow the instructions.
-
When the parameters for your flow are set, select Next.
-
If necessary, edit the flow and select Create flow.
:::image type="content" source="media/easy-flow/generated-flow.png" alt-text="Screenshot of a cloud flow that's been built from a description.":::
-
When your get the message, Workflow added successfully, select Done.
- Power Automate supports descriptions written in the English language only. Descriptions you write in other languages might work, but they aren't supported.
- Cloud flows are the only type of flow that you can create from a description.
- In the current version, the AI might not fill in some parameters automatically, even if you provide them in the description.