Build your first Copilot Studio agent, step by step

Here's the typical path to build a simple but useful agent, using an HR policy agent as the example. Most of it is done by clicking and writing, not coding.

Everyday analogy

Like setting up a new team inbox: decide its purpose, give it the right documents, write reply rules, test with colleagues, then announce it to everyone.

Example

Goal: employees ask "How many days of annual leave do I get?" or "Apply for leave next Friday" in Teams, and get correct, policy-based answers or a submitted request.

📝Describewhat theagent does📚AddknowledgeHR policies💬Add topicscommonquestions⚡Add actionssubmit leave🧪Test🚀PublishTeams
Building a simple Copilot Studio agent, step by step.
  1. 1. Define the use case

    Who uses it, top 10 questions, what it must never do, how success is measured. (This is classic BA work.)

  2. 2. Create the agent

    In Copilot Studio, describe the agent in plain language; it drafts a name, description and instructions you can edit.

  3. 3. Add knowledge

    Connect the HR SharePoint site and upload the policy PDFs. Check that permissions match who should see what.

  4. 4. Add tools

    An agent flow that creates a leave request, and a connector to look up the employee's leave balance.

  5. 5. Add topics where needed

    A fixed topic for sensitive cases, e.g. "I want to raise a grievance", that hands over to a human.

  6. 6. Test in the test pane

    Try normal, tricky and off-topic questions; check answers cite the right policy; fix instructions and descriptions.

  7. 7. Publish to Teams

    Publishing creates the live version; later edits stay in draft until you publish again.

  8. 8. Monitor and improve

    Use analytics: which questions fail, where people escalate, satisfaction, and Copilot Credit usage.

Try it yourself

About 30 min

Build a tiny agent (optional)

  1. If you have access, open Copilot Studio and create an agent from a description.
  2. Add a public web page as knowledge (e.g. your city's holiday list).
  3. Test 5 questions in the test pane and fix one wrong answer.

What you should see: Your first working Copilot Studio agent.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectUse AI across a mini business analysis projectAbout 90 min · No coding needed · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.