# Enroll Customers Who Bought Before RewardsWP

> Customers who bought before you started RewardsWP are not members. This finds them, enrolls them and can give a welcome bonus.

- Job: [Customers](https://storeagent.ai/mcp-recipes/job/customers/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~1 hr vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + RewardsWP
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/rewardswp-enroll-existing-customers/

## The prompt

```text
Find every customer with a completed order who is not a RewardsWP member yet. Show me how many there are, with their email, order count and total spend. Wait for my OK, then enroll them. If I say so, give each one [200] welcome points. Then re-check VIP tiers so everyone lands in the right tier.
```

## What happens when you paste it

You: Find every customer with a completed order who is not a RewardsWP member yet…

Assistant: 1,284 customers have completed orders but are not members. Together they spent $96,400. Calling: `woocommerce/orders-query`, `rewardswp/get-member`, `rewardswp/add-member`, `rewardswp/adjust-member-points`, `rewardswp/reevaluate-vip-tiers`.

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

Assistant: Enrolled all 1,284 and gave each 200 welcome points. The VIP re-check moved 140 of them into Silver.

## Abilities this recipe calls

- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Get a member** (`rewardswp/get-member`, read only, from RewardsWP): Shows one member's balance, VIP tier, referrals, orders and last activity.
- **Enroll a member** (`rewardswp/add-member`, asks first, from RewardsWP): Enrolls a customer or an email address in the rewards program.
- **Add or remove points** (`rewardswp/adjust-member-points`, asks first, from RewardsWP): Adds or deducts points for a member with a reason. A dry run shows the new balance and any tier change.
- **Re-check VIP tiers** (`rewardswp/reevaluate-vip-tiers`, asks first, from RewardsWP): Moves every member to the tier they qualify for now. Runs in the background.

## Variations

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

- Only enroll customers who ordered in the last 12 months.
- Skip the welcome points.

## Related recipes

- [What Shoppers Told Me in My Popups](https://storeagent.ai/mcp-recipes/notificationx-popup-feedback-digest.md): Reads the messages from your NotificationX popup and exit intent forms, groups them into themes and picks out the ones that need a reply.
- [Find Your VIP Customers](https://storeagent.ai/mcp-recipes/vip-customers.md): Your top spenders and most loyal repeat buyers, plus the ones who have gone quiet.
- [Say Sorry With Store Credit](https://storeagent.ai/mcp-recipes/store-credit-delays.md): Gives a small credit to every customer whose order is running late, with a note explaining why. Needs Advanced Coupons Premium.

---

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/
