# Delay

**Introduction**

This step introduces a pause in the execution of an automation for a specified duration.

**Configuration**

* **Delay**: Set the duration of the delay in milliseconds. The permissible range is from 0 to 300,000 milliseconds (5 minutes). This is a required field.

**Usage**&#x20;

Useful for creating timed delays between actions in an automation, such as waiting for a certain period before sending a message, executing a command, or proceeding to the next step.


---

# 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://docs.flexy.bot/modules/scripting/steps/delay.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.
