> For the complete documentation index, see [llms.txt](https://flowtestai.gitbook.io/flowtestai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flowtestai.gitbook.io/flowtestai/flow-nodes/delay-node.md).

# Delay Node

This node can be used to add a wait time of x ms before processing to the next node in the graph. Delay nodes are great at forming a loop when checking a status of an endpoint.

Let's say you have a node that created a resource using POST request, the endpoint executes an asynchronous job and returns back a jobId.  You can use that jobId to check for status and if it's not a Success, add a delay and then check for status again. This loop keeps on executing until and unless status is Success or the graph run times out

<figure><img src="https://4117604482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5kRbYlQgU50zpBM3y5aL%2Fuploads%2FDCAIthGQBg120jOZkTRa%2FScreenshot%202024-04-17%20at%205.06.23%E2%80%AFPM.png?alt=media&amp;token=57438752-ec6c-478c-8eff-21e25a7fc447" alt=""><figcaption></figcaption></figure>
