---
name: referral-program
description: "Designs a customer referral program and writes its messages: whether referrals fit the product, the moment to ask, the reward for each side sized against what a customer is worth, the qualifying event that releases it, caps and holding periods, fraud checks (self-referral, same-company invites, leaked codes, velocity), the referral page and in-product prompt, the invite the customer sends, the email sequence that announces, reminds and confirms rewards, the terms and the numbers to watch. Use when someone asks for a referral program, refer-a-friend, give-get rewards, customer referral rewards, referral emails, how much to give for a referral, how to stop referral fraud, or why customers don't refer."
license: MIT
compatibility: "Any AI agent. Needs the business's prices, margins and retention to size rewards. Running the program needs referral tracking in the product or a referral tool connected to billing; terms need a legal review."
metadata:
  title: "Referral program"
  category: "Events, partnerships and affiliates"
  requires: "none"
  data-needed: "None"
  slate-tools: "get_brand_context, create_artifact, query_pages (Slate MCP); Brand Kit, Calls, HubSpot sync, Artifacts and Pages and site analytics in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/referral-program"
  author: "Slate"
  version: "1.0.0"
---

# Referral program

Designs a program that turns happy customers' recommendations into tracked, rewarded signups without paying for fake ones. It decides when to ask (right after a customer succeeds, not at signup), sizes a reward both sides notice against what a new customer is worth, releases the referrer's reward only after the friend pays and the refund window passes, and builds in the fraud checks generic programs skip: self-referral, colleagues inviting colleagues, codes leaking to coupon sites, and sudden bursts of signups. Then it writes every message, from the in-product prompt to the reward confirmation, in the customer's voice where it matters. In [Slate](https://slatehq.com) it also reads your Brand Kit, so the referral page and emails match your positioning and voice.

## When to use

- "Set up a referral program", "refer-a-friend", "give $X, get $X", "what should we give for a referral", "write our referral emails", "referral program isn't working", "people are gaming our referral codes".
- SaaS, apps, subscriptions, ecommerce and services where customers know others with the same need.
- Not for paying publishers, creators or agencies a commission: use `affiliate-program-design`.
- Not for growth built into the product itself (invites, shared documents, "made with" badges): use `viral-loop-design`.
- Not for references, case-study customers and champions: use `customer-advocacy-program`.

## What you need

Required:
- **Pricing and economics**: plans and prices, gross margin, retention or average customer lifetime, and the acquisition cost you accept from other channels.
- **The success moment**: the event that shows a customer got value (first report sent, first order shipped, tenth project). If unknown, propose one from the product and say so.
- **How referrals would be tracked**: built into the product, a referral tool, or not yet decided.

Ask for, or assume and state:
- **B2B or B2C**, and whether buyers pay personally or on a company card (it changes the reward type).
- **Evidence of word of mouth**: share of signups answering "friend or colleague" to "how did you hear about us", NPS promoters, public praise.
- **Budget limits** and any reward types finance won't allow (cash, gift cards).
- **Countries** you sell in, for terms, tax and email consent.

## Data and tools

- **In Slate:** Brand Kit gives positioning, voice and CTAs. Calls (app only) shows how customers describe the product in their own words, which is what the invite message should sound like. HubSpot sync (app only) gives customer lists and properties to pick who sees the prompt first. Artifacts holds the program design, terms and messages. Pages and site analytics shows visits and signups on the referral landing page.
- **With the Slate MCP server:** `get_brand_context`; `create_artifact` (`title`, `content_text`) for the design and messages; after launch, `query_pages` with `view: "list"`, a `date_range` and `filters.key_events` set to your signup event to see the referral page's signups. Calls and HubSpot sync aren't available through MCP yet.
- **Without Slate:** the billing system for prices, margin and retention; the product analytics or CRM for the success moment and customer lists; the referral tool or product for tracking. Referral links, rewards and fraud flags live in the product or referral tool: Slate doesn't track referrals.

## Procedure

