# Clean Up Old Draft Order Forms

> Finds draft and duplicate order forms nobody uses and deletes them for good after you confirm the list.

- Job: [Store setup & admin](https://storeagent.ai/mcp-recipes/job/setup/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~10 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + Wholesale Suite
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/order-form-cleanup/

## The prompt

```text
List all my order forms with their status and placement. Find the drafts and any forms that look like duplicates, such as "copy" in the title or the same title twice. Show me each one with its ID, title, status and where it is placed. Deleting is permanent, so wait for my explicit OK on each ID. Then delete only the ones I confirm.
```

## What happens when you paste it

You: List all my order forms with their status and placement…

Assistant: 9 order forms. 5 are drafts: 3 have "copy" in the title and none of the 5 are placed on a page. Calling: `wholesale-suite/list-order-forms`, `wholesale-suite/get-order-form`, `wholesale-suite/delete-order-form`.

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

Assistant: Deleted 4 draft forms you confirmed. You now have 5 forms: 4 published and 1 draft you kept.

## Abilities this recipe calls

- **List order forms** (`wholesale-suite/list-order-forms`, read only, from Wholesale Suite): Lists your wholesale order forms with status, placement and role access.
- **Get order form** (`wholesale-suite/get-order-form`, read only, from Wholesale Suite): Shows the full setup of one order form: columns, filters and settings.
- **Delete order form** (`wholesale-suite/delete-order-form`, asks first, from Wholesale Suite): Permanently deletes one or more order forms.

## Variations

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

- Keep any draft that changed in the last [30] days.
- Also delete the published form [form name].

## Related recipes

- [Check What Your AI Assistant Actually Knows](https://storeagent.ai/mcp-recipes/ai-memory-health.md): A quick health check on which of your store content is indexed, pending or failing in StoreAgent memory.
- [Audit Every Membership Plan in One Go](https://storeagent.ai/mcp-recipes/membership-plans-audit.md): Lists every membership plan with its settings, so drafts and half-finished plans stand out.
- [Make the Chat Assistant Match Your Brand](https://storeagent.ai/mcp-recipes/chat-assistant-branding.md): Gives the chat assistant your brand colors, a name and a greeting that sounds like your store, instead of the defaults.

---

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/
