# Achievement

The **Achievement** trigger initiates a campaign when a member completes a predefined achievement within Open Loyalty. These campaigns are separate from **Achievement** definitions—they activate only when an achievement is completed and operate independently, letting you deliver rewards like points, coupons, or badges.&#x20;

***

### **🆚 What is the difference between Achievement and Campaign?**

Main difference between achievements and campaigns can be summarized to these two points:

1. **Achievements** define and track long-term member goals.
2. **Campaigns** deliver the actual reward when those goals are met—offering full control over reward type, timing, and limits.

For a full breakdown, please refer to the table below:

<table><thead><tr><th width="133">Aspect</th><th>Achievement</th><th>Campaign  (Triggered by Achievement)</th></tr></thead><tbody><tr><td><strong>Purpose</strong></td><td>Tracks member progress across multiple triggers over time (e.g., 5 purchases, 7 logins).</td><td>Awards rewards when an achievement is completed, operating independently.</td></tr><tr><td><strong>Execution</strong></td><td>Monitors cumulative conditions (time-based, streaks, aggregated values).</td><td>Fires on a single event: achievement completion. </td></tr><tr><td><strong>Rewards</strong></td><td>Does <strong>not</strong> directly award units or rewards. Assign badges only.</td><td>Issues points, coupons, or rewards when the linked achievement is triggered.</td></tr><tr><td><strong>Granularity</strong></td><td>Manages multi-step or combined goals (e.g., purchases + custom events).</td><td>Runs per-achievement and per-member—customizable via conditions.</td></tr><tr><td><strong>Independence</strong></td><td>Requires an associated campaign to issue any rewards.</td><td>Fully functional standalone campaign once linked to an achievement.</td></tr><tr><td><strong>Use Cases</strong></td><td>Challenge-based engagement (e.g., loyalty milestones, fitness goals).</td><td>Reward upon completion: e.g., “First Purchase” bonus, “Summer Challenge” prize.</td></tr><tr><td><strong>Lifecycle Control</strong></td><td>Changes in the achievement reset progress across all members.</td><td>Can be paused, duplicated, or deleted independently of the achievement logic.</td></tr></tbody></table>

***

### 🎯 When This Trigger Fires

A campaign with this trigger activates when:

* A member completes an achievement defined in the **Achievements** module.
* Conditions in the campaign match the achievement completion event.&#x20;

{% hint style="danger" %}
If you want to create a campaign to reward a member based on the achievement progress, not the completion, please refer to this section of the User Guide: [internal-event-achievement-progressed](https://help.openloyalty.io/main-features/campaigns/campaigns-and-referral-campaigns/creating-campaigns/trigger-types/internal-event/internal-event-achievement-progressed "mention")
{% endhint %}

***

### 🛠️ Step-by-Step Setup

{% stepper %}
{% step %}
**Set up Achievements**

Under **Achievements**, define your achievement with rules, limits, and goals (e.g., “Buy 5 times in June–August”).

{% hint style="info" %}
For more information on how to create achievements, please refer to this section of the User Guide: [achievements](https://help.openloyalty.io/main-features/achievements "mention")
{% endhint %}
{% endstep %}

{% step %}
**Add Campaign**

Go to **Campaigns** or **Referral Campaigns** → ***Add campaign*** → select **Achievement** trigger.
{% endstep %}

{% step %}
**Set Basic Campaign Details**

* Name, Description, Translations
* Start/End Date, Display Order, Visibility (Everyone / Segment / Tier)
* **Campaign Status** – The campaign will start only if it is active
  {% endstep %}

{% step %}
**Add Rules**

* **Condition**: (optional) e.g., only trigger for members in a specific tier.
* **Effect**: e.g., "Add units: 1 × grossValue", "Add 100 fixed points", "Issue coupon".
  {% endstep %}

{% step %}
**Set Limits & Budget**

* Per-member frequency (e.g., once per month)
* Campaign-level spending caps (total units)
  {% endstep %}

{% step %}
**Summary**

* Review the campaign configuration and amend if needed
* Click on **Add Campaign**
  {% endstep %}
  {% endstepper %}

***

### 👥 Use Case Examples

* **Milestone Bonus**: \
  Reward 100 units when a member completes “First Purchase.”
* **Seasonal Campaign**: \
  Give 200 points for completing the “Summer Buyer” achievement (e.g., 5 purchases during June–August).&#x20;
* **Multi‑Stage Reward**: \
  Award escalating bonuses for multi-step achievements like a login streak followed by purchase behavior.

***

### ✅ Why Use This Trigger

* Encourages ongoing member participation by rewarding multi-step goals.
* Offers flexibility—award based on tiers, segments, or specific attributes at completion time.
* Keeps reward logic separate—achievements track progress, campaigns deliver rewards, simplifying audit and control paths.

***

### 📊 Best Practices

* **Configure Achievements First:**\
  Campaign triggers only based on completed achievements.
* **Test Configuration**: \
  Use the **Campaign Simulator** or API to ensure return rules work as expected.
* **Monitor Regularly**: \
  Check engagement and deduction rates to avoid overcharging members.
