MSBA-310 · Lesson 12 of 12 · 18 min

Case study: an agent-first customer service design

▶ Video coming soon A video version of this lesson is on the way.

This final lesson leaves Quillfield and applies the whole course to a different organization with a different starting point. Work through it as an architect would: read the case, attempt each task before reading the worked answer, and compare your reasoning with the model answer. The organization and people are fictional.

The case: Ravensgill Home Services

Ravensgill Home Services installs and services heating, cooling and plumbing systems for about 120,000 residential customers across southwestern Idaho, from its head office in Boise. It employs about 650 people, including 280 field technicians and a contact center of 60 service representatives. Customers call to book maintenance visits, report breakdowns, reschedule appointments, ask where their technician is, query invoices, and ask about service plans.

Ravensgill already runs Dynamics 365 Customer Service for cases and Dynamics 365 Field Service for work orders, scheduling and technician mobile work. Billing runs in a separate finance system. Customers can book routine maintenance on the website, but most contact is by phone.

Ingrid Solberg-Vance, vice-president of customer experience, has a problem she describes in one sentence: "Every cold snap, our phones melt." When temperatures drop sharply, call volume rises to five times normal within hours, mostly from customers with no heat. Average wait times exceed 40 minutes, about a quarter of callers hang up, and the calls that matter most (a household with no heat and a newborn, or a smell of gas) wait in the same queue as calls asking when an invoice is due.

She has asked Kofi Brannigan, Ravensgill's enterprise architect, to design an "agent-first" customer service model: AI agents as the first point of contact on voice and chat, with service representatives handling what needs a person. Ottilie Hart, the contact center manager, is enthusiastic about shorter queues and worried about her team. You are working with Kofi on the design.

Task 1: Frame the problem and success measures

Write a problem statement, three non-goals and a set of success measures across outcome, quality, adoption and cost.

Model answer. Problem statement: "During demand peaks, customers with urgent heating and safety problems wait too long to reach help, while routine requests occupy the same queues. Design a customer service model in which AI agents resolve routine requests and triage urgent ones on voice and chat, so that urgent cases reach the right person quickly and routine requests are completed without waiting."

Non-goals: the agent does not diagnose equipment faults or guide customers through repairs beyond published safe checks (such as checking the thermostat setting or the breaker); it does not make decisions about warranty coverage or billing disputes; it does not handle gas odor reports beyond giving the emergency instructions and the emergency line.

GroupMeasureBaselineTarget after six months
OutcomeMedian time for a no-heat customer to reach a booked emergency visit during peaksAbout 45 minutes including waitUnder 10 minutes
OutcomeAbandoned calls during peaksAbout a quarter of callersUnder 1 in 10
QualitySafety triage accuracy on test set and reviewed samplesNot measuredEvery safety case routed correctly
QualityCustomer satisfaction after agent-handled contactsSurvey average 3.9 of 5 for callsAt least equal to calls
AdoptionRoutine requests completed by agents without a personNear zero50 of every 100
CostCost per resolved contact including consumptionRepresentative cost per callLower than baseline at normal volume

Note that safety is a quality measure with an absolute target. You do not trade safety for speed.

Task 2: Choose the platform and pattern

Ravensgill already has Dynamics 365 Customer Service and Field Service. Which mix of Microsoft 365 Copilot, Copilot Studio, Dynamics 365 capabilities and Foundry fits?

Model answer. This case differs sharply from Quillfield's. At Quillfield, claims lived in BrokerDesk and Dynamics 365 was only being piloted, so adopting Dynamics 365 Customer Service would have created a second system of record. At Ravensgill, the service process already runs in Dynamics 365, so the built-in capabilities fit and should be adopted and extended first.

The recommended pattern has four parts:

Dynamics 365 Contact Center for voice and chat channels, routing, queues and handoff, so that agents and representatives work in one system.

A customer-facing agent built in Copilot Studio, deployed to Contact Center voice and chat channels as the first point of contact, with tools for Field Service (find appointment, book or reschedule within allowed slots, technician arrival window) and Customer Service (create case, look up case status).

Microsoft's service agents in Customer Service for customer intent, case management and knowledge management, and Copilot features for representatives (conversation summaries, drafted replies, knowledge suggestions).

Microsoft 365 Copilot for office staff and dispatchers where licensed, and Copilot in Field Service for technicians' work order summaries.

Foundry is not needed in the first release. A possible later use is a model that predicts likely failure causes from equipment history to help dispatchers prioritize, which would need data science work and evaluation.

