How to Build a Wine Club Shipment Builder with Claude Code
Describe a club shipment builder to Claude Code and get a tool that reads your member export and proposes bottles member by member, with reasons.
Jeremy Young5 min read
You can build a working wine club shipment builder by describing it to Claude Code in plain English, pointing it at a folder with two spreadsheets (your member export and your current inventory), and answering a few questions. No programming. The tool lives on your own computer, reads your files, and writes out a proposed shipment list for every member: which bottles, how many, and why.
That matters because release week is one of the most expensive manual jobs in a winery. Sorting a CSV by club tier, eyeballing who skipped last time, remembering that the Smiths asked for whites only, then rebuilding the whole allocation when a wine sells through. One person usually owns that job, and nobody else can run it. Once the tool exists, anyone on your team can rerun it in a minute when inventory changes.
What you get at the end
A spreadsheet with one row per member: name, email, tier, the exact bottles assigned, total bottle count, total club-price value, a one-sentence plain-English reason for the picks, and a flag column marking anyone you need to review by hand. Plus a summary sheet showing bottles committed against bottles on hand, what's left after the shipment, and anything that went oversold.
You review it, override what you want, and send the clean rows to fulfillment.
Tool, difficulty, and what it costs
The tool is Claude Code, which is included in all paid Claude plans. Claude Pro is $17 per month with the annual subscription discount ($200 billed up front), or $20 if billed monthly, read on claude.com/pricing on 2026-11-08. Max is $100 per month. The free plan does not include Claude Code, so this one needs a paid seat.
Difficulty: Advanced. Not because the writing is hard, but because you're pointing it at a folder of your own files and running it more than once.
How to set it up
- Install the Claude desktop app, sign in with your paid account, and open the Code tab. On a Mac you can instead run `curl -fsSL https://claude.ai/install.sh | bash` in Terminal, then type `claude` inside your project folder.
- Make a folder on your computer called club-shipments.
- Export your member list as a CSV and drop it in the folder. This comes out of whatever runs your club: Commerce7, VinoShipper, WineDirect, or your POS. You want name, email, club tier, join date, shipments received, whether they skipped last time, stated preference (red, white, mixed, no preference), lifetime spend, and shipping state.
- Add a second CSV with current available inventory: wine name, vintage, varietal, style, bottles on hand, retail price, club price. This usually comes out of your inventory or production system, or a cellar spreadsheet someone on the team already keeps.
- Open that folder with Claude Code and paste the prompt below.
- Answer its questions, then ask it to run the tool against your real files and show you the first 10 members before it writes anything out.
The prompt
You are a developer building a small internal tool for [YOUR BUSINESS], a [winery / brewery / distillery] in [REGION]. I am not a programmer. Explain nothing technical unless I ask. Build the tool, run it, and show me results I can read in a spreadsheet. WHAT I WANT BUILT A club shipment builder. It reads my member spreadsheet and my current inventory spreadsheet, then proposes the exact bottles each member should receive in the [SHIPMENT NAME AND DATE] shipment, and writes the result to a new spreadsheet I can open in Excel. MY FILES (both are in this folder) 1. Member file: [MEMBER FILE NAME AND COLUMNS, for example members.csv with columns: member name, email, club tier, join date, shipments received, last shipment skipped yes/no, stated preference red/white/mixed/no preference, lifetime spend, shipping state] 2. Inventory file: [INVENTORY FILE NAME AND COLUMNS, for example inventory.csv with columns: wine name, vintage, varietal, style red/white/rose/sparkling, bottles on hand, retail price, club price] MY CLUB STRUCTURE [CLUB TIERS AND BOTTLE COUNTS, for example: Estate Club 3 bottles per shipment, Reserve Club 6 bottles, Collector Club 12 bottles including at least 2 library reds] MY ALLOCATION RULES [YOUR ALLOCATION RULES, for example: never ship a red to a member whose stated preference is white; members in shipping states we cannot ship sparkling to get a still substitute; members who have received 4 or more shipments should not get the same varietal and vintage twice in a row; Collector members get first call on anything with fewer than 40 bottles on hand; total retail value per member must land within 10% of the tier target.] BEFORE YOU BUILD ANYTHING Read both files and tell me: how many members in each tier, what columns you actually found, any rows with missing or messy data, and whether my on-hand inventory is enough to cover every member at their tier count. If the math does not work, say so plainly and tell me how many bottles short I am, by wine. Then ask me up to five questions about rules you are unsure of. Do not guess at my allocation rules. WHAT THE TOOL MUST PRODUCE A spreadsheet with one row per member containing: member name, email, club tier, the exact bottles assigned (wine, vintage, quantity), total bottle count, total club-price value, a one-sentence plain-English reason for the picks that I could read out loud to that member on the phone, and a flag column marking any member I need to review by hand (preference conflict, shipping restriction, substitution made, value outside the target range). Also produce a second summary sheet: bottles committed by wine against bottles on hand, remaining inventory after the shipment, and any wine that went oversold. HOW TO WORK WITH ME After you build it, run it on my real files and show me the first 10 member rows and the full summary sheet in the chat before writing anything out. Push back on rules that will cause problems: if my rules will leave 40 members short on a wine or produce shipments wildly off the price target, say so directly instead of fixing it on your own. When I ask for a change in plain English, edit the tool and rerun it rather than explaining what I would need to change. Finally, write a short plain-language note in the folder telling me how to run this again next release with a fresh member export and a fresh inventory file.
Variables to swap
[YOUR BUSINESS], [CLUB TIERS AND BOTTLE COUNTS], [MEMBER FILE NAME AND COLUMNS], [INVENTORY FILE NAME AND COLUMNS], [YOUR ALLOCATION RULES], [SHIPMENT NAME AND DATE].
The allocation rules field is where the whole thing lives or dies. Write down the rules the way you'd explain them to a new hire. Never ship a red to a white-only member. Members in states you can't ship sparkling to get a still substitute. Nobody gets the same varietal and vintage twice in a row after their fourth shipment. Collector members get first call on anything under 40 bottles on hand. Total retail value per member lands within 10% of the tier target.
What to do with the output
Open the generated spreadsheet and sort by the flag column. Work only the exceptions. The clean rows go to fulfillment as-is, and the flagged ones go to whoever actually knows those members by name.
Keep the folder. Next release, drop in a fresh member export and a fresh inventory file and run it again. That's the real payoff: the second release costs you almost nothing.
When the first pass misses, tell Claude Code exactly what it got wrong in plain English and let it edit the tool. Something like: "skipped members should default to the prior shipment's style, not the house pick," or "Collector members in California should get the library Cabernet before anyone else sees it." You don't need to know what it changes. You need to know whether the next run looks right.
What good output looks like
Three checks before you trust it:
- Every member's bottle list adds up to their tier count. No 3-bottle member with 4 bottles assigned.
- No wine is oversold against your on-hand number. The summary sheet should show this plainly.
- Each unusual call has a one-line reason next to it you could read out loud to that member on the phone.
What to watch out for
Check the first twenty rows by hand before you trust the whole file. Every club export has messy rows: members with no stated preference, duplicate emails, someone whose tier changed mid-cycle. The tool will make a call on those, and you want to see what call it made.
The other thing to watch is your inventory number. If the on-hand count in your spreadsheet is stale, every allocation downstream of it is wrong. Pull that file the same morning you run the tool, not from last month's cellar count.
Other ways to use the same build
The same approach works for a brewery running a reserve bottle release, a distillery building a single-barrel allocation list, and a wine shop assembling a quarterly case club. The member file and the inventory file change. The logic doesn't. A distributor rep could point the same thing at an account list and a sample inventory to build a monthly sample drop plan.
If you're not ready to run Claude Code, you can get partway there in a normal Claude chat by uploading the two CSVs and asking for the allocation as a table. You'll have to redo it by hand every release, which is exactly the problem the built tool solves.
Questions people ask
Do I need to know how to code to build a wine club shipment builder with Claude Code?
No. You describe the tool you want in plain English, point Claude Code at a folder containing your member export and your inventory spreadsheet, and answer its questions about your allocation rules. It writes and runs the tool itself. When the output is wrong, you tell it what it got wrong in plain language and it edits the tool.
What files do I need before I start?
Two CSV files in one folder. First, a member export from whatever runs your club (Commerce7, VinoShipper, WineDirect, or your POS) with name, email, club tier, join date, shipments received, skip status, stated preference, lifetime spend, and shipping state. Second, a current inventory file with wine name, vintage, varietal, style, bottles on hand, retail price, and club price. Pull the inventory file the same day you run the tool so the on-hand counts are accurate.
This ran in the Alcohol Industry Insider issue of November 4, 2026.
Put it to work
- PromptDescribe a club shipment builder to Claude Code and have it running this weekMost wineries build club shipments by hand in a spreadsheet, burning two or three days per release and still shipping reds to members who only drink white. Describe the tool you want to Claude Code in plain English and you get a working shipment builder that reads your member export and proposes bottles member by member, with the reasons attached.
- AI toolClaudeAn AI writing and strategy partner for copy, analysis, and thinking through business problems.
- AI toolClaude CodeBuilds bigger tools that save files or run on your own computer, from a plain-English description.
- Free appClub Cancellation Risk ScorerDrop in your club export and see which members are about to cancel, why, and what to offer them this week.
More from the blog
- AI Prompts You Can UseAI Prompts You Can Use
Tasting Room Training Guide: Build One With AI in an Afternoon
Use one Claude prompt to turn your tech sheets, club terms, and pour list into a new-hire tasting room training guide with scripts and drills.
- AI Prompts You Can UseAI Prompts You Can Use
Winery Reels AI Prompt: Turn Phone Footage Into Vertical Video
Log your tasting room phone footage, paste it into Claude or ChatGPT, and get a timestamped edit plan plus captions for Reels, TikTok, and Shorts.
- Money MovesMoney Moves
Winery Sale-Leaseback Financing: Sell the Vineyards, Keep the Brand
How a sale-leaseback lets a winery raise capital from its vineyards and buildings while keeping the brand, the inventory, and the winemaking job.
Get the next one in your inbox.
Free, mondays, wednesdays, and fridays. Five minutes to read.

Work with Jeremy
Reading the plays is the easy part.
Changing what your team does on Monday morning is harder. Book a 30-minute strategy session with me, and we'll work out what to change first and how we could work together.
30 minutes on Google Meet