The problem
A shop that sells online and in stores gets the same questions all day: where is my order, do you have this in my size, is the promotion still on. A small service team cannot answer outside opening hours or during a holiday peak, and when a hard case is finally passed to a person, that person has to read the whole chat before they can help.
Architecture
- Channel
- Website chat
- Agent
- Catalogue and order answers
- Handover with summary
- Tools
- Copilot Studio
- Dynamics 365
- Power Automate
- Human
- Service agent takes the case
Where the data stays: Orders and customer details stay in your CRM and order system; the agent reads them per question and the chat log is stored with the case.
Design flow
- Customer asks in the website chat
- Agent answers from catalogue, stores and promotions
- Order status: a flow fetches the order after an ID check
- Complaint or return: case opened with a summaryOnly sometimes
- Service agent answers the caseHuman checkpoint
- Customer gets the answer, chat log stays on the case
Setup
Total time: 5 h 45 min our estimate
- 45 min
Done when: One page lists the question types the agent may answer (order status, tracking, product details, promotions, availability by size or store) and the ones that always go to a person (complaints, returns, refunds, anything about money).
- 1 h
Done when: The agent has your website, the product catalogue, the store list and the promotions page as knowledge, and answers ten test questions about products and stores correctly from them.
- 1 h 30 min
Done when: A Power Automate flow takes the order number and the checkout email, returns the order status and tracking from your order system, and refuses when the two do not match.
- 1 h
Done when: A test complaint creates a case in Dynamics 365 Customer Service whose description holds the customer, the order and a summary of the chat, and a colleague can act on it without opening the transcript.
- 1 h 30 min
Done when: Thirty questions from last month's chats are answered or handed over as the list says, the agent is live on one page of the website, and you read every escalated case for the first two weeks.
Ticks are saved on this browser.
Starter prompt
Written from how the use case works and its sources. Replace the parts in square brackets.
You are the customer service assistant on the website of [shop name], which sells [products] online and in [number] stores. Answer only from these sources: the product catalogue I give you, the store list, the current promotions page and the order record I pass you after the customer gives an order number and the email used at checkout. You may answer: order status and tracking, product details, promotions, and availability by size or store. If the customer complains, asks for a return or a refund, or asks anything the sources do not settle, say that a colleague will take over and end with a handover block: customer name, order number, the question in one line, what you already answered, and what the colleague needs to decide. Never promise a refund, a replacement or a delivery date that is not in the order record. Keep answers under 80 words and in the customer's language.
Risks and data
Data
The agent reads order records and customer details on every lookup and the chat log lands in the case. Require the order number plus the checkout email before any lookup, keep card and payment data out of the sources entirely, and set a retention period for chat logs in the CRM.
How it goes wrong
It goes wrong when the agent answers a money question it should have handed over, or quotes a promotion that ended yesterday; you notice from a customer holding you to it. Keep the handover list strict, refresh the promotions source on a schedule, and read every escalated case in the first weeks to catch what it answered on its own.
How the agent works
It starts
A customer asks a question in the chat on your website.
The agent works
The agent answers from the sources you give it: the website, the product catalogue, the store directory and the records in your CRM. For order status and shipment tracking a workflow fetches the order, checks the customer's details and formats the answer; for availability by size or store, promotions and product details it reads the catalogue. When the question is a complaint, a return or anything it cannot settle, it hands over: it opens a case in your customer service system and writes a short summary of the conversation into the case description, so the person who picks it up knows what happened without reading the whole chat.
The result
A person answers every escalated case; the agent never promises a refund or a replacement on its own.
Worked example
Tiendas Cuadra, a Mexican retailer of leather boots, belts and accessories with physical stores and a growing online shop, had a customer service team of four people. Customers waited outside business hours, the holiday peak overwhelmed the team, and its earlier third party chatbot only did basic things and did not connect to the CRM. With partner Algoritmo IT it built a virtual assistant in Copilot Studio, embedded in the website, that answers order status, shipment tracking, product and catalogue details, current promotions and availability by size or location, with Power Automate flows fetching the order data and validating the customer's details. Complex issues go to a human agent: Copilot Studio creates a case in Dynamics 365 Customer Service and AI Builder summarises the conversation into a case description. Microsoft's story of 28 April 2026 says the assistant handled over 400 customer interactions in a single month that would otherwise have needed a person, and the company reports that it resolves 100% of customer questions with response quality above 88% and improving. It absorbed the December rush; WhatsApp is the planned next channel.
Tiendas Cuadra built the assistant in Copilot Studio because it already ran Dynamics 365 Customer Service and Dynamics 365 Finance: Power Automate flows look up the orders, and the handover creates a case in Dynamics 365 with a summary written by AI Builder. The chat itself is tool agnostic: n8n can run the same loop with a chat widget, your shop's order API and a model. What you lose is the case created inside the CRM with its summary; in n8n the handover is a ticket or an email you create yourself from the model's summary.
Join the Agent OS Club
Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.
Founding offer, ends 31 December 2026 or at member 100
Join the Agent OS ClubBuilding this for an organization? Learn more at theagentiv.com
Sources
Published: 2026-11-11