You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/create-autonomous-agent-workflows.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Create Autonomous AI Agentic Workflows
3
-
description: Learn how to build intelligent automation workflows that use AI agent loops and LLMs to complete tasks without human interactions in Azure Logic Apps.
3
+
description: Build autonomous agentic workflows that use AI agent loops and LLMs to complete tasks without human interactions in Azure Logic Apps.
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewers: estfan, divswa, krmitta, LogicApps
@@ -106,7 +106,7 @@ Based on whether you want to create a Consumption or Standard logic app, the fol
106
106
>
107
107
> Use this authentication option only for the examples in this guide, exploratory scenarios, nonproduction scenarios, or if your organization's policy specifies that you can't use managed identity authentication.
108
108
>
109
-
> In general, make sure that you secure and protect sensitive data and personal data, such as credentials, secrets, access keys, connection strings, certificates, thumbprints, and similar information with the highest available or supported level of security. Don't hardcode sensitive data, share with other users, or save in plain text anywhere that others can access. Set up a plan to rotate or revoke secrets in the case they become compromised.
109
+
> In general, make sure that you secure and protect sensitive data and personal data, such as credentials, secrets, access keys, connection strings, certificates, thumbprints, and similar information by using the highest available or supported level of security. Don't hardcode sensitive data, share with other users, or save in plain text anywhere that others can access. Set up a plan to rotate or revoke secrets if they become compromised.
110
110
>
111
111
> For more information, see:
112
112
>
@@ -118,20 +118,20 @@ Based on whether you want to create a Consumption or Standard logic app, the fol
118
118
119
119
- To follow along with the examples, you need an email account to send email.
120
120
121
-
The examples in this guide use an Outlook.com account. For your own scenarios, you can use any supported email service or messaging app in Azure Logic Apps, such as Office 365 Outlook, Microsoft Teams, Slack, and so on. The setup for other email services or apps are similar to the examples, but have minor differences.
121
+
The examples in this guide use an Outlook.com account. For your own scenarios, you can use any supported email service or messaging app in Azure Logic Apps, such as Office 365 Outlook, Microsoft Teams, Slack, and so on. The setup for other email services or apps is similar to the examples, but has minor differences.
The following table describes current limitations and any known issues in this release, based on your logic app resource type.
129
+
The following table describes current limitations and known issues in this release, based on your logic app resource type.
130
130
131
131
| Logic app | Limitations or known issues |
132
132
|-----------|-----------------------------|
133
-
| Both | To create tools for your agent, the following limitations apply: <br><br>- You can add only actions, not triggers. <br>- A tool must start with an action and always contains at least one action. <br>- A tool works only inside the agent loop where that tool exists. <br>- Control flow actions are unsupported. |
134
-
| Consumption | - You can create Consumption agentic workflows only in the Azure portal, not Visual Studio Code. <br>- The AI model that your **Agent** action uses can originate from any region, so data residency for a specific region isn't guaranteed for data that the model handles. <br>- The **Agent** action is throttled based on the number of tokens used. |
133
+
| Both | To create tools for your agent, the following limitations apply: <br><br>- You can add only actions, not triggers. <br>- A tool must start with an action and always contains at least one action. <br>- A tool works only inside the agent loop where that tool exists. <br>- Control flow actions aren't supported. |
134
+
| Consumption | - You can create Consumption agentic workflows only in the Azure portal, not Visual Studio Code. <br>- The AI model that your **Agent** action uses can come from any region, so data residency for a specific region isn't guaranteed for data that the model handles. <br>- The **Agent** action is throttled based on the number of tokens used. |
135
135
| Standard | - Unsupported workflow types: **Stateless** <br><br>**Note**: Foundry projects require that you use managed identity authentication. <br><br>- For general limits in Azure OpenAI Service, Foundry, and Azure Logic Apps, see: <br><br>- [Azure OpenAI Service quotas and limits](/azure/ai-services/openai/quotas-limits) <br>- [Azure OpenAI in Foundry Models quotas and limits](/azure/ai-foundry/openai/quotas-limits) <br>- [Azure Logic Apps limits and configuration](/azure/logic-apps/logic-apps-limits-and-config)|
136
136
137
137
## Create an autonomous agentic workflow
@@ -170,7 +170,7 @@ To create a workflow with an empty **Agent** action, follow these steps:
170
170
171
171
1. On the **Create workflow** pane, complete the following steps:
172
172
173
-
1. For **Workflow name**, provide a name for your workflow.
173
+
1. For **Workflow name**, enter a name for your workflow.
174
174
175
175
1. Select **Autonomous Agents** > **Create**.
176
176
@@ -210,7 +210,7 @@ To create a workflow with an empty **Agent** action, follow these steps:
210
210
211
211
1. Select the workflow template named **Autonomous agent**.
212
212
213
-
1.Provide a name for your workflow, and press Enter.
213
+
1.Enter a name for your workflow, and press Enter.
214
214
215
215
A new workflow folder now appears in your project. This folder contains a *workflow.json* file, which contains the workflow's underlying JSON definition.
216
216
@@ -319,7 +319,7 @@ Update the agent loop name to clearly identify the agent's purpose by following
319
319
320
320
1. On the designer, select the agent action title bar to open the information pane.
321
321
322
-
1. On the information pane, select the agent loop name, and enter the new name, for example,`Weather agent`.
322
+
1. On the information pane, select the agent loop name, and enter the new name, such as`Weather agent`.
1. Optionally, you can provide user instructions that the agent loop uses as prompts.
353
+
1. Optionally, provide user instructions that the agent loop uses as prompts.
354
354
355
355
For the best results, make each user instruction focus on a specific task, for example:
356
356
357
-
1. On the agent loop information pane, under **User instructions** section, in the **User instructions Item - 1** box, enter the prompt for the agent loop.
357
+
1. On the agent loop information pane, under the **User instructions** section, in the **User instructions Item - 1** box, enter the prompt for the agent loop.
358
358
359
359
1. To add another instruction, select **Add new item**.
360
360
361
361
1. In the **User instructions item - 2** box, enter another prompt for the agent loop.
362
362
363
363
1. Repeat until you finish adding all the prompts that you want.
364
364
365
-
1.Now, you can save your workflow. On the designer toolbar, select **Save**.
365
+
1. On the designer toolbar, select **Save**.
366
366
367
367
## Check for errors
368
368
@@ -508,7 +508,7 @@ For an action parameter that uses only model-generated outputs, create an agent
508
508
509
509
> [!NOTE]
510
510
>
511
-
> Microsoft recommends that you follow the action's Swagger definition. For example, for the **Get current weather** action, which is from the **MSN Weather** "shared" connector hosted and managed by global, multitenant Azure, see the [**MSN Weather** connector technical reference article](/connectors/msnweather/#get-current-weather).
511
+
> Microsoft recommends that you follow the action's Swagger definition. For example, for the **Get current weather** action, which comes from the **MSN Weather** "shared" connector hosted and managed by global, multitenant Azure, see the [**MSN Weather** connector technical reference article](/connectors/msnweather/#get-current-weather).
512
512
513
513
1. When you're ready, select **Create**.
514
514
@@ -584,7 +584,7 @@ For these scenarios, create the agent parameter on the tool by following these s
584
584
585
585
## Create a 'Send email' tool
586
586
587
-
For many scenarios, an agent loop usually needs more than one tool. In this example, the agent loop needs a tool that sends the weather report in email.
587
+
For many scenarios, an agent loop needs more than one tool. In this example, the agent loop needs a tool that sends the weather report in email.
588
588
589
589
To build this tool, follow these steps:
590
590
@@ -614,7 +614,7 @@ Except for the different agent parameters to set up for the **Send an email (V2)
614
614
615
615
The action needs three agent parameters named **To**, **Subject**, and **Body**. For the action's Swagger definition, see [**Send an email (V2)**](/connectors/outlook/#send-an-email-(v2)).
616
616
617
-
When you're done, the example action uses the previously defined agent parameters as shown here:
617
+
When you're done, the example action uses the previously defined agent parameters as shown in the following image:
618
618
619
619
:::image type="content" source="media/create-autonomous-agent-workflows/send-email-action.png" alt-text="Screenshot shows the information pane for the action named Send an email V2, plus the previously defined agent parameters named To, Subject, and Body." lightbox="media/create-autonomous-agent-workflows/send-email-action.png":::
620
620
@@ -626,7 +626,7 @@ Except for the different agent parameters to set up for the **Send an email (V2)
626
626
627
627
## Create a subscriber list tool
628
628
629
-
Finally, for this example, create a tool named **Get subscribers** to provide a subscriber list for the agent parameter values to use. This tool uses the **Compose** action to supply the subscriber name, email address, and location. Or, you might source these inputs from blob storage or a database. Azure Logic Apps offers many options that you can use as data sources.
629
+
Finally, create a tool named **Get subscribers** to provide a subscriber list for the agent parameter values to use. This tool uses the **Compose** action to supply the subscriber name, email address, and location. Or, you might source these inputs from blob storage or a database. Azure Logic Apps offers many options that you can use as data sources.
630
630
631
631
For this example, follow these steps:
632
632
@@ -636,7 +636,7 @@ For this example, follow these steps:
636
636
637
637
`Get the list of subscribers, including their name, location, and email address. To generate the weather report, use the location for each subscriber. To send the weather report, use the email address for each subscriber.`
638
638
639
-
1. Rename to**Compose** action to `Subscriber list`. In the **Input** box, use the following JSON array but replace the sample subscriber data with the data that you want to use for testing. For example, replace the email addresses with your own so you get the weather for different locations.
639
+
1. Rename the**Compose** action to `Subscriber list`. In the **Input** box, use the following JSON array but replace the sample subscriber data with the data that you want to use for testing. For example, replace the email addresses with your own so you get the weather for different locations.
0 commit comments