You are here:
Add a Limit Repetitions Element to a Next Best Action Flow
You can add a Limit Repetitions element to your Recommendation Strategy flow to limit the number of times that the same recommendation or offer appears on the same record or for the same user during a time period.
Required Editions
| View supported editions for Next Best Action. |
| User Permissions Needed | |
|---|---|
| To create or manage recommendations: | Modify All Data OR Manage Next Best Action Recommendations |
- You must have a collection of recommendations that has a valid value in the ID or RecommendationKey fields. The RecommendationKey value must be a database ID or have the syntax DYNAMIC_<custom id>.
- If you include an Assignment element, from Actions, choose Output from limit. Or you can skip this step and add the output from the Limit Repetitions element.
- From Setup, in the Quick Find box, enter Flows, and then select Flows.
- Open or create a Recommendation Strategy.
- After the collection of recommendations, add a Limit Repetitions element.
- Enter a label and an API Name.
- Add a description.
- Search for and select the Recommendation Collection that you want to filter.
-
Select the responses that you want, and then enter the number of responses and days as
whole numbers.
Look Within This Many Days is based on days, not hours. If the number of days is set to 1 for an accepted response, and the user accepts the recommendation at any time on Monday, the recommendation doesn’t display again until the start of Wednesday. So a one-day time period could be as few as 25 hours in duration or as many as 48 hours.
-
If you didn’t include an Assignment element, you can search for and select the collection
that includes the limit repetition output.
- In Advanced, select Manually assign variables.
- From the Store Output Variables field, search for and select the output variable.
- Click Done.
-
Save your work.

Example
- If you want one accepted response over 90 days, such as a password reset recommendation, and the user accepts one time over 90 days, they don’t see the message again for 90 days. But if the user rejects the recommendation, they see the message every time they reload the page until they accept it.
- If you want two accepted or rejected responses over 1 day, and a user accepts or rejects the recommendation only one time every day, they still see the recommendation.
- If you want two accepted or rejected responses over 1 day, and a user accepts or rejects the recommendation twice on day one, they don’t see the recommendation on day two. They see the recommendation again on day three.
If you add an Assignment element after the Limit Repetitions element and change the label for accept or reject, you must update the limit repetitions output.
Did this article solve your issue?
Let us know so we can improve!

