> For the complete documentation index, see [llms.txt](https://help.smartico.ai/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smartico.ai/welcome/products/crm-automation/activities-of-flows/activity-limit.md).

# 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.

To restrict how many times an individual player can enter a campaign rather than applying a global cap, configure the campaign's entry mode settings (such as *Once during open journey* or *Once in a lifetime*) or use profile state checks.
{% endhint %}

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-5105fb1b134aadb0e649bd680b9a4b44dc39d238%2FScreenshot_40.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-a66373532b7ec0728aac9b34469993e12ed29b17%2FScreenshot_27.png?alt=media" alt=""><figcaption></figcaption></figure>

The Limit activity tracks the total number of executions through the node. Users who pass through while the counter is less than or equal to the configured limit exit via the ‘Matched’ branch. Once the limit is exceeded, all subsequent users are routed through the ‘Not Matched’ branch.

**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.*

In the Flow Builder canvas, the Limit activity card displays a live progress indicator showing **Entry limit: X / Y**, where X is the current number of completed executions and Y is the configured maximum limit.

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-3fbd4ebc6e7c98ac248d491cb75b1a7c951e8075%2FScreenshot_28.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-9207cceb9d95909b54eb7a502a7e2adebfe70e9e%2FScreenshot_41.png?alt=media" 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="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-ce20b271a67eca8fa710bf1686d7d5de9f2d7bf7%2FScreenshot_29.png?alt=media" 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.

When configuring a reset schedule for a Journey, you can choose from three reset frequencies: **Daily**, **Weekly**, or **On a specific date & time**.

<figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-72255d06b28db76790d3c68c6db5609b985c0218%2FScreenshot_31.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# 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.smartico.ai/welcome/products/crm-automation/activities-of-flows/activity-limit.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.
