# Loop send request in Workflow

**URL:** <https://community.postman.com/t/loop-send-request-in-workflow/60954>\
**Category:** Help Hub\
**Tags:** workflows, postman-flows\
**Created:** [May 13, 2024, 1:33pm UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954 "2024-05-13T13:33:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![panyaprach.jop](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@panyaprach.jop](https://community.postman.com/u/panyaprach.jop)\
**Post date:** [May 13, 2024, 1:33pm UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/1 "2024-05-13T13:33:47Z")

</div>

Hi,

I see the potential of Postman Flow can be a nice presentation for API call workflow.  
I’m trying to create a simple workflow for an API work following the steps below.

1. Call an API to create an asynchronous job.
2. Loop call another API to check job status with a fixed delay.
3. If the status is done call another API.

I’ve tried it but in the second round, the delay block is unable to trigger the send request block on step 2.

I’m not sure if it’s a bug. Or I’m using it with the wrong proposal?

---

<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:** [May 13, 2024, 3:44pm UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/2 "2024-05-13T15:44:12Z")

</div>

Hi @panyaprach.jop

Could you include a screenshot of what you flow looks like so I can see what might be causing this issue?

---

<div class="post-metadata">

**Author:** ![panyaprach.jop](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@panyaprach.jop](https://community.postman.com/u/panyaprach.jop)\
**Post date:** [May 13, 2024, 4:13pm UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/3 "2024-05-13T16:13:50Z")

</div>

@flows-daniel Check the image below.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/1/217425157764bc3c589502fd748dfd58eec25f8a.png)

---

<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:** [May 13, 2024, 9:45pm UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/4 "2024-05-13T21:45:53Z")

</div>

@panyaprach.jop

Try putting the select for body.id before the job response variable then directly putting the variable in the second request and clicking the “pin” icon. See below for example (lat variable):

 ![Screenshot 2024-05-13 at 2.43.36 PM](https://us1.discourse-cdn.com/getpostman/original/3X/6/7/671aeee1c29eab92f6a2a61eb77e5ac306aa9aa0.png)

Variables in flows only “fire” once with their value so the loop will go once then never receive the job response variable input again. Pinning the value makes it “fire” every iteration of the loop.

---

<div class="post-metadata">

**Author:** ![panyaprach.jop](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@panyaprach.jop](https://community.postman.com/u/panyaprach.jop)\
**Post date:** [May 14, 2024, 3:27am UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/5 "2024-05-14T03:27:21Z")

</div>

I’m try to fixed it but still stuck on the second round not trigger even if I remove delay block.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/0/3046d340647e1d56505788b685d540db5fbbf8d9.png)

---

<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:** [May 14, 2024, 3:35am UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/6 "2024-05-14T03:35:38Z")

</div>

@panyaprach.jop

Just hit the “pin” icon on your two get variables, the icon should be a solid color instead of an outline.

 ![image (4)](https://us1.discourse-cdn.com/getpostman/original/3X/8/f/8f56b383c38697bbe869cdb8cdca6b38998f21d7.png)

---

<div class="post-metadata">

**Author:** ![panyaprach.jop](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@panyaprach.jop](https://community.postman.com/u/panyaprach.jop)\
**Post date:** [May 14, 2024, 3:47am UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/7 "2024-05-14T03:47:31Z")

</div>

It’s work!!! Thank you very very much. I appreciate your quick response.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [June 13, 2024, 3:48am UTC](https://community.postman.com/t/loop-send-request-in-workflow/60954/8 "2024-06-13T03:48:15Z")

</div>

Closed on June 13, 2024, 3:48am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
