What is Microsoft Copilot Studio?
Microsoft Copilot Studio (formerly Power Virtual Agents) is a low-code/no-code platform that allows users to create AI-powered chatbots and apps. It integrates with Microsoft Power Platform, Azure AI services, and Dataverse, enabling organizations to build intelligent and automated solutions.
Step 1: Accessing Microsoft Copilot Studio
Before you start building an app, you need access to Copilot Studio.
1.1 Sign in to Copilot Studio
- Open your web browser and go to https://copilotstudio.microsoft.com/.
- Click Sign In (top right corner).
- Enter your Microsoft 365 credentials (work/school account).
- Once logged in, you’ll see the Copilot Studio Dashboard.
1.2 Understanding the Dashboard
The main dashboard includes:
✅ Chatbots – Manage existing bots or create new ones.
✅ Topics – Define conversation flows.
✅ Analytics – Track bot performance.
✅ Settings – Manage authentication, security, and permissions.
Step 2: Creating a New App (Chatbot)
Now that you’ve signed in, let’s create a chatbot from scratch.
2.1 Start a New Project
- Click on “Create a Copilot” or “New chatbot”.
- Enter a name for your chatbot (e.g., “Customer Support Bot”).
- Choose a language (English, Spanish, etc.).
- Click “Create”.
⏳ Wait a few seconds while the chatbot is generated.
Step 3: Defining Topics (User Queries & Responses)
A topic is a conversation flow that defines how your chatbot interacts with users.
3.1 Understanding Topics
Topics have:
✅ Trigger phrases – Keywords that start a conversation.
✅ Dialog nodes – Messages, questions, actions.
✅ Variables – Store user responses.
3.2 Create a New Topic
- Go to the “Topics” section.
- Click “New Topic”.
- Name it “Greeting”.
- In the Trigger phrases, add examples like:
- “Hello”
- “Hi there”
- “Hey bot”
- Click “Save”.
Now, when users say “Hello”, the bot will recognize this topic.
Step 4: Designing the Conversation Flow
Next, define how the chatbot responds.
4.1 Adding a Message Response
- Open the “Greeting” topic.
- Click “Add Node” → “Message”.
- Type: “Hello! How can I assist you today?”
- Click Save.
Now, when users say “Hi”, the bot will reply with “Hello! How can I assist you today?”.
Step 5: Adding User Input and Variables
Let’s make the chatbot interactive.
5.1 Asking for User Input
- Click “Add Node” → “Ask a Question”.
- Question: “What is your name?”
- Set answer type to Text.
- Create a new variable (
UserName
) to store responses.
5.2 Using the Variable in Responses
- Click “Add Node” → “Message”.
- Type: “Nice to meet you, {UserName}! How can I help you?”
- Click Save.
Now, if a user says “Hi”, the bot will ask for their name and respond personally.
Step 6: Adding Actions and Automation
6.1 Calling a Power Automate Flow
You can automate tasks using Power Automate.
- Click “Add Node” → “Call an Action”.
- Select Power Automate.
- Click “Create a Flow”.
- Choose a template (e.g., Send an email).
- Define input/output parameters.
- Click Save & Close.
Now, the bot can trigger workflows automatically!
Step 7: Testing the Chatbot
7.1 Running a Test
- Click “Test Bot” (top-right).
- Type “Hello” and check the response.
- Test different scenarios.
- Make improvements if needed.
Step 8: Deploying the Chatbot
Once satisfied, deploy it to users.
8.1 Publishing the Bot
- Click “Publish” (top-right).
- Confirm changes.
- Wait for deployment.
8.2 Adding to a Website or Teams
- Go to “Channels”.
- Choose a deployment option:
✅ Microsoft Teams – Add to your organization.
✅ Website – Embed using an iframe.
✅ Facebook/WhatsApp – Integrate social media. - Follow on-screen instructions to connect.
Step 9: Monitoring & Improving the App
Once deployed, monitor user interactions and improve.
9.1 Viewing Analytics
- Go to “Analytics”.
- Check:
✅ Popular topics
✅ Unanswered questions
✅ User feedback - Improve the chatbot based on data.