Skip to content

Commit aae4cc3

Browse files
authored
Merge pull request #10696 from MicrosoftDocs/main
pushing to live
2 parents a4d2df9 + aece260 commit aae4cc3

13 files changed

+195
-5
lines changed

powerapps-docs/developer/data-platform/org-service/entity-operations-create.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create table rows using the SDK for .NET"
33
description: "Learn how to create table rows using the SDK for .NET."
4-
ms.date: 01/18/2024
4+
ms.date: 12/16/2024
55
ms.reviewer: pehecke
66
ms.topic: article
77
author: MicroSri
@@ -30,6 +30,8 @@ Each of the examples uses a `svc` variable that represents an instance of a clas
3030

3131
> [!NOTE]
3232
> Each table has a unique identifier primary key column which you can specify when creating a row. In most cases you should allow the system to set this for you because the values generated by the system are optimized for best performance.
33+
>
34+
> Dataverse stores primary key data in telemetry to help maintain the service. If you specify customized primary key values, don't use sensitive information in those values.
3335
>
3436
> With elastic tables, you can create records with duplicate primary key values and different `partitionid` values. However, this pattern is not compatible with model-driven or canvas Power Apps. [Learn about setting the primary key value with elastic tables](../use-elastic-tables.md#setting-the-primary-key-value)
3537

powerapps-docs/developer/data-platform/use-elastic-tables.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use elastic tables using code
33
description: Learn how to perform data operations on Dataverse elastic tables using code.
44
ms.topic: how-to
5-
ms.date: 02/22/2024
5+
ms.date: 12/16/2024
66
author: pnghub
77
ms.author: gned
88
ms.reviewer: jdaly
@@ -132,6 +132,7 @@ Here's an example:
132132
```
133133

134134
---
135+
135136
### Using the partitionId parameter
136137

137138
Currently, you can use a `partitionId` parameter to specify the value of the `partitionid` column only for `Retrieve` and `Delete` operations. For more information, go to [Known issue: The partitionId optional parameter isn't available for all messages](elastic-tables.md#the-partitionid-optional-parameter-isnt-available-for-all-messages).
@@ -281,6 +282,8 @@ Use the `x-ms-session-token` value that is returned with the `MSCRM.SessionToken
281282

282283
If you don't specify a primary key value, Dataverse sets a primary key value for the record when you create it. Letting Dataverse set this value is the normal practice. You can specify the primary key value if you need to. For elastic tables, there's no performance benefit in letting Dataverse set the primary key value.
283284

285+
Dataverse stores primary key data in telemetry to help maintain the service. If you specify customized primary key values, don't use sensitive information in those values.
286+
284287
Elastic tables don't return an error when you create a record with a primary key value that isn't unique. By setting the primary key values with elastic tables, you can create records with that have the same primary key values and different `partitionid` values. However, this pattern isn't compatible with Power Apps. Don't create records with duplicate primary key values when people need to use this data in canvas or model-driven apps.
285288

286289
## Update a record in an elastic table

powerapps-docs/developer/data-platform/webapi/create-entity-web-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create a table row using the Web API
33
description: Learn how to use the Web API to send a POST request to create a table row in Microsoft Dataverse.
4-
ms.date: 11/26/2024
4+
ms.date: 12/16/2024
55
ms.service: powerapps
66
ms.topic: how-to
77
author: MicroSri
@@ -75,6 +75,8 @@ For all system tables and attributes (table columns), you can find this informat
7575

7676
Each table has a unique identifier primary key column which you can specify when creating a row. In most cases you should allow the system to set this for you because the values generated by the system are optimized for best performance.
7777

78+
Dataverse stores primary key data in telemetry to help maintain the service. If you specify customized primary key values, don't use sensitive information in those values.
79+
7880
With elastic tables, you can create records with duplicate primary key values and different `partitionid` values. However, this pattern is not compatible with model-driven or canvas Power Apps. [Learn about setting the primary key value with elastic tables](../use-elastic-tables.md#setting-the-primary-key-value)
7981

8082
<a name="bkmk_createWithDataReturned"></a>

powerapps-docs/maker/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,8 @@
680680
items:
681681
- name: Get started with formulas
682682
href: ./canvas-apps/working-with-formulas.md
683+
- name: Build an agent to automate your business process (preview)
684+
href: ./canvas-apps/agent-builder.md
683685
- name: Use Copilot to create and edit Power Fx formulas
684686
href: ./canvas-apps/ai-formulas-formulabar.md
685687
- name: Understand variables
@@ -2603,6 +2605,8 @@
26032605
href: ./common/faq-field-suggestions.md
26042606
- name: FAQ about filtering, sorting, and searching canvas galleries with Copilot
26052607
href: ./common/faq-filter-with-copilot.md
2608+
- name: FAQ about agent builder in canvas apps
2609+
href: ./common/faq-agent-builder.md
26062610
- name: Resources
26072611
items:
26082612
- name: Blog
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
title: Automate your business processes with agent builder in a canvas app
3+
description: How to create an agent to help automate business processes in a canvas app using agent builder.
4+
author: noazarur-microsoft
5+
ms.topic: article
6+
ms.date: 12/16/2024
7+
ms.subservice: canvas-maker
8+
ms.author: noazarur
9+
ms.reviewer: mkaur
10+
search.audienceType:
11+
- maker
12+
contributors:
13+
- noazarur-microsoft
14+
---
15+
16+
# Build an agent to automate your business process (preview)
17+
18+
[!INCLUDE [preview-banner](~/../shared-content/shared/preview-includes/preview-banner.md)]
19+
20+
Agent builder in Power Apps enables organizations to transition into the AI-first era by using the knowledge, logic, and actions of an app to create copilot agents. These agents handle daily tasks, streamline processes, enhance productivity, and optimize overall business efficiency. Watch this brief video to see how to build an agent:
21+
22+
> [!VIDEO 284820d9-7fbc-4c8f-bf20-e8678614ed3d]
23+
24+
Makers can easily create agents that automate processes within their existing canvas apps. Agent builder uses the app's metadata and the desired agent goal to generate a comprehensive step-by-step process. This process is then combined with extracted skills from the app, resulting in a fully equipped copilot that offers detailed instructions and actions.
25+
26+
Once the agent is created, makers can add triggers, make edits, conduct testing, and publish the agent in Microsoft Copilot Studio.
27+
28+
> [!IMPORTANT]
29+
> - This is a preview feature.
30+
> - Preview features aren't meant for production use and might have restricted functionality. These features are subject to [supplemental terms of use](https://go.microsoft.com/fwlink/?linkid=2189520), and are available before an official release so that customers can get early access and provide feedback.
31+
32+
## Create an agent
33+
34+
To streamline your manual process, generate an agent that replicates the steps you typically follow to complete tasks.
35+
36+
1. Sign in to [Power Apps](https://make.powerapps.com).
37+
1. Select **Apps** in the left navigation pane.
38+
1. Select your app and then select **Create agent from app (Preview)** on the command bar. You can also select **Commands** (![Commands button.](media/power-apps-page-icons/apps-commands-menu-to-edit.png)) for the app and then select **Create agent from app (Preview)**.
39+
40+
:::image type="content" source="media/agent-builder/ab-create-agent-from-app.png" alt-text="Create agent from app":::
41+
42+
1. Select a suggestion or in the text box describe the process you want to automate and then select **Next**.
43+
44+
:::image type="content" source="media/agent-builder/ab-select-next-to-regenerate-instructions.png" alt-text="Select next to generate instructions":::
45+
46+
When you choose a suggestion, the text box is automatically filled in. You can edit and add more details about what you want the agent to do. To improve the agent's accuracy, use simple, everyday language and be specific, such as:
47+
- Submit completed claim forms to the database for processing.
48+
- Generate reports for claims filed within a specific date range.
49+
50+
1. Based on the suggestion or the information that you provide for the agent's goal and the app's metadata, agent builder generates step-by-step instructions to replace your manual process. Review the instructions for accuracy and make any necessary edits.
51+
52+
:::image type="content" source="media/agent-builder/ab-regenerate-instructions-1.png" alt-text="regen-agent":::
53+
54+
### Regenerate instructions to improve response
55+
56+
You can also revise the description to better represent the process you want to automate. When you're done, select the **Regenerate instructions** to receive updated instructions that match the new goal of the agent.
57+
58+
:::image type="content" source="media/agent-builder/ab-regenerate-instructions.png" alt-text="regenerate instructions":::
59+
60+
### Best practices
61+
62+
When you edit the instructions, follow these suggestions:
63+
64+
- Use clear and specific wording in the instructions. For example, "Filter the claims data using the approval status" rather than "Filter the data."
65+
66+
- Verify the instructions to ensure they meet their goal.
67+
68+
- Keep each of the sentences for the instructions relatively simple. If there are too many details and conditions in one of the sentences, it might not work as intended.
69+
70+
- Ensure the logical flow of the instructions is easy to follow. Avoid adding new instructions at the end of the instruction set. Instead, move instructions in line to maintain a logical sequence.
71+
72+
Here's example instructions:
73+
74+
1. Read the data from the table.
75+
76+
2. Process the data with pending status.
77+
78+
3. If amount is less than $50 auto approve it and mark it as approved.
79+
80+
4. Update the table with new status.
81+
82+
5. And if the amount is more than $50 but less than $500 check to see if it's an approved item.
83+
84+
6. Additionally if the amount is more than $500 update the status to manual review.
85+
86+
To improve the logical flow in this example, move steps #5 and #6 after step #3.
87+
88+
## Limitations
89+
90+
- If a data source connection isn't found, it's not possible to extract actions for app. In such cases, agent builder still generates an agent, including the actions that can be converted, or none if no actions can be converted.
91+
92+
- Deprecated Excel connectors aren't supported, but the following Excel connectors are supported:
93+
94+
- [Excel Online (Business)](connections/connection-excel.md)
95+
- [Excel Online](connections/connection-excel.md)
96+
97+
- Agent builder is only available in regions where Microsoft Copilot Studio generative agents are available.
98+
99+
- This feature is currently available only for canvas apps.
100+
101+
- This feature is available only in English (en-US).
102+
103+
## Provide feedback
104+
105+
Unless feedback is disabled by your admin, each step in agent builder includes a **Like** (thumbs up) and **Dislike** button (thumbs down).
106+
107+
After reviewing the agent's responses, you can also provide feedback in your own words. When you're done, select **Submit**.
108+
109+
## Related information
110+
111+
[FAQ for agent builder in canvas apps](../common/faq-agent-builder.md)
112+
113+

powerapps-docs/maker/canvas-apps/ai-overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom:
1212
- ai-seo-date: 10/10/2024
1313
ai-usage: ai-assisted
1414
ms.reviewer:
15-
ms.date: 12/5/2024
15+
ms.date: 12/16/2024
1616
ms.subservice: canvas-maker
1717
search.audienceType:
1818
- maker
@@ -67,6 +67,7 @@ The following articles can help you build various apps in different scenarios us
6767
- [Create Power Fx formulas with Copilot](ai-formulas-formulabar.md)
6868
- [Use field suggestions by Copilot](ai-field-suggestions.md)
6969
- [Add a custom Copilot to a canvas app (preview)](add-custom-copilot.md)
70+
- [Build an agent to automate your business process (preview)](agent-builder.md)
7071

7172
### Copilot in model-driven apps
7273

Loading
Loading
Loading

0 commit comments

Comments
 (0)