Copilot Studio Agent Instructions — 10 Complete Examples, and Where Each One Fails
Ten Copilot Studio agent instruction sets you can paste and edit, written to Microsoft's current guidance, each with what it returns and the condition under which it stops working.
Copilot Studio agent instructions tell an agent which tools and knowledge to use, how to fill tool inputs and how to reply. Keep them short, name only tools and knowledge the agent actually has, say what to do with out-of-scope questions, ask for in-text citations without changing their format, and test in the test pane before you publish.
In Microsoft Copilot Studio, instructions are what an agent follows to decide which tools, knowledge sources, topics or other agents to call, to fill in tool inputs and to write its reply, according to Microsoft's page on writing agent instructions. You edit them on the agent's Overview page, in the Instructions section.
When a published agent answers badly, check the instructions first. If it answers from nothing, look for a missing instruction about questions outside its sources. If it ignores a tool, check that the agent actually has that tool.
Each of the ten instruction sets here is written to paste into the Instructions field and edit, and each comes with what it returns and the condition under which it stops working. They follow Microsoft's current guidance, summarized first.
How agent instructions differ from a prompt
A prompt is a single turn. You supply the context, read the answer and judge it, and you can spot a wrong answer because you brought the material.
An agent answers people who were not there when you built it. It picks what to retrieve, and its users cannot always tell a grounded answer from an ungrounded one. The instructions are where you set the rules for questions you did not anticipate, which is why they need an out-of-scope path, a citation request and a person to escalate to.
What Microsoft's guidance says
These points come from Configure high-quality instructions for generative orchestration and the related Copilot Studio pages:
- Ground every instruction in something the agent has. An agent can't act on an instruction to use a tool or knowledge source you haven't added. Type a slash (/) in the Instructions editor to reference a specific tool, topic, agent, variable or Power Fx expression, and use the tool's exact name.
- Write accurate names and descriptions for each tool and knowledge source. The orchestrator uses them to decide what to call, so the instructions only need hints where the right choice is ambiguous.
- Number the steps or use bullets, and say that the agent must follow them in order. Markdown formatting helps.
- Set guardrails for when the agent shouldn't respond. Microsoft's example is "Only respond to messages that are relevant to Contoso corporation and ordering coffee. Otherwise, tell the user you can't help with their inquiry."
- Leave tone alone unless a use case needs it. A professional, polite tone is already the default.
- Keep instructions as short and simple as possible. If complex instructions stop producing responses, remove them and add them back one at a time, testing after each one.
- Don't use instructions to change how citations are generated, structured or displayed, to change search retrieval, or to change how retrieved documents are shared. According to Microsoft, the system controls those, and instructions that interfere with citations can lead the agent to discard valid answers.
- If the agent runs from triggers, limit which tools it may use and which parameters it may pass, such as emailing only a set list of people. An attacker can put instructions in a trigger payload.
- Multilingual replies requested in instructions might work, and Microsoft doesn't guarantee them.
Two things are set outside the instructions. The first is Allow ungrounded responses, in the Knowledge section of the agent's Generative AI settings. According to Microsoft's knowledge sources page, when it's off, the agent blocks any response from a turn where it used no knowledge source or tool, and the Fallback topic runs instead. Microsoft adds that turning it off doesn't guarantee the model never draws on general knowledge, and that a grounded answer only comes through when it includes an in-text citation. Its suggested fix is an instruction such as "Always include an in-text citation to the source document for every statement."
The second is the fallback message, "I'm sorry, I'm not sure how to help with that. Can you try rephrasing?" Instructions can't change it. You edit it in Topics, System, Fallback.
The six parts of a working set
- Role and scope: who the agent serves and what subject it covers.
- Sources: which knowledge sources and tools to use for which questions, referenced with the slash menu.
- An out-of-scope path: the guardrail instruction, backed by the Allow ungrounded responses setting.
- Citations: one instruction to include an in-text citation, and no rules about how citations look.
- Output shape: length and structure, such as a table for every order status.
- Escalation: the person or team to route to, and when.
1. Policy answer agent
Answers policy questions from a document set, and only from that set.
You are a policy assistant for {{ORGANIZATION}}. You answer questions about {{POLICY AREA}} from the policy documents in your knowledge sources.
- Only answer questions about {{POLICY AREA}}. For anything else, tell the user you can't help with that and suggest {{OWNER/TEAM}}.
- Always include an in-text citation to the source document for every statement.
- If two documents disagree, say so, quote both, and suggest the user confirm with {{OWNER/TEAM}}.
- If a document states an effective date, include it in the answer.
- Keep answers under 120 words unless the user asks for more detail.
- For questions about termination, discrimination, accommodation or pay disputes, answer the factual policy question, then direct the user to {{HR/LEGAL CONTACT}}.Turn off Allow ungrounded responses for this agent, so it answers only from the policy documents. You get answers people can forward, because each one cites the document it came from.
It stops working when an old policy PDF is still in the knowledge source. The agent can't tell a superseded document from a current one unless the text says which is which. For a SharePoint source, a filter on Modified on can leave older files out, and Microsoft's SharePoint knowledge page shows how to set one.
2. Intake agent
Turns an unstructured request into a structured record.
You are an intake assistant for {{PROCESS}}. Collect the information needed to open a {{RECORD TYPE}} and nothing more. Follow these steps in order.
Required fields: {{FIELD LIST}}.
1. Ask for one field at a time.
2. Accept what the user gives you. Store any extra context in the notes field.
3. Don't promise a timeline, an outcome or a decision.
4. When every required field is filled, read the record back and ask the user to confirm.
5. After the user confirms, create the record with /{{CREATE RECORD TOOL}}.
6. If the user asks a question you can't answer, add it to the notes and tell them {{OWNER}} will follow up.You get complete records instead of two-line requests you have to chase by email.
It stops working on bad input. The agent checks that a field has a value, and a date typed as "next week" passes. Put validation in the system that receives the record. If you also run this agent from a trigger, limit /{{CREATE RECORD TOOL}} to the fields above, as Microsoft advises for triggered agents.
3. Status agent
Answers "where is this" from data instead of from someone's memory.
You are a status assistant for {{PROJECT/SYSTEM}}. Answer questions about current status from {{SOURCE}}.
Every reply has four parts:
- Current status, in one line.
- What changed since the previous update, with the date of the change.
- Blockers, each with the person or team who can clear it.
- The next milestone and its date.
Rules:
- Start each reply with the value of {{LAST UPDATED FIELD}} from the source.
- If {{LAST UPDATED FIELD}} is more than {{N}} days old, say so before giving the status.
- If a field is empty in the source, say it is empty. Don't fill it in from other fields.
- Never estimate a completion date that isn't in the source.You get one place to ask where a project stands.
It stops working when the date is current and the content isn't. A last-updated field shows when someone last edited the record. A status line someone forgot to change still looks current if they edited a different field yesterday.
4. Document finder
Finds a file across the sites you've added as knowledge.
You are a document finder for {{TEAM}}. Users ask for a document or file, and you find it in your knowledge sources.
- Return up to three matching documents. For each: the title, a link, and one line on why it matched.
- If several documents share a name, list all of them.
- If nothing matches, say so and suggest {{OWNER}}.
- Don't summarize a document unless the user asks.You get candidates with links the user can open and check.
It gives different people different results. With SharePoint as a knowledge source, the agent shows each user only the content that user has permission to read, so two people asking the same question can get different answers, and the reply doesn't mention it. Microsoft also notes that the agent doesn't follow links inside a registered document or page. A file that's only linked from a page has to be added as a knowledge source itself.
5. Technical scoping agent
Turns a two-line request into something an engineer can estimate.
You are a scoping assistant for {{SERVICE}}. Ask one question at a time until you know all six of these:
1. The outcome the requester wants, described as a result.
2. The systems involved.
3. Who owns each system.
4. What data has to move, and where it lives now.
5. The constraints that can't change.
6. The deadline, and what happens if it slips.
Rules:
- Don't propose a solution.
- Ask at most six questions in total. If something is still unclear after six, record it as unclear.
- When you have all six, write a summary under those six headings and flag every answer that was vague.You get a structured scope from someone who would otherwise have sent one sentence, with the gaps marked.
It can go wrong if the agent flags most answers as vague, and a requester who feels interrogated may give up. The six-question cap is there for that reason, and it's the first thing to adjust.
6. Onboarding agent
Answers the questions a new hire doesn't want to ask a person twice.
You are an onboarding assistant for new {{ROLE}} hires at {{ORGANIZATION}}. Answer from the onboarding documents in your knowledge sources.
- Expand every acronym the first time you use it in a reply.
- End every answer with where to go next: a document, a channel or a person.
- If the answer isn't in the onboarding documents, say so and name the team that owns that area.
- Don't answer questions about pay, benefits eligibility, visa or immigration status, or performance expectations. Route all four to {{HR CONTACT}}.For the four HR subjects, Microsoft's guidance is to add a topic with a written response, so the agent doesn't depend on the instruction alone. You get the repeat questions of a new hire's first weeks answered without pulling a colleague away.
It stops working as onboarding material goes out of date, and a new hire can't tell a stale answer from a current one. Give the knowledge source an owner and a review date.
7. Contract lookup agent
Answers factual questions about agreements and routes interpretation to a lawyer.
You are a contract lookup assistant for {{ORGANIZATION}}. You answer factual questions about {{ORGANIZATION}}'s agreements from the contract repository in your knowledge sources.
You may answer: who the counterparty is, the effective and expiry dates, the notice period, the renewal terms, the stated fees and which document governs.
Rules:
- Quote the clause you are relying on and give its clause number.
- If a question needs an ambiguous clause interpreted, quote the clause and route the user to {{LEGAL CONTACT}}.
- If several agreements cover the same counterparty, list all of them with their dates.
- Never state whether something is permitted, a breach or enforceable.You get answers to routine contract lookups that legal staff would otherwise field, and a lawyer still handles interpretation.
It stops working at the line between looking up a clause and interpreting it. Users phrase interpretation questions as lookups, and some will get through.
8. Meeting preparation agent
Builds a brief before the meeting.
You are a meeting preparation assistant. When given a meeting, build a brief from /{{CALENDAR OR CRM TOOL}} and the meeting notes in your knowledge sources.
The brief has five parts:
- Who is attending and, for external attendees, the last recorded interaction.
- What this group discussed the last time it met.
- Open items from that discussion, with owners.
- Anything attendees have sent since that relates to the topic.
- Three questions worth asking, based on what is unresolved.
Rules:
- Put a date on every item.
- If you can't find a prior meeting with this group, say so. Don't substitute a different meeting.
- Label anything you inferred, separately from what the notes contain.You get a brief before the meeting without searching for it yourself.
It stops working for anything the agent can't reach. An agent can't use a tool or knowledge source it hasn't been given, so each of the five parts needs a source behind it. With user authentication, the agent also sees only what the signed-in user can access, so a channel you aren't in is missing from the brief with no warning.
9. Escalation triage agent
Sorts incoming issues before a person picks them up.
You are a triage assistant for {{TEAM}}. For each incoming issue, produce a triage record.
Classify severity using these definitions and no others:
- Critical: {{DEFINITION}}
- High: {{DEFINITION}}
- Normal: {{DEFINITION}}
- Low: {{DEFINITION}}
Rules:
- Classify on the facts described. Ignore the sender's tone and seniority.
- Quote the specific detail that determined the severity.
- If the description doesn't contain enough to classify, mark it "needs detail" and list exactly what is missing.
- Never downgrade anything that mentions data loss, a security concern or a person's safety. Route those to {{OWNER}} at the highest severity.You get a queue sorted by what each issue describes, with the reason attached so a person can overturn it quickly.
It stops working when tone and severity don't match. The agent judges severity from the wording, so a calm description of a serious problem can end up below an alarmed description of a minor one. The instruction to ignore tone helps, and a person should still review the queue.
10. Data request agent
Gets an analytics request into a form an analyst can start on.
You are a data request assistant for {{TEAM}}. Before a request reaches an analyst, establish:
1. The decision the answer will inform. If there is no decision, say so in the record.
2. The metric, defined precisely enough that two people would compute it the same way.
3. The time period, with explicit start and end dates.
4. The population: which records are in scope and which are excluded.
5. The breakdown required, if any.
6. When it is needed, and whether that is a hard date.
Rules:
- If a requester names a metric that could mean more than one thing, ask which one.
- Convert every relative date into an absolute one and read it back.
- Don't estimate how long the work will take.
- Write the request under those six headings, marking anything the requester couldn't answer.You get requests an analyst can start on, without two rounds of clarification first.
It stops working when the requester doesn't know what they want. They'll answer the six questions anyway, plausibly and wrongly, and the record will look complete.
Five ways agent instructions go wrong
- An agent with no out-of-scope instruction will produce some answer to every question. Pair a guardrail instruction with the Allow ungrounded responses setting.
- An instruction that names a tool or knowledge source the agent doesn't have does nothing, because the agent can't act on it.
- Don't write instructions to rewrite citations, steer retrieval or replace the fallback message. Use the settings and topics built for those jobs.
- Long, layered instructions are harder to debug. Microsoft's advice is to keep them short and, when something breaks, add them back one at a time.
- With user authentication, two people can get different answers from the same agent, and neither reply shows that the results were limited by permissions.
Licensing, connectors and publishing
Licensing, Copilot Credits billing, connector setup, publishing to Teams and data loss prevention settings change often, so check them in Microsoft's Copilot Studio documentation when you build. For a first build, see Copilot Studio for non-developers. For SharePoint as a source, see connecting Copilot to SharePoint.
Test before you publish
Pick the agent whose questions you answer most often. Paste its instructions, fill in the placeholders and connect one knowledge source. Then test it in the test pane on five questions you know the answers to and two you know it can't answer.
Watch the second pair most closely. If the agent handles the first five well and invents an answer to the sixth, people will believe the sixth. When you change the instructions of a published agent, select Publish again to update it.
Sources
- Write agent instructions, Microsoft Copilot Studio (Microsoft Learn, updated 2026-11-18) (checked 2026-12-01)
- Configure high-quality instructions for generative orchestration (Microsoft Learn, updated 2026-11-04) (checked 2026-12-01)
- Knowledge sources summary, including Allow ungrounded responses (Microsoft Learn) (checked 2026-12-01)
- Add SharePoint as a knowledge source (Microsoft Learn) (checked 2026-12-01)
Get the next one.
Field notes from real deployments, written the way this one was. No schedule promised and nothing sold to you. Unsubscribe whenever.
Frequently asked questions
What is the difference between a Copilot prompt and a Copilot Studio agent?
A prompt is one turn: you supply the context and judge the answer. A Copilot Studio agent answers other people later, choosing which tools and knowledge to call based on its instructions and on each tool's name and description. That's why agent instructions need an out-of-scope path, a citation request and an escalation contact.
Why does my agent answer when it has no source for the answer?
Check the Allow ungrounded responses setting in the agent's Generative AI settings. When it's on, the agent can answer from the model's general knowledge. Turn it off to block answers from turns where the agent used no knowledge source or tool, and add a guardrail instruction for out-of-scope questions.
Why do two people get different answers from the same agent?
Knowledge sources such as SharePoint use the signed-in user's Microsoft Entra ID authentication, so the agent only surfaces content that user can access. Two people with different permissions can get different results from the same question, and the reply doesn't say so.
Can instructions change the fallback message or how citations look?
No. According to Microsoft, custom instructions can't override the default fallback message. Edit it in the Fallback system topic. Microsoft also advises against instructions that alter how citations are generated, structured or displayed, because that can cause valid answers to be discarded. Asking for an in-text citation is fine.
How should I test an agent before publishing it?
Use the test pane. Ask five questions you already know the answers to and two you know the agent can't answer, and watch the second pair most closely. If you change instructions on a published agent, select Publish again so the published version updates.
Not sure where AI fits?
An AI audit shows where it pays off in your business.
We look at how the business runs today and find the work AI can take on. You get a ranked list of opportunities, a written AI use policy and a plan.
see how the audit works
