πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901 aws-aif-c01
Guided AB-620 Domain 1
Domain 1 β€” Module 7 of 10 70%
7 of 28 overall

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review
Domain 1: Plan and Configure Agent Solutions Free ⏱ ~12 min read

Human-in-the-Loop Agent Flows

Design approval workflows, live agent transfers, and confidence-based escalation patterns that keep humans in control.

Why Humans Stay in the Loop

β˜• Simple explanation

Imagine a self-checkout machine at a supermarket. It handles 90% of transactions on its own. But when you try to buy alcohol, it flashes a light and waits for a human to verify your age. That pause-and-wait is human-in-the-loop.

Your agent works the same way. It handles routine requests automatically, but when something is high-stakes, ambiguous, or outside its authority, it pauses and brings in a human β€” an approver, a live agent, or a subject-matter expert.

Human-in-the-loop (HITL) patterns are essential for production agents that handle sensitive, high-value, or regulated processes. They ensure AI-driven decisions are validated by humans when the risk of autonomous action exceeds acceptable thresholds.

Four primary HITL patterns exist in Copilot Studio, each using a different technical mechanism. The exam tests your ability to match the correct pattern to a given business scenario and to understand the conversation state implications of each.

Four HITL Patterns Compared

Four human-in-the-loop patterns in Copilot Studio
FeatureApproval FlowLive Agent TransferConfidence EscalationHuman Review Queue
What happensAgent pauses, sends an approval request, resumes when approved or rejectedAgent hands the entire conversation to a human agent in a contact centreAgent checks its confidence score and escalates if below thresholdAgent creates a review task for a human to validate before the result is finalised
Conversation statePaused β€” agent waits, then resumes with the decisionReplaced β€” human takes over completely, AI does not resumePaused or replaced depending on confidence levelContinues β€” user may get a preliminary response pending review
Technical mechanismPower Automate approval actions inside an agent flowTransfer to agent node in topic, or Omnichannel/Direct Line handoffCondition node checking system confidence variable, then branchAgent flow creates a Dataverse record or Planner task for review
Best forFinancial approvals, access requests, exception handlingComplex issues the agent cannot resolve, frustrated customersLow-confidence AI responses where wrong answers carry riskRegulated processes requiring audit trail of human validation
User experienceTold to wait β€” may take minutes to hoursSeamless handoff β€” user continues chatting with a humanUser may not notice if escalation is fastGets preliminary answer with a pending-review disclaimer

Building an Approval Flow

An approval flow follows these steps:

  1. Agent topic collects the request β€” the user says β€œI need to process a claim for $15,000” and the topic gathers claim details into variables.
  2. Topic calls an agent flow β€” the flow receives claim details as input parameters.
  3. Flow sends an approval request β€” using the β€œStart and wait for an approval” action. The approver receives a notification in Teams, Outlook, or the Approvals app.
  4. Flow waits β€” the conversation is paused. The agent optionally tells the user β€œYour request has been submitted for approval.”
  5. Approver responds β€” Approve or Reject, with optional comments.
  6. Flow returns the decision β€” output parameters include the approval outcome, approver comments, and timestamp.
  7. Topic resumes β€” branches on the outcome. Approved: proceed with processing. Rejected: inform the user with the reason.

The critical point: the entire conversation is paused during the approval wait. For approvals that take hours or days, consider an async notification pattern β€” submit the request, end the conversation gracefully, and notify the user via email or Teams when the decision arrives.

Transfer Methods: Omnichannel vs Direct Line

When the agent needs to hand off to a live human, two transfer mechanisms are available:

AspectOmnichannel for Customer ServiceDirect Line or Custom
SetupRequires D365 Customer Service with Omnichannel enabledCustom web app or Bot Framework integration
RoutingUses Omnichannel unified routing β€” skills, queues, presenceDeveloper manages routing logic
Context transferFull conversation transcript and variables passed automaticallyDeveloper must serialise and pass context
Agent desktopCustomer Service workspace in D365Custom UI or third-party tool
Best forEnterprise contact centres already on D365ISVs embedding agents in custom apps
πŸ’‘ Exam tip: Transfer replaces, Approval pauses and resumes

