Microsoft has added an agent node to Copilot Studio workflows. It lets a workflow hand one step to an AI agent that can reason over input, use approved tools, read attached knowledge, and return a result for later steps. That is more useful than another chatbot demo, but it also makes permissions and output validation part of the workflow design.

Scope: This guide covers the Copilot Studio workflow agent node documented by Microsoft in November 2026. Availability, billing, model access, and preview status can vary by tenant, region, and licensing. Test in a non-production environment first.

What changed

Before the agent node, a workflow that needed judgment usually had to split the work across several deterministic actions, prompts, connectors, and condition branches. The new node can call an existing published agent or create an inline agent whose instructions, tools, knowledge, and output shape travel with that workflow.

Microsoft's documentation describes two related choices:

The practical distinction matters. An agent node is a good fit for a narrow automation such as triaging an incoming request against an internal policy. A Copilot node is a better fit when the work should run as a specific user's Microsoft 365 context, using that user's mail, files, calendar, and chats.

A safe first use case

Do not start with an agent that can send mail, change permissions, delete files, or approve financial activity. Start with a read-only classification workflow:

  1. Trigger when a support request arrives in a controlled queue.
  2. Pass the request text and a small set of approved policy documents to the agent.
  3. Return a fixed structure: category, urgency, policy reference, confidence, and recommended queue.
  4. Write the result to a review list. Let a person approve the next action.

This gives you a useful test of grounding and reliability without turning a model response into an irreversible action.

Build the workflow

01Create a non-production workflow

In Copilot Studio, open Workflows and create a new workflow, or open an existing workflow and select the Build tab. Choose a trigger with predictable test input, such as a manual trigger or a test SharePoint item.

Keep the pilot in a dedicated environment. Restrict makers and connectors to the people who need them. If the workflow will eventually use a connector, create a test connection owned by the pilot team rather than borrowing a broad administrator connection.

02Add the agent node

Select the Agent icon in the Add panel. Under Agent, choose either an existing published agent or New agent for this workflow.

An inline agent is usually the better first choice. It keeps a small, purpose-built instruction set close to the automation and avoids creating a reusable agent before the use case has earned one.

03Write a bounded instruction

Tell the agent what it may read, what it must return, and what it must not do. A useful instruction has an explicit failure path:

You classify support requests using only the supplied request and the attached policy pages. Return JSON with these fields: - category: one of access, email, endpoint, security, or other - urgency: low, normal, high, or critical - policy_reference: the matching policy title or null - confidence: a number from 0 to 1 - rationale: no more than 80 words If the policy does not answer the question, set policy_reference to null and say that human review is required. Do not invent a policy, contact a user, change a record, or call a tool that is not explicitly attached.

Do not ask the model to be “helpful” in the abstract. Give it a job, a source boundary, an output contract, and a stop condition.

04Add only the knowledge it needs

The agent node can use public websites and SharePoint knowledge sources. Add the smallest authoritative set that answers the task. For internal policy work, use a dedicated SharePoint site or library with clear ownership and review dates rather than attaching an entire tenant.

Knowledge is not a permission bypass. The workflow identity and connected tools still determine what the run can access. Review inherited SharePoint permissions, external sharing, sensitivity labels, and stale documents before the pilot.

05Choose structured output

Use structured output when a later step will branch, write fields, or call an API. A text response is acceptable for a human-facing draft; it is a weak contract for automation because wording changes can break downstream logic.

For this pilot, define fields for category, urgency, policy reference, confidence, and rationale. Add a separate boolean such as human_review_required instead of making the next step infer it from prose.

06Keep actions behind approval

Attach tools only after the read-only path works. If the next step can modify data, require an approval or a deterministic condition that does not depend solely on the model's confidence value. Log the input, selected knowledge sources, output, tool calls, approval decision, and final action.

Do not treat confidence as authorization. A model can be highly confident and still be wrong. Authorization should come from identity, policy, and an approval path, not from a number returned by the model.

Test it like an automation, not a chat demo

Build a small test set before connecting the workflow to live records:

Check the structured output, not just the prose. Confirm that unknown values stay null, categories stay within the allowed set, and downstream steps stop when the output contract is invalid.

Agent node or Copilot node?

NeedBetter starting pointReason
Narrow automation-specific reasoningAgent nodeInstructions, tools, knowledge, and output shape stay with the workflow.
Call Researcher, Analyst, or an Agent Builder agentCopilot nodeMicrosoft documents the Copilot node as the path for Chat and named agents.
Use a person's mail, files, calendar, and chatsCopilot nodeThe node runs through the selected Microsoft 365 connection.
Reuse the same specialist across workflowsPublished agent plus agent nodePromote the design once it has a stable contract and ownership model.

Billing, permissions, and rollback

Microsoft warns that building, testing, and evaluating agents on the Copilot harness can consume Copilot Credits. Set a pilot budget, identify who owns the environment, and record which workflows are allowed to use usage-based capabilities.

Before production rollout, record:

Keep the first deployment reversible. A useful pilot should be easy to turn off without leaving half-completed writes or an undocumented service account behind.

Bottom line

The agent node is a meaningful step for Microsoft 365 automation because it puts reasoning, tool use, grounding, and structured results in one workflow step. The feature is most useful when the surrounding workflow remains boring: narrow permissions, explicit data sources, strict output fields, human approval for writes, and logs that let an administrator reconstruct what happened.

Start with classification or drafting. Add actions only after the test set proves that the agent knows when it does not know.

Sources

*Microsoft, Microsoft 365, Copilot, Copilot Studio, SharePoint, and related names are trademarks of Microsoft Corporation. This independent article is not affiliated with Microsoft.*

Copilot Studio Microsoft 365 AI Workflows Agent node SharePoint Governance