---
title: "Action sleep"
description: "Pauses the scenario for a given number of seconds with a typing indicator."
---

# Action `sleep`

> **System ID:** `action_sleep`

## Description

Shows a typing indicator and waits `delay` seconds before continuing the scenario. Useful for a natural dialog pace or to simulate processing.

## Events (scenario branches)

| Event | When it occurs |
|-------|----------------|
| **success** | Pause completed |

## Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `delay` | number | no | `10` | Pause duration in seconds |

## Configuration example

```json
{
  "delay": 3
}
```

## Related docs

- [Actions reference](/en/actionjail/reference/actions-reference.md)
