Add Timeout before running the next API

I am running three requests in my Postman collection. I want to delay the execution of the third request by 3 minutes after running the second request. How can I achieve this?

Reason for the 3-minute delay:
In my system, a process runs automatically every 3 minutes. I am adding a domain using an API call, and it gets added with a ‘Pending’ status. The process I mentioned earlier cannot be triggered manually via Postman; it runs automatically. After this process runs, the domain status changes to ‘In Progress.’ I use the third API request to verify that the status has been updated.

Hey @yashodhal :waving_hand:

Welcome to the Postman Community! :postman:

You could make use of the setTimeout function here, by placing it in the Post-response script of the second Request:

setTimeout(function () {
    console.log("Waiting for 3 minutes");
}, 180000);

That would wait the specified amount of time (in milliseconds) and then run the next Request. That’s the most basic thing that could be done, this should hopefully give you a place to start.