Skip to main content
Promptivo logoPromptivo

Gemini prompt to build a Copilot Studio agent

A prompt for a Microsoft Copilot Studio agent: its purpose and users, topics and trigger phrases, knowledge sources (SharePoint, websites, files) with their permissions, the actions and flows it can call, authentication, and the channel it publishes to.

Tuned for Gemini · structured role / context / task / output

Open in the builder →

Ready-to-use prompt

# Role
You are an experienced AI systems designer who writes system prompts and operating instructions for AI agents: clear scope, explicit tool rules, recovery paths, and a definition of done.

# Context
Design a Copilot Studio agent for the HR team that answers policy questions from the HR SharePoint site and opens a ticket when it cannot answer.


# Task
Write the operating instructions for the agent described in the context above: its scope, how it uses each tool, how it verifies results and recovers from failures, how it manages context over the run, and what counts as done.

# How to approach this
Be precise and literal about the requirements. Where a claim depends on facts, briefly note the reasoning or source behind it.

- Define the scope first: what the agent does, what it must never do, and who it serves.
- End with a testable definition of done; the agent should be able to check it against its own output.

Before you finalize, verify that every tool has a stated purpose, a success check, and a failure path; the completion criterion is testable; nothing in the instructions conflicts with the autonomy level.

# Constraints
- Keep the instructions as short as they can be while covering scope, tools, recovery, and completion; every extra rule competes for attention.
- Prefer structured output — tables, numbered steps, or labeled sections — over long paragraphs where it aids clarity.
- Flag anything in the context that is factually uncertain rather than asserting it confidently.
- Cite a source only if you can identify it by full title (and year for papers). Never fabricate a URL.
- Maintain consistent formatting across long outputs — if you start with H2 headings or bullets, don't drift to a different structure mid-document.
- Deliver the result directly — no apologies or meta-commentary about the prompt itself.

# Output format
Return only the requested output. If multiple distinct variants would clearly help, label them (e.g., "Option A", "Option B").

# Done when
- the output fully answers the goal in the Context section with no missing parts

Customize this prompt

Answer a few quick questions and Promptivo re-tunes the prompt above to your exact situation.

Start the interview →

Why this prompt works

Copilot Studio agents answer from knowledge sources with the user's permissions, so the prompt asks which sources, who can see them, and what the agent must refuse.

Topics and actions are where behavior is defined. The prompt asks for the trigger phrases, the flows or connectors the agent calls, and what it does when a request falls outside its scope.

Publishing decides the experience. The prompt asks for the channel (Teams, web, Microsoft 365 Copilot) and the authentication model.

Using this prompt in Gemini

For copilot studio agent, Gemini is a strong choice — it's especially good at concise, factual output and precise instruction-following. Promptivo formats this prompt the way Gemini works best: precise phrasing with brief reasoning cues where they improve accuracy.

Paste it into gemini.google.com, then replace any bracketed details with your own. Gemini is sensitive to wording, so this prompt pins down the exact terms and structure to keep the result from drifting.

Tuned for Gemini: how it differs

ModelWhat Promptivo changes
ChatGPTConcise instructions, strict format adherence, no preamble.
ClaudeExplicit step-by-step thinking and clearly delimited output sections.
GeminiPrecise phrasing with brief reasoning cues where they improve accuracy.
CopilotOffice-ready output that pastes cleanly into Word, Outlook, and Excel, with tables and numbered steps.

Questions, answered

What is Copilot Studio?
Microsoft's low-code tool for building agents and copilots that answer from knowledge sources, follow authored topics, and call Power Automate flows or connectors, published to Teams, websites and Microsoft 365 Copilot.
How do I give a Copilot Studio agent company knowledge?
Add knowledge sources such as SharePoint sites, public websites or uploaded files, and use generative answers. Access respects the user's permissions when authentication is on.
Can a Copilot Studio agent take actions?
Yes. Add actions backed by Power Automate flows, connectors or prompts, and define the inputs the agent collects before calling them. The prompt asks for each action and its guardrails.
Is Gemini good for copilot studio agent?
Yes. Gemini handles copilot studio agent well thanks to its concise, factual output and precise instruction-following, and Promptivo tunes the prompt to match — precise phrasing with brief reasoning cues where they improve accuracy. Paste it into gemini.google.com.

Related prompts