This distinction is tested directly. When an agent transfers to a live agent, the AI agent is replaced β€” the human takes over the conversation completely and the AI does not resume. When an agent sends an approval request, the conversation is paused β€” the AI waits for the approval decision and then resumes exactly where it left off.

If a question describes a scenario where the agent should β€œcontinue the conversation after a human decision,” the answer is an approval flow, not a transfer.

🏦 Kai Sets Up Claims Approval at Pacific Mutual

Kai is configuring the insurance claims agent at Pacific Mutual (15,000 employees). Company policy requires manager approval for any claim above $10,000.

The requirement: When a customer submits a claim over $10,000, the agent must pause, request manager approval, and only proceed after approval is granted.

Step 1: Kai creates a topic with trigger phrases like β€œsubmit a claim” and β€œfile a claim.” The topic collects claim type, amount, policy number, and description.

Step 2: He adds a Condition node: Topic.ClaimAmount > 10000. Claims at or below $10,000 process automatically via a standard agent flow.

Step 3: For claims above the threshold, the topic calls an approval flow. The flow uses β€œStart and wait for an approval” with the approver set to the claimant’s manager (looked up from Dataverse). The approval request includes claim amount, type, and policy number.

Step 4: The flow returns approvalOutcome (Approved or Rejected), approverComments, and approvalTimestamp. The topic branches: Approved leads to claim processing; Rejected sends the user a message with the rejection reason.

Step 5: Kai adds a timeout β€” if no approval arrives within 48 hours, the flow returns success = false with errorMessage = "Approval timed out β€” please contact your manager directly." This prevents conversations from hanging indefinitely.

πŸ₯ Lena Designs Pharmacist Review for Medication Queries

Lena is building a healthcare AI agent that helps patients understand their medications. When a patient asks about drug interactions, the agent provides general information from approved medical databases. However, hospital policy requires that any specific dosage recommendation must be reviewed by a pharmacist before being shared with the patient.

The pattern: Human review queue. The agent generates a preliminary answer, creates a review task in Dataverse assigned to the on-duty pharmacist, and tells the patient: β€œI’ve prepared some information about your medication. A pharmacist will review and confirm it shortly.”

Why not a live transfer? The pharmacist is not a contact centre agent β€” they review clinical content asynchronously. The conversation does not need real-time back-and-forth.

Why not an approval flow? The pharmacist is not simply approving or rejecting β€” they may modify the content. A Dataverse record with the draft response, patient context, and a status field (Pending Review, Approved, Modified) gives the pharmacist the right workflow.

Key Terms

Question

What is the key difference between a live agent transfer and an approval flow?

Click or press Enter to reveal answer

Answer

Transfer replaces the AI agent β€” the human takes over completely and the AI does not resume. An approval flow pauses the conversation β€” the AI waits for the decision and then resumes exactly where it left off. Transfer is for complex issues; approval is for gated decisions.

Click to flip back

Question

What are the four HITL patterns in Copilot Studio?

Click or press Enter to reveal answer

Answer

1) Approval flow β€” pause, request approval, resume on decision. 2) Live agent transfer β€” hand off completely. 3) Confidence escalation β€” check AI confidence score and escalate if low. 4) Human review queue β€” create a review task for validation before finalising.

Click to flip back

Question

When should you use Omnichannel transfer vs Direct Line transfer?

Click or press Enter to reveal answer

Answer

Omnichannel for enterprise contact centres already on D365 Customer Service β€” provides unified routing, automatic context transfer, and the CS workspace. Direct Line for ISVs or custom apps that embed agents and manage their own routing and agent desktop.

Click to flip back

Knowledge Check

Knowledge Check

Kai's insurance agent at Pacific Mutual needs to pause when a claim exceeds $10,000, wait for manager approval, and resume processing afterward. Which HITL pattern should he use?

Knowledge Check

Lena's healthcare agent generates medication information that a pharmacist must review and may modify before sharing with the patient. Which pattern fits best?


🎬 Video coming soon

Human-in-the-Loop Agent Flows

Next up: Topics, Tools and Variables β€” the building blocks of agent conversations: triggers, tool integration, and variable management.

← Previous

Agent Flows: Build, Monitor and Handle Errors

Next β†’

Topics, Tools and Variables

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.