> 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-achievements/5-workout-configuration-track-a-workout-of-at-least-30-minutes-for-5-days-in-a-row-get-250-points.md).

# #5 Workout Streak – Track a workout of at least 30 minutes for five days in a row

{% hint style="info" icon="cart-shopping-fast" %}

### Business case

Reward daily workout routines – this setup works well for wellness, fitness, and activity-based loyalty programs.

Since the reward is tied to a streak, members stay motivated to come back every day.

**💡Useful for** both creating habits and building long-term engagement.
{% endhint %}

{% hint style="warning" %}
This setup uses custom events to track workouts.

Learn more: [Custom Events](/main-features/custom-events.md)
{% endhint %}

### 🛠️ Step by step

{% stepper %}
{% step %}

### Step 1: Challenge info

* **Name:** Track a workout of at least 30 minutes for five days in a row
* **Availability:** Always available
* **Status:** Active
  {% endstep %}

{% step %}

### Step 2: Milestone

* **Milestone type:** Direct milestone
* **Trigger:** Custom event
* **Event type:** `Workout`
* **Progress tracking:** Number of event occurrences
* **Goals:**
  * Occurrence: Streak
  * Streak type: Daily streak
  * Goal per day: 1 event
  * Streak period: 5 days in a row
* **Trigger conditions:**
  * Workout duration `greater or equal` to 30 minutes

**Rules & Effects**

* **Trigger type:** Challenge completion
* **Effect:** Add 250 units to wallet
  {% endstep %}

{% step %}

### Step 3: Limitation & Budget

* **Effect application per member:** 1 per year
* **Budget:** Unlimited, or set a cap if needed
  {% endstep %}

{% step %}

### Step 4: Review and Save

Review the setup, then save and activate the challenge.
{% endstep %}
{% endstepper %}


---

# 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-achievements/5-workout-configuration-track-a-workout-of-at-least-30-minutes-for-5-days-in-a-row-get-250-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.
