> 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/4-buy-product-acme-123-and-earn-100-points.md).

# #4 Buy product ACME 123 and earn 100 points

### #4 Buy product ACME 123 and earn 100 points

**Business goals:**&#x20;

* Product sales&#x20;
* Higher margin

**Loyalty mechanism:** Currency

**Description:**

* This campaign rewards members with loyalty currency every time they buy a specific product.
* The campaign is perfect in cases where you need to clear stock of a specific product, want to promote a product with a higher margin, or want to promote a newly introduced product among the customer base.

**Default configuration:**

<figure><img src="https://content.gitbook.com/content/JYxbcM03fnO79kn9uY8G/blobs/en3Et9PtdYb6dCvwa52u/image.png" alt=""><figcaption></figcaption></figure>

* **Campaign type:** Direct
* **Trigger:** Transaction
* **Rules:**
  * **Condition:** At least 1 ACME 123 product in the transaction *(Quantity of product with a specific SKU -> SKU: 123, IS greater or equal to 1)*
  * **Effect:** Give 100 points *(Add units -> Wallet type: Points wallet -> Calculation formula: 100)*

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

* Set a time limit when the campaign is active to maximize the campaign efficiency e.g. members can earn an extra 200 points for buying ACME products during the upcoming weekend.
* While calculating the number of loyalty currencies, always consider the margin on the product.
* If you want to reward customers for buying any product from the group use different conditions e.g. quantity of products from a specific category.
  {% endhint %}

### Campaign JSON file to import

{% file src="/files/nPMse0J1kj1oh05zByYb" %}


---

# 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/4-buy-product-acme-123-and-earn-100-points.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.
