> 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/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="/files/O00dkandoaQgfh6BdHA2" 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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.openloyalty.io/sample-setups/sample-campaigns/4-buy-product-acme-123-and-earn-100-points.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
