> 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). Agents can also search and read this documentation through its [MCP server](https://docs.appmixer.com/~gitbook/mcp).

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
