> For the complete documentation index, see [llms.txt](https://docs.appmixer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmixer.com/connector-configuration/utils/timers/wait.md).

# Wait

### Overview

The **Wait Component** delays message processing for a specified time before forwarding the original message. This component allows controlled execution timing in workflows.

### Usage

This component waits for a defined interval or until a specified date and time before sending the message to the output port.

#### Input Ports

| Port | Description                       |
| ---- | --------------------------------- |
| `in` | Receives a message to be delayed. |

**Input Properties**

| Property   | Type     | Description                                                                                                                                                             |
| ---------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `interval` | `string` | Defines how long to wait before forwarding the message (e.g., `5m`, `2h`, `1d`). Units: `m` (minutes), `h` (hours), `d` (days), `w` (weeks), `M` (months), `y` (years). |
| `until`    | `string` | A specific date-time value to wait until before forwarding the message (ISO 8601 format).                                                                               |

#### Output Ports

| Port  | Description                               |
| ----- | ----------------------------------------- |
| `out` | Sends the message after the delay period. |

#### Processing Logic

1. **Receive Message**: Accepts input and determines wait time.
2. **Compute Delay**: Uses `interval` or `until` to schedule message forwarding.
3. **Hold Execution**: Waits for the specified time before processing.
4. **Send Message**: After the delay, the original message is forwarded.

### Notes

* **Flexible Delays**: Supports both relative time intervals and absolute date-time scheduling.
* **Accurate Timing**: Uses internal scheduling to ensure precise message delivery.
* **Workflow Control**: Useful for rate limiting, execution sequencing, and scheduled triggers.

This component is ideal for workflows that require delayed execution, sequential processing, or scheduling based on specific timing requirements.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.appmixer.com/connector-configuration/utils/timers/wait.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
