# Activity: Limit

With the 'Limit', you can count the number of times a specific activity will be executed and what the outcome will be after the limit is reached.

The ‘Limit’ activity is available in the flow builder for both Journeyes and Scheduled Campaigns.

{% hint style="info" %}
Important: the activity limits progress, not per user, but globally.

In other words, you cannot use this activity to ensure that a specific user passes through it only X times.

It acts as a global limit, meaning only the first X attempts will succeed, regardless of whether the user is the same or all the attempts were from different users.
{% endhint %}

<figure><img src="/files/wkmwmhuk5FlfNeaTV0cG" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/YSwCFQUiqZx1VRLZby14" alt=""><figcaption></figcaption></figure>

The Limit activity measures how many times the event reaches or exceeds the predefined limit. If the passed events are less than or equal to, they are considered as ‘Matched’, while those exceeding the specified limit are labeled as ‘Not Matched’. This way, you can define what the outcome will be in both cases - when the limit is reached and after it is exceeded.

**Here's an example scenario:** *You can set up a journey to award bonuses to players who have made deposits of 100 EUR or more, with only the first 30 players who enter the campaign receiving the bonus.*

<figure><img src="/files/d0a4KVsZ3LfSLiZwejYt" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kNUpjoLet7BVadWrFTJQ" alt=""><figcaption></figcaption></figure>

### Limit Activity Reset

You can choose whether or not to reset the progress in the ‘Limit’ activity within the flow builder for Scheduled Campaigns and Journeys. The option is applicable for:

* Daily campaigns
* On specific Days of the Week campaigns
* On specific Days of the Month campaigns
* Journeys

**For scheduled campaigns** - by default, the option is disabled, meaning that the progress made in the Limit activity will not be reset when the campaign recurs. When enabled, the progress made in the Limit activity will be reset on campaign recurrence, while the limit itself remains unchanged.

<figure><img src="/files/WFcFu7S4O6I8q3a9Cf4f" alt=""><figcaption></figcaption></figure>

**For Journeys** - by default, the option is disabled, meaning that the progress made in the Limit activity will not be reset. When enabled, the progress made in the Limit activity will be reset based on the defined schedule, while the limit itself remains unchanged.

<figure><img src="/files/sdOS5itQJKOY2xrRIuDy" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://help.smartico.ai/welcome/products/crm-automation/activities-of-flows/activity-limit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
