Introduction
Overview
In the last module, you created your workflow. Now you will be classifying generating messages, adding human review, and testing it in an agent.
Learning objectives
- Generate customer- and approver-facing messages with the M365 Copilot action.
- Classify a numeric value into approval tiers with the Classify action.
- Add Human review approvals routed to Outlook or Microsoft Teams.
- Test the flow with the run node and consume it from a Copilot Studio agent.
Prerequisites
The scenario continues off where the last module left off. Otherwise, you will need:
A Microsoft Copilot Studio license or trial in your environment. No license yet? Go to https://copilotstudio.microsoft.com, sign in with your work or school account, and choose the free trial when prompted, or ask a Microsoft 365 admin to assign a Copilot Studio trial license from the Microsoft 365 admin center.
🔧 Setup check: If Copilot Studio prompts you about licensing at any point, select the option to start a free trial and continue with the lab.
The new workflows experience available in your environment. It's in public preview, so labels and layouts may shift slightly as it evolves. If a control is named differently on your screen, look for the closest match.
The Northwind Traders solution installed and seeded with sample data, including the Orders table and its model-driven apps. You will be using the Admin Management App to stage test data. Follow the import and Northwind Sample Data steps in Module 2. Seeded orders arrive with empty statuses, so this lab also shows you how to stage the closed orders the return rule depends on; the module stands alone either way.
Access to Outlook email with the same account, so human-review approvals can be delivered to you.
Copilot Studio capacity is not a concern for this lab: test runs from the flow designer and the agent's test chat don't consume Copilot Studio capacity. Published workflows running for real users consume capacity per action.
Names used in this lab
Rename the workflow and its actions as you create them, using the names below. Later steps and dynamic-content pickers refer to these names, so using them exactly keeps your screen matching the instructions.
A note on the screenshots throughout this module: they were captured on the completed workflow, so the canvas behind a panel may show nodes you haven't built yet. Match the highlighted control or panel, not the number of nodes on the canvas.
| Component | Name |
|---|---|
| Approved update action | Update Approved Response |
| Manager update action | Update Manager Response |
| Senior-manager update action | Update Senior Manager Response |
| Manager message action | Draft Manager Approval Message |
| Senior-manager message action | Draft Senior Manager Approval Message |
| Approved message action | Draft Approved Message |
| Manager review action | Manager Review |
| Senior-manager review action | Senior Manager Review |
| First Classify category | between $10 and $50 |
| Second Classify category | above $50 |
| Human review title | Need Return Approval |
| Agent | Northwind Returns Agent |