Loyalty segment builder with an offer per segment

The agent segments customers by how often and how much they buy and drafts an offer for each segment. It sets up a test and a control group and sends the offers once the owner approves them.

supervisedAn afternoon5 steps

What the agent does

  1. 1

    Read purchase history.

  2. 2

    Segment customers by frequency and spend.

  3. 3

    Draft an offer per segment.

  4. 4

    Set up a test and control group.

  5. 5

    Send after approval. → owner approves offers

Enough to decide?

Proposed pattern
Required input
No example input written yet
Example output
No example output written yet
Permission
owner approves offers
Stop condition
over-discounting; discount cap
Reviewer
Not yet independently reviewed
Last run
Not run by us yet

What it costs to run

A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.

Checked 2026-11-25 source

$0.001 to $0.30 per run · $0.016 per run with a mid-priced model

Small, cheap model
$0.001 per runPer 100 runs: $0.11qwen3.7-flash (0-32K) · Alibaba Model Studio (Qwen)
Typical
$0.016 per runPer 100 runs: $1.63Mistral Large · Mistral
Large model
$0.30 per runPer 100 runs: $30.00Claude Fable 5.2 · Anthropic

Free tiers and local models can bring this to zero while you test.

How we worked this out
  • 5 model calls, one per step (at least 2)
  • 4,000 input tokens per call (it reads documents or data)
  • 500 output tokens per call
  • each call re-reads the earlier outputs
  • no retries, no loops, no cached-input discount

list API prices in USD per 1M tokens, checked 2026-11-25; one pass through the steps

5 model calls · 25,000 input tokens · 2,500 output tokens

  • Longer inputs cost more; agents that retry or loop use more calls.
  • Free tiers may cover small volumes: see free AI tokens.
  • Local models have no per-token price but need your own hardware.

low = cheapest, mid = median, high = dearest of the 36 paid models with a confirmed price in our table; models without a confirmed numeric price are left out

Browse provider prices

Works with

Tags

Before you start

Access the agent needs
crm, email, analytics-sw
Who approves
owner approves offers
What to log
every action it proposes and the decision taken
When to stop
over-discounting; discount cap

Why it is worth it

Loyal customers deserve different offers from new ones.

Start this week

  • Let the agent segment customers by frequency and spend.
  • Have it suggest an offer per segment.
  • Approve offers.

Watch out for

Discounts for loyal customers who would have bought anyway just cost margin, so test each offer on a small group first.

Measure this

Repeat purchases.

  • This use case handles personal data. At work, use only an AI your organisation has approved for it. At home, pick a service whose terms say your inputs are not used for training, or a model running on your own machine. Either way, send only the fields the job needs.

About this entry

Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-26.2 Reviewer to be named
Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-26.2 Reviewed by Reviewer to be named

What we checked

Each part of this entry, whether it was checked, when, and by whom.
ItemResultDateBySource and note
Text and stepsChecked2026-11-25——
Human checkpoint and risksChecked2026-11-25Reviewer to be named—
Workflow runNot checked yet———
Cost estimateChecked2026-11-25—source · mid-priced model assumed
Tool linksNot checked yet———
Outside evidenceNot checked yet———

Limitations

  • This is a pattern written from how the job is usually done. We have not run it.
  • Steps, tools and risks are general. Your systems and rules will differ.
  • Test it with made-up or public data before using real data.
  • This use case handles personal data. At work, use only an AI your organisation has approved for it. At home, pick a service whose terms say your inputs are not used for training, or a model running on your own machine. Either way, send only the fields the job needs.
  • Not checked yet: workflow run, tool links, outside evidence.

Change history

  1. Watch-out line rewritten spec v2026-11-26.2
  2. Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
  3. Added to the catalogue spec v2026-11-25.1

Full history

Evidence

  • No outside evidence yet; this is our own analysis.
Spec versions

Run it with AI

Pick the AI you already use.

Least setupMost control

{
    "name": "loyalty-segment-builder-0919",
    "goal": "Loyalty segment builder with an offer per segment",
    "persona": [
        "smb-owner"
    ],
    "autonomy": "supervised",
    "tools": [
        "crm",
        "email",
        "analytics-sw"
    ],
    "plan": [
        "Read purchase history.",
        "Segment customers by frequency and spend.",
        "Draft an offer per segment.",
        "Set up a test and control group.",
        "Send after approval."
    ],
    "human_in_the_loop": "owner approves offers",
    "guardrails": "over-discounting; discount cap",
    "output": "a draft for human review"
}

Copies the prompt, then opens the tool. Paste it in to start.

The prompt is built in your browser. It reaches an AI only when you paste it in or open it there.What are these forms?

At a glance

Industry
retail
Autonomy
supervised
Difficulty
An afternoon
Steps
5 · 1 human checkpoint
Runs as
on demand
Data touched
personal-data, customer-facing
Needs approval
owner approves offers
What it costs to run
$0.016 per run with a mid-priced model
ID
UC-0919

Compare routes for this job

Share this comparison

Loyalty segment builder with an offer per segment · UC-0919 · 3 of 3 routes for this job. Each cell is dated and sourced where we have a check. This is not a winner column.

Compare routes for this job
For this jobClaude
Chat assistants
ChatGPT
Custom assistants
Ollama
Local and open models
What you do by handPaste or attach the input each time, check the answer, and carry the result to where it goes yourself.Set up the assistant once with your instructions and files. Then paste or attach each new input, check the answer and carry the result on.Install the tool and a model, run the task on your own machine and check the result yourself.
Human checkpoint
owner approves offers
Typical API cost (same for every route)

$0.016 per run with a mid-priced model

Same figure for every route above — subscription prices are in the row below.

Typical tier: Mistral Large · Mistral

checked 2026-11-25 · pricing source

Learning curvePoint and clickPoint and clickTerminal
Price modelfree tierfree tierfree
Where your data goesWhat you type and upload goes to Anthropic's servers and is handled under its terms. Check its data settings before you use real work data.What you type and upload goes to OpenAI's servers and is handled under its terms. Check its data settings before you use real work data.The model runs on your own computer, so your prompts and files stay there unless you connect an online model yourself.
Before you startAn account on the website. The free plan is enough to try it.An account on the website. The free plan is enough to try it.Install it and download a model. A computer with plenty of memory, ideally a good graphics card, makes it usable.
Evidence for this routeProposed patternProposed patternProposed pattern
OpenOpen in run panel Tool pageOpen in run panel Tool pageOpen in run panel Tool page

Comparison version 2026-11-27.2 ·

Similar work

These use cases do the same kinds of work as this one. Each card shows what they have in common.

Same kinds of tools, a different job

These use cases connect to the same kinds of tools as this one, so part of your setup carries over.