A layered architecture for Ravensgill. Top layer: customers on phone, web chat and SMS. Second layer: Dynamics 365 Contact Center channels and routing. Third layer: the Copilot Studio customer agent, with handoff to service representatives using Copilot. Fourth layer: tools into Dynamics 365 Field Service, Dynamics 365 Customer Service and a read-only billing connector. Bottom layer: Dataverse, with identity verification and monitoring alongside.
Agent-first service architecture for Ravensgill (model answer).

Task 3: Design the data

Which knowledge and records should the customer agent use, and what quality work is needed?

Model answer. Knowledge: published safe-check guides, service plan descriptions, appointment and cancellation policies, cold weather advice, and the gas emergency instructions, all reviewed by the technical and safety leads and rewritten as short, purpose-written pages. Exclude technician manuals and manufacturer service documents, which encourage the agent to sound like a diagnostician.

Records: customer, service location and equipment from Dataverse; appointments and work orders from Field Service; cases from Customer Service; invoice status (paid, due, amount, due date) from the finance system through a read-only connector, with no payment or adjustment capability.

Quality work: Kofi's review finds that 14 percent of service locations have outdated phone numbers, which matters because verification depends on them. The design includes a data clean-up campaign before launch, with representatives confirming phone numbers on every contact for three months.

Task 4: Design behavior, autonomy and boundaries

List the agent's main actions with autonomy levels, and design the most important boundary.

Model answer.

ActionAutonomy levelReason
Explain service plans and policiesInformLow risk; grounded on reviewed content
Guide published safe checksInformSafe, reviewed steps only; stop if any doubt
Find, book or reschedule a routine appointmentAct aloneReversible; within slot rules set by dispatch
Book an emergency no-heat visitAct with noticePriority slot booked; dispatcher notified and can adjust
Create a case for a complaintAct with noticeRepresentative follows up
Waive a fee or credit an invoiceNeverRepresentatives only
Respond to a gas odor reportNever handle; escalateGive emergency instructions and emergency line immediately

The most important boundary is safety. The design treats any mention of gas smell, carbon monoxide alarm, sparking, flooding near electrical equipment, or a vulnerable person without heat in freezing weather as a safety trigger. On a safety trigger the agent stops other work, gives the published emergency instructions in short plain sentences, provides the emergency number, and transfers to a representative with priority. It does not ask diagnostic questions first. Safety triggers are implemented in topics with exact wording approved by the safety lead, not left to generative orchestration, and tested with many phrasings in every release.

Vulnerability is handled with care and minimal data. The agent asks one question, "Is anyone in the home at particular risk from the cold, such as a baby, an older person or someone unwell?", and records a yes or no to raise priority. It does not collect health details.

Task 5: Design integration and security

Choose integration patterns and identity design for booking and invoice queries.

Model answer. Booking uses request and response tools against Field Service through Dataverse, called with the agent's narrow service identity, because customers do not have Ravensgill identities. The tools are purpose-built: "find available slots for this service location and job type" and "book this slot", not general record access. Emergency bookings use a flow that books a priority slot and notifies the on-call dispatcher, responding early to the customer with the arrival window.

Identity: any request that reveals or changes account information requires verification. On voice and SMS, the agent sends a one-time code to the phone number on file; on web chat, customers can verify by code or sign in to the existing customer portal through manual authentication. Without verification, the agent can give general information and take an emergency report, but not reveal appointment or invoice details. Emergency safety handling never waits for verification.

Security controls: data policies in the production environment; web channel security; per-agent identity registered and governed through Microsoft Entra Agent ID; audit through Dataverse and Purview; injection and boundary tests; and no tool that can export customer lists, change prices or issue credits.

Task 6: Non-functional requirements and cost

Estimate peak load, set latency targets for voice, and outline the cost model.

Model answer. Normal volume is about 2,000 contacts a day; cold snaps bring up to 10,000 in a day, with the busiest hour around 1,500. The agent, Contact Center channels, Field Service tools and the dispatch team must all be checked against that peak, and the dispatch team is again the likely bottleneck, which argues for clear priority rules and customer messages that set honest expectations.

Voice needs tighter latency than chat. Silence of more than a couple of seconds on a phone call feels like a dropped line. The design keeps voice turns short, uses topics for structured steps, plays a brief acknowledgment while a tool runs, and limits each turn to one synchronous tool call.

Cost combines Dynamics 365 licenses (already held for Customer Service and Field Service, plus Contact Center capacity), Copilot Credits for the customer agent at current rates, and telephony charges. Kofi estimates credits per resolved contact by counting events by type, as in lesson 8, adds overhead for incomplete contacts, and sets per-agent limits that alert rather than stop during cold snaps.

Task 7: Plan the proof of concept and fit-gap

