> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/playbook/sample-setups/sample-campaigns/6-refer-5-friends-and-get-a-usd50-off-coupon-for-the-next-purchase.md).

# #6 Refer 5 friends and get a $50 off coupon for the next purchase

### #6 Refer 5 friends and get a $50 off coupon for the next purchase

**Business goals:**&#x20;

* Customer acquisition

**Loyalty mechanism:**&#x20;

* Coupons Rewards
* Referrals&#x20;
* Achievements

**Description:**

* With this campaign, members will get a special reward after referring 5 new customers. Bonus points are added only when the new members of the loyalty program complete their first purchase.&#x20;
* This type of campaign can be used to boost new user acquisition, especially in the first weeks after the program's launch.
* To configure the campaign you will have to define the achievement that will count the number of newly referred customers who successfully completed the order. Next, we will configure campaigns triggered by this achievement and apply suitable effects.

**Default configuration:**

**Achievement: "**&#x35; newly referred members do the first transaction"

* **Achievement type:** referral achievement&#x20;
* **Trigger:** Transaction&#x20;
* **Achievement count:** Number of event occurrences&#x20;
* **Achievement goal:** 5\
  Select -> The goal corresponds to the number of referees. Each referee needs to complete one transaction.

**Campaign**&#x20;

* **Campaign type:** referral&#x20;
* **Campaign trigger:** achievement “5 newly referred members do the first transaction”&#x20;
* **The rule for referer:**
  * **Conditions:** None&#x20;
  * **Effects:** Give $50 off coupon for the next purchase \
    *(Give reward -> reward: $50 off coupon for the next purchase)*

{% hint style="info" %}
**Actionable tips:**

* Avoid rewarding referrals based only on the registration in the loyalty program.
* Consider creating a set of campaigns where the more new members are referred, the better the rewards are. For example “Refer 5 friends and get $50 off coupon for the next purchase” and “Refer 520 friends and get an ACME product for free”.
* Experiment with different types of effects like discount coupons instead of loyalty currency.
  {% endhint %}

### Campaign JSON file to import

{% file src="/files/6V3dN13hTwDCsb3Sc1gz" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.openloyalty.io/playbook/sample-setups/sample-campaigns/6-refer-5-friends-and-get-a-usd50-off-coupon-for-the-next-purchase.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
