As a SharePoint developer, one of the recurring tasks we come across is provisioning new development sites for team members. Now imagine a scenario where a Copilot (an agent) can do this for us just by collecting some basic inputs from the user. Sounds cool, right? Let’s build that!
In this blog post, we’ll learn how to create a custom agent using Microsoft Copilot Studio, which will help automate the SharePoint Dev site creation process. We’ll also make the agent collect necessary details from the user using multiple-choice questions and trigger the backend flow for site creation.
🛠️ Scenario
Let’s say you’ve joined a team as a new SharePoint developer. You need a dev site to start working. Instead of filling out a boring form or waiting for IT, you just chat with a Copilot:
“Hi, I’m Gowtham. I need a new SharePoint Dev site.”
Boom! The Copilot collects all required info and provisions the site for you. Let’s build this!
🧱 Tools Used
- Microsoft Copilot Studio: for creating the agent
- Power Automate: for backend site provisioning logic
- SharePoint Online: as the target environment
1️⃣ Step 1. Create a New Agent in Copilot Studio
- Go to https://copilotstudio.microsoft.com
- Click on Create a New agent.

- Name it something like SharePoint Site Creator
- Choose your language and click Create

✅ Step 2. Define the Greeting and Trigger Phrase
👉 Yes, this becomes a topic in Copilot Studio.
- In Copilot Studio, go to Topics.
- Create a new topic called Create SharePoint Dev Site.
- Add trigger phrases like:
"I need a SharePoint development site"
"Create new SharePoint site"
"Provision site for new team member"

3️⃣ Step 3. Ask User for Required Inputs
In this step, we’ll collect all necessary details using multiple-choice questions and Text Inputs.
Click on + Add a node → Ask a question → select Multiple choice.
Some useful questions to ask:
- What type of site do you need?
- Choices: Team Site, Communication Site, Project Site.

- Choices: Team Site, Communication Site, Project Site.
- Which business unit are you part of?
- Choices: HR, IT, Finance, Marketing

- Choices: HR, IT, Finance, Marketing
- What level of access do you need?
- Choices: Owner, Member, Visitor

- Choices: Owner, Member, Visitor
- Enter your desired site name (Use Text input)

Save the responses into variables like:
- varSiteType
- varBusinessUnit
- varAccessLevel
- varSiteName
4️⃣ Step 4. Call Power Automate Flow
Once you have all the details, click + Add a node → Add an action → Create a new flow.












Aslam JeelaniPosted Jun 26, 2025, 5:30 AM
This was a really interesting read—practical and spot on. Setting up dev sites has always felt like one of those small but recurring blockers that slow teams down. The way Copilot Studio streamlines that with natural prompts and automation is such a smart move. It’s these kinds of simple, well-executed solutions that quietly make a big difference across teams. Really curious—has anyone added an approval step or extended this into a full onboarding flow? Would love to know how far others have taken it.