> 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-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: [Broken mention](broken://pages/-MhwU9vuj9jlFAx19huA)
{% 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 following URL with the `ask` and `goal` query parameters:

```
GET https://help.openloyalty.io/playbook/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=<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.
