Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Agents built in Copilot Studio gain new capabilities through integration with other online services. These services can include Microsoft services, such as SharePoint and Dataverse, third-party services like ServiceNow, Salesforce, and Databricks, and custom APIs. Power Platform offers a rich ecosystem of built-in connectors that are available to Copilot Studio, so you don't need to build them yourself. You also have various options to create custom integrations using low-code or pro-code. Agents can extend their capabilities through the Model Context Protocol (MCP) to interact with external tools and data in a standardized, scalable way, or through computer use to automate web and desktop applications directly from a virtual machine–enabling broader integration scenarios even when no API is available.
By using integrations, agents become a convenient interface for accessing the functionality of multiple systems. Users can perform many different operations without navigating away from the agent. For example, a single agent designed in Copilot Studio can be used to:
- Read, create, and update items in a SharePoint list.
- Send an email message by using Office 365 Outlook.
- Open a new support ticket in ServiceNow.
Integration pattern considerations
Copilot Studio supports integration through Power Platform connectors, HTTP requests, workflows and agent flows, MCP servers, Azure Bot Service skills, and more. Choosing the correct integration pattern depends on the project's requirements.
Before comparing patterns, decide which parts of the process should follow predefined logic and which parts should use reasoning to choose the next action based on context.
- Agents are mostly adaptive: They use context to decide the next step at run time and call deterministic steps for fixed tasks.
- Workflows are mostly deterministic: They follow a defined sequence the same way every time and call agents for tasks that need reasoning.
Learn more: Design AI-powered automations
Power Platform connectors
Connectors enable agents to interact with an underlying service. They're a set of actions and triggers exposed through a low-code interface. Actions are operations directed by an agent, such as read, write, or update. Triggers notify the agent when an event occurs in another service.
Use prebuilt connectors and custom connectors:
- Prebuilt connectors: Microsoft offers a large ecosystem of software as a service (SaaS) connectors that are ready to use with Copilot Studio.
- Custom connectors: When there's no prebuilt connector available, you can build your own connector for a service. Custom connectors are no-code or low-code wrappers for REST APIs.
Power Platform connectors meet these requirements:
- Makers who build with Power Platform are familiar with no-code or low-code connectors.
- Power Fx code is supported, including variables, conditions, parameters, and more.
- Parsing and error handling are built in.
- Prebuilt connectors require only configuration, with no development time needed.
- Custom connectors can be created once and used across many agents.
- Ability to monitor activity as part of Copilot Studio integration with Application Insights (a feature of Azure Monitor).
- Some connectors and custom connectors support virtual networks.
When you use Power Platform connectors for integration, consider these factors:
- Returning hundreds of results causes a significant delay in the agent's response to the user.
- Third-party connectors prompt users to enter credentials before they can connect to the service. A user might not understand how to make the connection without guidance. Consider using maker credentials when the user doesn't have the needed information to make the connection.
Model Context Protocol
The Model Context Protocol (MCP) provides a standardized integration layer that exposes tools and resources to one or more agents. Because the MCP server manages tool definitions centrally, MCP is particularly useful when several agents use the same capabilities or when upstream APIs change frequently.
MCP is available across Copilot Studio harnesses, but capabilities and behavior can differ by harness. Review the guidance for your selected harness before you design the integration.
Learn more: Extend agents with Model Context Protocol
Workflows (Microsoft Copilot harness)
Workflows are the modern automation experience in Copilot Studio, designed for business processes that need predictable execution while still benefiting from AI. A workflow defines the process path up front and adds AI capabilities where judgment, content generation, or information extraction is required.
From an integration perspective, a workflow is:
- A tool that an agent can call: When part of a process must run the same way every time, the agent calls the workflow rather than reasoning through those steps itself.
- An integration host: Workflows can orchestrate connectors, MCP tools, HTTP requests, inline agents, and published agents within a single business process.
Use a reusable workflow when the same process needs to be called by multiple agents. If the process is specific to one agent, keep the logic within that agent.
Learn more:
Agent flows (standard harness)
Agent flows execute a series of actions in a predefined sequence. They use the low-code actions found in Power Platform connectors. Agents can pass values as input to an agent flow and receive their outputs.
Use an agent flow when a standard harness agent needs a reusable sequence of deterministic actions. Use a connector for a single action and an agent when the task requires reasoning.
Agent flows are functionally similar to Power Automate cloud flows with a few important differences:
- Agent flows can enable high throughput and low latency.
- Agent flows offer more capabilities than Power Automate flows, such as "human-in-the-loop" actions.
- Agent flows consume Copilot Credits based on their usage. Power Automate flows typically run under a per user licensing model or a per process model.
Agent flows meet these requirements:
- No-code or low-code.
- Deterministic chaining of actions.
- Activity can be monitored separately.
- Hides sensitive values such as keys and secrets in flow actions. Gets credentials from Azure Key Vault for authentication.
- Handles large volumes of data and file sizes.
- Uses concurrency and parallel execution threads to enable better performance.
- Existing Power Automate cloud flows can be converted to agent flows.
When designing an agent that uses agent flows, consider these factors:
- Performance is constrained by the API limits of the services and actions it includes.
- The developer must design an error-handling pattern so the agent knows how to handle exceptions.
- The response the flow sends to the agent has a size limit.
- Longer-running logic can continue to execute after the Respond To Agent action.
HTTP requests (standard harness)
Agents can integrate with another service by making an HTTP request. The developer must specify these values each time when making an HTTP request:
- URI
- Method (GET, POST, PATCH, and so on)
- Headers
- Body
Use HTTP requests when you need to:
- Connect to services or perform actions that prebuilt connectors don't support.
- Integrate a service without developing a custom connector.
When you use HTTP requests, consider these factors:
- Makers unfamiliar with HTTP requests might need guidance to configure and maintain them.
- Unlike custom connectors, individual HTTP requests aren't reusable components that you can share across your organization.
Azure Bot Service skills (standard harness)
Azure Bot Service skills are reusable conversational building blocks that you develop in code. To use a skill, register it in Copilot Studio and then trigger it as a node in a conversation topic.
Use Azure Bot Service skills when you need to:
- Run tasks synchronously.
- Connect through private endpoints.
- Reuse existing Azure Bot Service skills in Copilot Studio.
When you use Azure Bot Service skills, consider these factors:
- Ongoing development and support require coding skills, such as C#.
- Skills run in Azure AI Bot Service.
- You incur additional Azure costs and need an Azure subscription.
- You manage application lifecycle management (ALM) outside Power Platform.
Bot Framework skills are separately hosted code services invoked from topics in the standard harness. They're different from the newer skills used by agents powered by the Microsoft Copilot harness.
Other considerations for integration patterns
Consider these additional factors when planning your integration strategy:
- Copilot Studio integration patterns aren't exclusive and can be combined.
- Integrations are only as fast as the endpoints they connect to.
- Optimize queries to return results quickly and keep conversations responsive.
- If agent flows and Copilot Studio don't meet your performance requirements (for example, if they don't execute logic fast enough), consider these options:
- Dataverse custom APIs
- Dataverse low-code plugins
- Azure functions
- Specific scenarios require the data integration to be performed in a middle-layer that modifies messages as it relays them.
Adding integrations to an agent
You have a few options for adding integrations to an agent.
Tools:
- Connect the integration as a tool to expand an agent's functionality.
- Use natural language to describe when the orchestrator should select the tool to fulfill a task.
- Define how the agent should determine the tool's input values and what the output should look like. Generative AI can dynamically fill in inputs based on a description, or you can manually define values and formulas.
- Invoke as part of a plan created by generative orchestration.
Topics (standard harness):
- Call an integration through a topic node. Executes at the same position in the topic's sequence each time.
- Provide inputs to the node by using Power Fx.
Agents:
- Create child agents and connected agents that have their own set of instructions, knowledge, and tools.
- Alternatively, connect to an existing agent in Copilot Studio, Microsoft 365 SDK, Microsoft Foundry, Fabric, Agent-To-Agent, and so on.
Quotas and limits
Review current service limits for Copilot Studio and Power Platform:
- Copilot Studio quotas and limits
- Power Automate limits
- Power Platform request limits and allocations
- Power Platform Connector limits, listed on each connector's individual page.
You must determine API limits for these services separately:
- OpenAI capacity: Rate limits aren't documented.
- Azure Bot Service skills: Check the Azure documentation for the specific services used.
Integrations planning overview example
When planning integrations with Copilot Studio, determine the following information for each service:
- Connected system: The service you're connecting to.
- Called by: The bot component in Copilot Studio that calls the service.
- Called with: The selected integration type.
- Expected daily volume: The average number of requests.
- Expected peak: The highest anticipated number of daily requests.
- Details: Other information about the integration.
Here's an example for an agent with multiple integrations:
| Connected system | Called by | Called with | Expected daily volume | Expected peak | API calls per minute | Details |
|---|---|---|---|---|---|---|
| ServiceNow | Service Desk KB topic | Workflow | 5,000 | 1,000 | 600 | The user query is an input to run a query on the ServiceNow knowledge base by using the standard connector. A JSON of results returns to Copilot Studio for generative actions custom data. |
| Contoso website | Knowledge | Generative answers | 1,000 | 100 | N/A | https://contoso.com/en-us/FAQ with /en-us/ being dynamically set based on the user locale variable. |
| Internal Directory API | Conversation Start topic | Workflow | 15,000 | 5,000 | N/A | Use of custom connectors running in the context of an Azure Virtual network to connect to an internal API. |
| Weather API | Weather topic | HTTP | 500 | 100 | N/A | GET request to a REST-based API. |
| Teams | Meeting Booking topic | Tools | 1,500 | 300 | 100 | Create a Teams meeting based on conversation inputs. |
| SAP | Every 24 hours | Workflow | 20,000 | - | 2,500 | Daily batch synchronization of the product catalog from SAP to Dataverse. |
Next step
Learn how the Model Context Protocol can extend your agent's capabilities.