# 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="/files/7E9pepgu8a1Nh2C1DKTD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flowtestai.gitbook.io/flowtestai/flow-nodes/delay-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
