The problem
B2B customers send orders as PDFs, and someone in the back office retypes each one into the ERP, a few minutes per order that add up to hours every month. A typing error in quantity or price surfaces later as a wrong delivery and a credit note.
Architecture
- Channel
- Order PDF dropped in Teams
- Agent
- Copilot Studio agent
- Extracts and maps lines
- Tools
- Microsoft ERP connector
- MCP link to Dynamics 365
- Human
- Staff confirm in Dynamics 365
Where the data stays: Order documents and drafts stay in your Microsoft 365 and Dynamics 365; the connection only creates drafts.
Design flow
- Employee drops the order PDF in Teams
- Agent extracts the order lines
- Lines mapped to the right ERP fields
- Unclear value: field left blank with a warningOnly sometimes
- Draft sales order created in Dynamics 365
- Employee checks quantity and price, confirmsHuman checkpoint
Setup
Total time: 4 h 35 min our estimate
- 30 min
Done when: You have five recent order PDFs from your most frequent B2B customer and know which ERP fields each one fills.
- 45 min
Copilot Studio and the ERP connector depend on your Microsoft licences: check in your plan.
Done when: An employee drops a PDF into the agent in Teams and gets a reply.
- 1 h
Done when: Through the Microsoft ERP connector and the MCP connection the agent can create a draft sales order, and its access is scoped to that.
- 1 h 30 min
Done when: On the five test orders, customer, order number, items, quantities and prices land in the right fields.
- 30 min
Done when: A test PDF with a missing price creates a draft with the price blank and a warning in the back office group.
- 20 min
Done when: An employee checks quantity and price and confirms each draft, who confirmed is logged, and a new customer is added only after its document format is validated.
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 my order intake assistant. I will give you a customer's order document (PDF). Extract every order line into this structure: customer name, customer order number, order date, delivery address, and for each line the item code or description, quantity, unit price and currency. Map each value to these ERP fields: [paste your ERP field names]. If a value is missing or unclear, leave the field blank and list it under 'To check' instead of guessing. Pay particular attention to quantity and price. Return the draft order as a table plus the 'To check' list. I will review and confirm the order in [your ERP] myself; do not treat anything as final.
Risks and data
Data
Order documents carry customer names, addresses and prices. Give the agent only the order document, scope the ERP connection to creating drafts, and log who confirmed each order.
How it goes wrong
A misread quantity or price becomes a wrong delivery and a credit note if the draft is confirmed without a check. Check quantity and price with particular care while the agent is new, let it leave uncertain fields blank instead of guessing, and add a customer only after its document layout passes your test orders.
How the agent works
It starts
An employee drops the customer's order PDF into the agent in Microsoft Teams.
The agent works
The agent, built in Copilot Studio, extracts the order lines, maps them to the right fields in Dynamics 365 through the Microsoft ERP connector and an MCP connection, and creates a draft sales order. Where something is missing or unclear it leaves the field blank and posts a warning for the back office group instead of guessing. An employee reviews the draft and confirms it in Dynamics 365, so a person still makes the final transaction.
The result
mobilezone checks quantity and price with particular care while the agent is new, and adds one customer at a time after validating that customer's document format.
Worked example
mobilezone, a Swiss telecom retailer with 125 stores and hundreds of B2B customers (50 to 999 employees), runs this. AI and Automation Engineer Fabian Kistler rebuilt the agent in Copilot Studio. Employees save about 5 to 10 minutes per order, and the first customer on the agent sends roughly 30 to 40 orders a month. Fabian Kistler: 'For each contract or order that we enter, we are saving anywhere from 5 to 10 minutes.' Story published by Microsoft on 26 October 2026.
The draft order is created through the Copilot Studio ERP connector and an MCP connection to Dynamics 365. With another ERP you keep the same flow but rebuild the last step with your ERP's API in Make, n8n or Zapier, and keep the human confirmation inside the ERP.
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-10-31