# Delay

**What is Delay?**

The Delay node in StackAI allows you to pause the execution of your workflow for a specified number of seconds. This is useful for scenarios where you need to wait before proceeding to the next step, such as rate-limiting, waiting for external processes, scheduled notifications or reminders, or simulating human-like interactions.

<figure><img src="https://3697023207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFSlso1Kjob5CLDrh0dVn%2Fuploads%2FZwd4CHwDNLfdHK9P0psY%2FScreenshot%202025-07-17%20at%2010.56.47%E2%80%AFAM.png?alt=media&#x26;token=9d9417dc-35f8-4b58-9809-70d1fc7c6981" alt="" width="375"><figcaption></figcaption></figure>

**How to use it?**

* Place the Delay node between two nodes in your workflow where you want to introduce a pause.
* Configure the number of seconds to delay.
* The Delay node will hold the workflow for the specified duration before passing control to the next node.

**Actions and Triggers**

The Delay node acts as a passive step in the workflow and does not have active triggers or multiple actions. Its primary function is to introduce a time delay between nodes.

#### Settings

* **Delay** (integer, required): The number of seconds to pause the workflow.
  * **Example:** To wait for 10 seconds, set `delay` to 10.

#### Output

* **No output parameters.**
  * The Delay node does not produce any data output. It simply allows the workflow to continue after the delay.

**Example Configuration**

```json
{
  "delay_seconds": 10
}
```

**Example Workflow**

1. **Current Time** node records the start time.
2. **Delay** node pauses the workflow for 10 seconds.
3. **Current Time** node records the end time.
4. **Output** node displays both times.

This setup helps you measure elapsed time or create time-based automation in your StackAI workflow.
