A store with real purchase history usually has several useful segments sitting unused: repeat buyers, first-time buyers, people who abandoned a cart, customers who haven't ordered in months. Writing a genuinely different email for each one by hand is where most small teams give up and send the same generic blast to everyone. AI closes that gap, as long as you keep the segment's actual context in the prompt.
Step 1: Build the segment first, in Klaviyo, off real behavior
Before writing anything, define the segment in Klaviyo using actual store data (order count, days since last order, cart abandonment), not a guess at who the audience is. The segment definition itself is what makes the email relevant; no amount of good copywriting fixes a poorly targeted send.
Step 2: Draft copy that references the segment's actual situation
Tell ChatGPT or Claude exactly which segment this is for and why: "this person bought once four months ago and hasn't ordered since" reads very differently from "this person just bought their fifth order." Vague prompts produce vague, generic-sounding emails that could apply to anyone; specific segment context produces something that actually reads as relevant to the recipient.
Step 3: Check tone and offer details before scheduling
Read every draft for two things: does the tone match your brand voice, and is any discount, deadline, or product detail actually correct. An AI-drafted email with a wrong discount code or an expired promo date is worse than not sending one at all. This is a mandatory check, not an optional polish step.
Step 4: Let the smallest, most repeatable segment go out with less oversight first
Once you've hand-reviewed a few sends for your highest-value segments and you trust the pattern, a low-stakes, high-repeat segment (like a standard abandoned-cart reminder) is a reasonable place to reduce the review step, not your highest-value or most sensitive segment.
A prompt template for segment-specific campaign emails
The difference between a generic draft and a usable one is almost always what you put in the prompt. Keep a fixed template and fill in the brackets for each send, so every draft starts from the same facts:
You are writing one campaign email for a small online store.
Brand voice: [3-5 WORDS, e.g. warm, plain-spoken, no exclamation marks]
Segment: [SEGMENT NAME]
Who is in it and why: [THE REAL DEFINITION, e.g. "ordered exactly once, last order 90-150 days ago"]
What they bought before (if known): [PRODUCT OR CATEGORY]
What this email is about: [NEW PRODUCT / RESTOCK / SEASONAL EDIT / REMINDER]
Offer: [EXACT DISCOUNT AND CODE, or "no offer"]
Offer end date: [DATE, or "none"]
Facts you may use: [PASTE PRODUCT FACTS, SHIPPING AND RETURNS LINES]
Write:
1. Three subject line options, each under [NUMBER] characters.
2. One preview text line.
3. A body of [NUMBER] to [NUMBER] words with one clear call to action.
Rules:
- Use only the facts above. Do not add product features, prices, dates or guarantees.
- If the offer is "no offer", do not mention discounts at all.
- Speak to this segment's situation in the first two sentences.
The "facts you may use" line does most of the work. If a detail isn't in it, the model has no business putting it in the email, and you'll spot invented claims faster because you know exactly what you supplied.
Example: one restock email, three segments
Take a fictional loose-leaf tea shop as an example. Its best-selling smoky black tea is back in stock, and the owner wants to tell three Klaviyo segments: repeat buyers of that tea, people who bought once and haven't returned in about four months, and subscribers who have never ordered.
Using the template above, the owner fills in a different "who is in it and why" line for each and runs it three times. The drafts that come back differ in the right places: the repeat-buyer version opens with "it's back" and goes straight to the button, the lapsed-buyer version reminds them what they ordered last time, and the never-ordered version spends a sentence on what the tea actually tastes like.
What the owner still changes by hand:
- The never-ordered draft promised "free shipping on your first order", which the shop doesn't offer. It was cut, and the owner added a line to the template's rules about shipping claims.
- The lapsed-buyer draft said "we've missed you" twice. One went.
- All three subject lines were close to identical, so the owner kept the AI's options only for the never-ordered segment and wrote the repeat-buyer subject line herself in four words.
That's typical: the structure and the segment framing come out usable, and a person still owns the facts and the final wording.
Common mistakes with AI-written campaign emails
- Prompting with the campaign, not the segment. "Write a restock email" gets you one email for everyone. Describe who is receiving it.
- Letting the model pick the offer. Discounts, codes and end dates come from you, typed exactly as they'll work at checkout.
- Sending every draft in the same voice it arrived in. Models drift towards an upbeat, salesy tone. Keep a short voice line in the prompt and edit anything that doesn't sound like your store.
- Writing for segments that are too small to matter. If a segment has a handful of people, a quick personal note may be better than a campaign.
- Overlapping sends. If someone sits in two segments that both get a campaign that week, they get two emails. Check who is excluded from each send before scheduling.
- Judging the result on opens alone. Open rates are unreliable because of privacy features, as the Shopify abandoned cart flow guide explains. Look at clicks that become orders, and at unsubscribes.
Pre-send checklist
Run through this for every AI-drafted campaign before you hit schedule:
- The segment definition in Klaviyo matches the "who is in it" line you gave the AI.
- Every product name, price and size in the body matches the live product page.
- The discount code works at checkout and the end date is correct.
- Nothing in the email promises shipping, returns or guarantees you don't offer.
- The call to action links to the right page, and the link works on mobile.
- People who are in an overlapping segment are excluded or are meant to get both.
- You've read it once out loud. Anything that sounds off to you will sound off to a customer.
FAQ
How different should each segment's email actually be? At minimum, the opening line and the specific call to action should differ: a repeat buyer doesn't need convincing that your store is legitimate, a first-time browser does. Reusing the same body copy with only the subject line changed defeats the purpose of segmenting in the first place.
Does this replace a dedicated email marketer? For a small store, it replaces the time spent writing each variant from scratch, not the judgment calls about strategy, timing, and what to actually test. Those still need a person paying attention to results.
How many segments should a small store start with? Three or four is plenty: repeat buyers, one-time buyers, lapsed customers and subscribers who have never ordered. Get those working before you split further. More segments mean more drafts to check, and the review step is the part you can't skip.
Can AI write the subject lines too? Yes, and it's a good use of it: ask for several options per segment and pick or rewrite one. Treat them as candidates, not finished lines, and test against your own past subject lines rather than assuming the AI's version is better.
Should I reuse last month's prompt for a new campaign? Reuse the template, not the filled-in prompt. Old offers, end dates and product facts left in a copied prompt are one of the easiest ways to send a wrong discount.
Is it fine to use AI for abandoned cart emails as well? For drafting the copy, yes. The trigger and filters matter more than the wording there; see the Shopify abandoned cart flow with Klaviyo for how to set those up so the right people get the emails.
For segment automation, see Klaviyo; for drafting on-brand copy per segment, see ChatGPT or Claude. For the support side of a small store's AI workflow, see Shopify customer support automation. The same drafting principles carry over to paid ads. See ChatGPT vs Claude for ad copy variants.