1. **Check fit.** Referrals work when customers know others with the same problem and starting is easy. Look for signs it already happens: "friend or colleague" answers at signup, promoters in NPS, public praise. If the product spreads through use (shared links, invites), improve those loops first (`viral-loop-design`) and add rewards after.
2. **Pick the moment to ask**: right after the success moment, after a milestone, after a renewal or upgrade, after a support case solved well, or after a 9–10 NPS answer. Never at signup and never in the middle of a task.
3. **Choose the structure.** Two-sided (both get something) is the default for a new program: the friend's reward gets them to start, the referrer's gives a reason to share. Reward types: account credit or a free month (cheapest, keeps people in the product), discount on the friend's first payment, upgrade or extra usage, gift card or cash (B2B buyers often can't accept cash; offer a choice or a donation), tiered rewards for repeat referrers.
4. **Size the reward under a ceiling.** Ceiling = what a new customer is worth ÷ your target value-to-cost ratio. Worked example in `references/rewards-fraud-and-emails.md`. The friend's reward should be visible next to the price (a month free, or a meaningful first-payment discount); the referrer's should be worth sharing for. Stay well under the ceiling so a few unqualified referrals don't break the economics.
5. **Define the qualifying event.** The friend's reward applies at signup or checkout. The referrer's reward is released when the friend pays their first invoice and the refund window passes (30 days is common), or reaches the success moment on a free plan. Never pay cash for bare signups.
6. **Build in fraud checks** from the reference: self-referral signals (same payment method, device, address or IP with near-identical emails, plus-addressing, disposable domains), same company domain in B2B (a colleague isn't a new customer), past accounts, caps per referrer, velocity alerts, holding periods, reversal on refund or chargeback, personal links instead of public codes, no stacking with other discounts, staff excluded, and a manual review queue.
7. **Design the mechanics**: a personal link plus a short code for word of mouth; share options (copy link, email invite, messaging apps, LinkedIn or X); a landing page that names the referrer ("Sam invited you") and states the friend's offer in one line; a referral dashboard showing invites, status and rewards; instant notification when a reward is earned.
8. **Write the messages** with the templates in the reference: launch announcement, in-product prompt, the invite the customer sends (short, editable, in their voice), the friend's landing page, reward earned, a reminder at the next success moment. Your system sends at most one invite email per friend, clearly from the customer, and never adds the friend to marketing before they sign up.
9. **Write the terms**: eligibility, qualifying event, reward and when it arrives, caps, exclusions, fraud and reversal, changes and ending the program, tax (cash rewards can be taxable for the recipient), and a rule that rewards never depend on writing a review.
10. **Launch in two steps**: first to the most engaged customers (recent success moment, promoters) for two to four weeks to test tracking and rewards end to end, then to everyone, with the prompt in the product and one announcement email.
11. **Measure monthly**: share of customers shown the prompt who share, invites per sharer, invite-to-signup, signup-to-paid, referred share of new customers, referred customers' retention at 90 days against others, reward cost per referred paying customer against the ceiling, fraud flags and reversals.

## Output

```markdown
## Referral program: <product>
Fit: <evidence>. Ask moment: <success event>. Tracking: <product / tool>.

### Rewards
| Side | Reward | When released | Cost per referred paying customer | Cap |
Ceiling: <amount> (maths shown)

### Fraud checks
| Check | Rule | Action (block / hold / review) |

### Mechanics
Link and code, share options, landing page, dashboard, notifications.

### Messages
<launch email, in-product prompt, invite text, landing copy, reward earned, reminder>

### Terms (for legal review)
<clauses>

### Launch and metrics
<steps, dates, metric list with owner>
```

## Quality checks

- The reward ceiling is calculated from the company's own price, margin and retention, with the maths shown.
- The referrer's reward is released only after a payment clears or the success moment, never at signup.
- Fraud checks cover self-referral, same-company invites, caps, velocity, refunds and leaked codes, each with an action.
- The invite message is written for the customer to send, is editable, and is the only email a friend receives before signing up.
- Terms say rewards never depend on a review, and flag tax on cash rewards.
- The ask happens at a success moment that the product can actually detect.
- Metrics include retention of referred customers, not only signup counts.

## Common mistakes

- **Asking at signup.** New users haven't seen value and have nothing to say. Ask after they succeed.
- **Rewarding signups.** Fake accounts appear within days. Reward paid, retained customers.
- **A reward too small to notice.** Five percent off once won't move anyone; a free month or a real credit does.
- **Public codes.** They end up on coupon sites and pay rewards for customers who were coming anyway. Use personal links.
- **Colleagues referring colleagues.** In B2B, a second user at the same company isn't a new customer; exclude the same email domain or billing account.
- **Sending reminders to friends.** Your system emailing people who never signed up harms deliverability and may break consent rules. One invite, from the customer.

## Related skills

- `viral-loop-design`: loops built into the product before rewards.
- `affiliate-program-design`: commissions for publishers, creators and agencies.
- `customer-advocacy-program`: references, case studies and champions.
- `review-generation-program`: reviews from happy customers, kept separate from rewards.
- `email-sequence`: polish the launch and reminder emails.
- `offer-design`: shape the friend's offer.
