# Retry Requests for limited times in Flows

**URL:** <https://community.postman.com/t/retry-requests-for-limited-times-in-flows/84405>\
**Category:** Help Hub\
**Tags:** tests, postman-flows\
**Created:** [September 5, 2025, 7:38pm UTC](https://community.postman.com/t/retry-requests-for-limited-times-in-flows/84405 "2025-09-05T19:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![g-lelis](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@g-lelis](https://community.postman.com/u/g-lelis)\
**Post date:** [September 5, 2025, 7:38pm UTC](https://community.postman.com/t/retry-requests-for-limited-times-in-flows/84405/1 "2025-09-05T19:38:02Z")

</div>

Hello, I’m having trouble performing a simple task in FLOWS.

I want to resend the same HTTP request 5 times if the result received isn’t what I expected. In the screenshot below, the resend is unlimited.

The REPEAT BLOCK doesn’t work for this because it continues to rerun the HTTP request even when the expected value is received. If I set the REPEAT BLOCK to 5 times, it calls the function 5 times without checking any conditions.

I also tried creating a variable and incrementing it, but it seems that variables can’t have their values ​​updated. (are not true variables)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/5/75a0c1dc6fae1846b715bab93e4898d2770c63a8.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [September 8, 2025, 9:06am UTC](https://community.postman.com/t/retry-requests-for-limited-times-in-flows/84405/2 "2025-09-08T09:06:42Z")

</div>

Hey @g-lelis 👋

Welcome to the Postman Community! :postman:

Thank you for the question - I’m going to bring in @flows-daniel or @lunar-module-1 to help you out here 🙏

---

<div class="post-metadata">

**Author:** ![flows-daniel](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/flows-daniel/32/25516_2.png) [@flows-daniel](https://community.postman.com/u/flows-daniel)\
**Post date:** [September 8, 2025, 10:02pm UTC](https://community.postman.com/t/retry-requests-for-limited-times-in-flows/84405/3 "2025-09-08T22:02:06Z")

</div>

Hi @g-lelis

Welcome to the forums!

We have a section in our docs [here](https://learning.postman.com/docs/postman-flows/build-flows/loops/loops-break-out/#build-a-loop-for-pagination) that shows how to use an evaluate block to increment and pass a variable that does up to x times. You can have two conditions variable less than 5 and also result isn’t what’s received in this case.

Let me know if this works for you.