Model answer. Hypotheses: customers will complete routine bookings with the agent on voice and chat (at least 60 of every 100 who try); safety triggers are recognized and routed correctly in every test and live case; emergency no-heat customers reach a booked visit in under ten minutes; representatives find handoff summaries useful (rated useful in at least 80 of every 100 handoffs); credits per resolved contact are within 25 percent of the estimate.

Scope: one region, chat and voice for routine bookings and no-heat triage, six weeks, starting in a normal-weather period so the team learns before a peak. Fit-gap: most requirements fit or need configuration because Ravensgill's process already runs in Dynamics 365; extension is needed for the billing connector and verification; one gap (SMS verification for customers with landlines only) is handled by transfer to a representative.

Task 8: Present the design

Write the decision request and identify Ottilie's likely concern and how to address it.

Model answer. Decision request: "We ask the executive team to approve a six-week proof of concept of an agent-first service model in one region, for routine bookings and no-heat triage on chat and voice, with safety routing tested in every release and every handoff reviewed. We will return with results against five hypotheses and a recommendation for the winter peak."

Ottilie's concern is her team. The honest answer is that agents will take routine work and representatives will handle harder, more emotional and more valuable contacts, with better summaries and less queue pressure. The design should include representative training, a role in reviewing agent transcripts, and measures of representative workload and satisfaction, not only customer measures. Bring Ottilie into the presentation to speak to the operating model, just as Tobias spoke for the claims team at Quillfield.

Comparing the two designs

Design questionQuillfield claimsRavensgill service
System of recordBrokerDesk (not Microsoft)Dynamics 365 Customer Service and Field Service
Built-in Dynamics 365 AIKept as a future optionAdopted and extended first
Customer channelWebsite chat firstVoice and chat through Contact Center
Highest-stakes boundaryNo coverage decisionsSafety triggers and emergency routing
Customer identityNo sign-in for reporting; verification for future status checksOne-time code for account information; none for emergencies
Peak driverStormsCold snaps
Human bottleneckAdvocate reviewDispatch capacity

The same method produced different answers because the starting points differed. That is the central lesson of this course: architecture is not a favorite platform applied everywhere, but a disciplined way of reaching the right design for a particular organization, and making the reasoning visible so that others can trust it, challenge it and decide.

Common mistakes

  • MistakeCopying a previous design to a new organization.

    InsteadRe-run the method: the system of record, channels, boundaries and peaks may all differ.

  • MistakeBuilding a custom agent where the process already runs in Dynamics 365.

    InsteadAdopt and extend built-in capabilities first.

  • MistakeLetting generative orchestration handle safety-critical triggers.

    InsteadImplement safety triggers in topics with approved wording and test them every release.

  • MistakeMaking emergency help wait for identity verification.

    InsteadGive safety instructions and emergency routing before and without verification.

  • MistakeMeasuring only customer outcomes in an agent-first model.

    InsteadMeasure representative workload and satisfaction too, and give staff a role in improving the agent.

Summary and key terms

  • Apply the full method to each new case: problem and measures, platform choice, data, behavior and boundaries, integration and security, non-functional requirements and cost, proof of concept and fit-gap, and presentation.
  • Where the business process already runs in Dynamics 365, adopt and extend built-in Copilot features, service agents and Contact Center before building.
  • Safety boundaries need absolute targets, exact approved wording in topics, and testing in every release.
  • Verification should protect account information without delaying emergency help.
  • Design for peaks, including human bottlenecks such as dispatch, and set voice latency tighter than chat.
  • The same method yields different designs for different organizations; the value lies in visible, testable reasoning.
Agent-first service model
A customer service design in which AI agents are the first point of contact and people handle what needs human judgment.
Safety trigger
A condition that causes an agent to stop normal work and follow an approved emergency path.
One-time code verification
Confirming identity by sending a short-lived code to contact details already on file.
Dispatcher
The person who assigns and schedules field technicians.
Priority slot
An appointment reserved for urgent work and allocated by defined rules.
Handoff summary
A concise account of a conversation passed to a person on transfer so the customer need not repeat themselves.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why does Ravensgill adopt Dynamics 365 capabilities when Quillfield did not?

    Show answer

    Ravensgill's service process already runs in Dynamics 365, so built-in capabilities fit; at Quillfield, BrokerDesk was the system of record.

  2. How should the agent respond to a reported smell of gas?

    Show answer

    Stop other work, give the approved emergency instructions and emergency number, and transfer with priority, without diagnostic questions or verification first.

  3. Why is voice latency tighter than chat latency?

    Show answer

    Silence of more than a couple of seconds on a call feels like a dropped line.

  4. What staff measures should an agent-first design include?

    Show answer

    Representative workload and satisfaction, alongside customer measures.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz