Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Contoso Support Agent 🤖

An AI-powered customer support agent built using Microsoft Power Platform to automate order management tasks such as order tracking, updates, and cancellations.

The agent provides a conversational experience where users can interact naturally, validate order details, select required actions, and receive automated updates through Dataverse and email notifications.


🚀 Project Overview

The Contoso Support Agent helps customers manage their orders through an intelligent conversational interface.

Users can:

  • Track order status
  • Update order details
  • Cancel orders

The agent understands user intent, guides users through validation steps, performs the requested action, updates backend records, and sends confirmation notifications.


🏗️ Solution Architecture

User
 |
 ↓
Copilot Studio Agent
 |
 ├── Intent Recognition
 |
 ├── Order Number Validation
 |
 ├── Action Selection
 |       |
 |       ├── Track Order
 |       ├── Update Order
 |       └── Cancel Order
 |
 ↓
Power Automate Cloud Flows
 |
 ↓
Dataverse
 |
 ↓
Email Notification

✨ Features

1. Conversational Welcome Experience

  • Greets users
  • Understands support requests
  • Routes users to appropriate topics based on intent

Example:

User:

"I want to check my order"

Agent:

"Sure, I can help you track your order. Please provide your order number."


2. Order Number Validation

The agent validates order numbers using a defined format:

ORD-111111

Validation logic:

  • Checks required prefix (ORD-)
  • Ensures six numeric digits
  • Redirects users to correction flow when invalid

Example:

Invalid:

12345

Agent:

"The order number format is incorrect. Please enter it in the format ORD-123456."


3. Order Action Selection

After successful validation, users can choose:

  • Track Order
  • Update Order
  • Cancel Order

Each option routes to a dedicated topic.


4. Customer Verification

Before performing actions:

  • Agent requests email confirmation
  • Validates customer information
  • Ensures secure order access

5. Dataverse Integration

The agent connects with Dataverse to:

  • Retrieve order information
  • Update order status
  • Store transaction details

Example updates:

Pending → Updated
Pending → Cancelled

6. Automated Notifications

Power Automate sends email notifications after successful actions.

Examples:

  • Order update confirmation
  • Cancellation confirmation
  • Status updates

🛠️ Technologies Used

Technology Purpose
Microsoft Copilot Studio Conversational AI Agent
Power Automate Workflow automation
Microsoft Dataverse Data storage
Power Platform Low-code application platform
Outlook Connector Email notifications

📌 Skills Demonstrated

  • Copilot Studio agent development
  • Topic design and conversation flows
  • Entity/input validation
  • Conditional branching
  • Power Automate integration
  • Dataverse CRUD operations
  • Business process automation
  • AI-powered customer support solutions

🔮 Future Enhancements

  • Add Power BI support dashboard
  • Add AI-generated responses using generative AI
  • Integrate with external CRM systems
  • Add authentication using Microsoft Entra ID
  • Implement multilingual support

👩‍💻 Author

Neethu Narayanan

Microsoft Power Platform Developer | Automation Enthusiast

About

An AI-powered customer support agent built using Microsoft Power Platform to automate order management tasks such as order tracking, updates, and cancellations.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors