An interactive hands-on Copilot lesson on building custom agents: it walks three real agent builds (sales research, HR policy, IT helpdesk), has the learner judge data quality, spot a dangerous missing guardrail, and check escalation — then assemble a safe agent spec from its four essential parts.
Copilot Mastery · Lesson 06 · Pro+Step 1 of 7 · ~16 min
Build a custom assistant for your role.
Copilot Agents are the step up from Pages — purpose-built AI assistants for a specific role or workflow, connected to your org's data. Think a sales-research agent, an HR policy agent, an IT helpdesk agent. This lesson walks three real builds, then you'll assemble a safe one yourself.
You'll judge what makes an agent good (or dangerous), and build a production-ready spec. About 16 minutes.
Agents are Custom GPTs for the Microsoft world
Like ChatGPT's Custom GPTs, but built for your organization — wired to your SharePoint, Teams, and company knowledge. The agent already knows your context, so you stop re-explaining it every time.
Your call
When is building an Agent worth it over just chatting with Copilot each time?
01 · A sales-research agent
Build
🤖 "Customer Prep"
Researches any prospect before a meeting — from your CRM, past emails, and the web.
Copilot Studio setupCreate Agent → name "Customer Prep" → instructions: "When asked about a customer, search SharePoint for past proposals, Outlook for recent emails, and the web for current news. Produce a 60-second briefing." → publish to your team's Teams channel.
Quick check
Reps say its briefings are wrong. The most likely cause?
~30 min of pre-call research → ~60 sec
02 · An HR policy agent
Build
🤖 "HR Help"
Answers the repetitive ones — PTO, benefits, expenses — from your real policy docs. Here's a draft of its instructions:
Draft instructionsname "HR Help" → connect to the HR SharePoint site → instructions: "Answer employee questions about PTO, benefits, and expenses in a friendly, helpful tone."
Spot the dangerous omission
What's missing that makes this draft a real liability?
03 · An IT helpdesk agent
Build
🤖 "IT Triage"
First-line IT is mostly password resets, VPN, and how-tos. An agent can clear 60–70% before a human sees it — if it knows when to step aside.
Copilot Studio setupname "IT Triage" → connect to the IT knowledge base + ticketing API → instructions: "Walk users through common fixes for password, VPN, M365, and printer issues. If unresolved after 3 steps, create a ticket and route to IT. Be friendly, brief."
Judgment call
The worst version of an IT agent is one that:
04 · Assemble a safe agent
Build it
You're building the "HR Help" agent. A flashy agent isn't a safe one — tap the four essentials every production agent needs and watch its safety climb:
The rule: all four matter. A data source without "answer only from it" still hallucinates; citations without escalation still strands people. Safety is the four together.
Repeat HR questions: cut 70%+ — and zero invented policy
✓
Lesson complete
You can build agents that know your org's data — and, more importantly, build them so they don't get you in trouble.
Build your first real agent
Pick the question you get asked most at work.
In Copilot Studio, name an agent and connect the relevant data source.
Write instructions with all four guardrails: source, stay-in-source, cite, escalate.
Test 5 real questions; iterate the instructions until it answers well.
Deploy to a small group, then refine on feedback. ~1–2 hours; saved forever.
What you can do now
Know when an agent beats a one-off chat, connect agents to real org data, write instructions that stop hallucination and cite sources, and always include a graceful human escalation.
Up next in Copilot Mastery
Lesson 07 · GitHub Copilot — the developer side most people miss
Hey! I'm your AI Coach for this lesson. Ask me anything about building Copilot Agents — Copilot Studio, connecting data, the guardrails that stop hallucination, or which workflow to automate first. What's on your mind?
Free lesson coaching is limited to 3 questions. Upgrade to Pro for unlimited coaching on every lesson.