# Turn Order Problems From Chats Into Order Notes

> Finds shoppers who told the chat assistant about a problem with an order, and logs it on that order so your team sees it.

- Job: [Orders & fulfilment](https://storeagent.ai/mcp-recipes/job/orders/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~25 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan)
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/chat-order-issues-to-notes/

## The prompt

```text
Look through the chat assistant conversations from the last 14 days for shoppers who mention a problem with an existing order, like a late parcel, a wrong item or a damaged item. Where the chat gives an order number or an email address, find the matching order. Show me a table with the order number, status, what the shopper said and when. Then add a private note to each order with a one-line summary of the chat. Show me the notes first and wait for my OK. Do not send anything to the customer.
```

## What happens when you paste it

You: Look through the chat assistant conversations from the last 14 days for shoppers who mention a problem with an existing order, like a late parcel, a wrong item or a damaged item…

Assistant: Found 6 chats about existing orders. 5 gave an order number or email. Orders #4812 and #4790 are still Processing after 6 days. Calling: `storeagent/list-chat-conversations`, `storeagent/get-chat-conversation`, `woocommerce/orders-query`, `woocommerce/order-add-note`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Added private notes to 5 orders. #4812: shopper asked on 28 Sep where the parcel is. One chat had no order details, so I listed it for you to follow up.

## Abilities this recipe calls

- **List shopper chats** (`storeagent/list-chat-conversations`, read only, from StoreAgent): Lists recent conversations shoppers had with your chat assistant, by date.
- **Read a shopper chat** (`storeagent/get-chat-conversation`, read only, from StoreAgent): Reads the full transcript of one shopper conversation, oldest message first.
- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Add an order note** (`woocommerce/order-add-note`, asks first, from WooCommerce): Adds a private note to an order, or a note the customer gets by email.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Also add a customer note to each order saying we are looking into it.
- Only include chats that mention [late delivery].

## Related recipes

- [Find Orders Stuck in Processing](https://storeagent.ai/mcp-recipes/stuck-orders.md): Catches orders that have quietly sat in Processing for days, before the customer emails you about it.
- [Send a Customer Every Invoice They Asked For](https://storeagent.ai/mcp-recipes/resend-customer-invoices.md): Pulls a customer's orders for a date range and emails the invoice for each one.
- [Email Today's Pick List in One Go](https://storeagent.ai/mcp-recipes/daily-pick-list.md): Gathers every order waiting to ship today and sends one combined pick list.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
