Citizen Developer
  • All of Microsoft
  • My Role
    • All in My Role
    • Citizen Developer
  • Focus
    • All in Focus
    • Microsoft Ignite 2026
    • Generative Pages and Apps
    • Microsoft Copilot Studio
    • Copilot Studio - Agent Step-by-Step
    • What's Hot
    • M365 Release
Timespan
explore our new search
Copilot Studio agents: connect data and take action
Microsoft Copilot Studio

Copilot Studio agents: connect data and take action

by HubSite 365 about Damien Bird

Power Platform Cloud Solutions Architect @ Microsoft | Microsoft BizApps MVP 2023 | Power Platform | SharePoint | Teams

Copilot Studio agents can use tools to update business records, while Agent Builder is suited to agents that answer from files.

Key insights

  • The example agent reads bottling requests in SharePoint and cask records in Dataverse.
  • Knowledge sources let an agent answer from data; a tool is needed to change a record.
  • The example uses a SharePoint Update item tool and a Teams tool.
  • The tool description instructs the agent to act only after the user says yes.
  • The example build and test used about 145 Copilot Credits.

Copilot Studio lets an agent use business data and tools to make changes, rather than only answer questions from files. It matters to makers and process owners who need an agent to work across connected systems. Damien Bird demonstrates the approach with a sample process that checks records, asks for approval, and then updates them.

What's new

The practical distinction is between an agent that provides information and one that can act. Agent Builder is presented as a fit for a quick agent in Copilot that answers from files. Copilot Studio is the choice in Bird’s example when the agent needs to consult separate systems and change a record.

The sample, called Cask Desk, is set at a fictional whisky distillery. Bottling requests are stored in a SharePoint list, while cask details are in Dataverse; the cask number typed on each request connects the two datasets. The agent has instructions that include the rule that Scotch must spend at least three years in oak.

It checks approved bottling runs against the cask data, identifies two requests involving casks that are too young, and finds older casks of the same type. It then waits for the user to approve the proposed changes. After the user says yes, it updates both requests and sends a message to the Warehouse channel in Teams.

Who it is for and what you need

This pattern is for makers or process owners who want an agent to do more than retrieve information. It assumes the process involves data the agent can access and an action tool that can make the required change. In the example, the SharePoint Requests list and Dataverse tables are already in place.

The build uses Copilot Studio and runs on Copilot Credits. Bird reports that this particular build and test used about 145 credits; that figure is an example from the demonstration, not a general estimate for other agents. The scenario also uses SharePoint and Teams tools, with records in SharePoint and Dataverse.

The underlying task should be clear before building: identify which records the agent should consult, what condition it should detect, what change is allowed, and who must approve it. In this example, the condition is a cask younger than the three-year rule, and the proposed correction is to use an older cask of the same type.

How it works

The approach separates instructions, knowledge, and actions. Instructions tell the agent how to interpret the request and apply the business rule. Knowledge gives it information to read, while tools let it change systems or communicate with people.

  1. Start with the business process and the data it depends on. The example uses a SharePoint list of bottling requests and Dataverse cask records, associated by cask number.
  2. Create the agent in Copilot Studio and give it the business rule, including the minimum three years in oak.
  3. Connect both datasets as knowledge so the agent can compare requests with cask details. Bird’s tip is to remove Work IQ and web search from a new agent when the goal is to limit answers to the specified data.
  4. Add tools for the required actions. The example uses a SharePoint Update item tool to change requests and a Teams tool to notify the Warehouse channel.
  5. Put the approval condition in the tool description: use the tool only after the user says yes. The agent can then present its proposed changes and wait for that approval before acting.
  6. Test the process with the sample records: check that it flags the two approved runs with young casks, proposes suitable older replacements, and updates both requests and sends the message only after approval.

The approval instruction is significant because Bird notes there is no confirmation switch on a tool in this example. The safeguard is expressed in the tool’s description rather than supplied as a separate confirmation setting.

Limitations and alternatives

Knowledge by itself is read-only in this scenario. An agent that can find a problem in connected information still needs an appropriate tool to make a change. Adding an action tool therefore changes the risk profile: its purpose and approval condition need to be explicit.

The approval behavior here depends on instructions in the tool description. The example does not demonstrate a separate confirmation control, so builders should test how the agent behaves when a user has not approved a proposed change. They should also check that the tool targets the intended records and that the agent’s matching logic uses the correct cask number.

For a file-based assistant that only answers questions, Agent Builder is the simpler fit described in the example. Use Copilot Studio when the task needs to read across systems, update records, or notify a team. The distillery, people, and sample cask rows are fictional, so the scenario illustrates a design pattern rather than a ready-made production process.

Sources

Frequently asked questions

Can a Copilot Studio agent update SharePoint records?

Yes. In the example, a SharePoint Update item tool changes two bottling requests after the user approves the proposed changes.

How does the example agent use Dataverse and SharePoint together?

It reads cask information from Dataverse and bottling requests from a SharePoint list. The cask number on each request connects the records.

How does the example require approval before an agent acts?

The tool description tells the agent to use the tool only after the user says yes. The demonstration notes there is no separate confirmation switch on the tool.

How many Copilot Credits did the example use?

The build and test used about 145 Copilot Credits. This is the figure for that example.