---
title: "Built-in actions reference for scenarios"
description: "Reference for frequently used built-in scenario actions: variables, routing, operators, users, Custom Data, schedules, timers, media, Fastline, and analytics."
---

# Built-in actions reference for scenarios

> **Page type:** Reference.

**Built-in actions** are supplied by ConnectiveOne and its modules, including Operator Panel, Custom Data, Registered Users, and Fastline. You do not create them in Action Jail: add an **Action** node and select the function in Node Inspector.

> **Full catalog:** [Actions reference](../../actionjail/reference/actions-reference.md). Below are the **most common** groups with typical parameters and return values.

## Contents

1. [Constants (`set`)](#_1-constants-set)
2. [Routing (`goto_alias`, `switch`, `clear_constant`)](#_2-routing-goto-alias-switch-clear-constant)
3. [Operator handoff](#_3-operator-handoff-operator-panel-connect-to-operator-with-msg)
4. [Registered users (`registered_users__*`)](#_4-registered-users-registered-users)
5. [Custom Data (`custom_modules__*`)](#_5-custom-data-custom-modules)
6. [Schedule (`check_schedule`)](#_6-schedule-check-schedule)
7. [Conditional logic (`if_else`)](#_7-conditional-logic-if-else)
8. [Timers (`sleep`, `interval__*`)](#_8-timers-sleep-interval)
9. [Media (`send_photo`, `send_video`, `send_file`)](#_9-media-send-photo-send-video-send-file)
10. [User input (`get_user_input`)](#_10-user-input-get-user-input)
11. [Fastline / AI](#_11-fastline-ai)
12. [Analytics (`statistic__set`)](#_12-analytics-statistic-set)

---

## 1. Constants (`set`)

**Purpose:** write values into scenario state (language choice, registration fields, API results).

**Template node:** often **Set** (`action_set`) — see [Set node](../explanation/set-node.md) and [Set parameters](./set-parameters.md).

**Built-in `set` action:** key-value `json_obj` with `{{placeholder}}` support.

**Return:** typically `default` → next node.

---

## 2. Routing (`goto_alias`, `switch`, `clear_constant`)

| Action | Purpose |
|--------|---------|
| `goto_alias` | Jump to a node by **alias**. |
| `switch` | Branch by **conditions** (keys = event names). |
| `clear_constant` | Clear constants by **prefix** (`module_name`: comma-separated prefixes). |

**vs [Router node](../explanation/router-node.md):** the **Router** uses template `action_router` and UI rules. `switch` / `goto_alias` are classic built-ins in an Action node (common in imported/JSON flows).

---

## 3. Operator handoff (`operator_panel__connect_to_operator_with_msg`)

**Docs:** [Connect to operator node](../explanation/connect-to-operator-node.md), [Parameters](./operator-panel-connect-parameters.md), [Connect chat to operator](../../operatorline/explanation/connect-chat-to-operator.md).

**Returns:** `success`, `banned`, `error`.

---

## 4. Registered users (`registered_users__*`)

**Actions:** `registered_users__set`, `registered_users__get`.

**Details:** [Actions reference — Registered Users](../../actionjail/reference/actions-reference.md).

---

## 5. Custom Data (`custom_modules__*`)

**How-tos:** [custom_modules__get](../../customdata/how-to/use-custom-modules-get.md), [custom_modules__set](../../customdata/how-to/use-custom-modules-set.md), [patterns](../../customdata/explanation/custom-data-patterns-and-examples.md).

---

## 6. Schedule (`check_schedule`)

**Parameters:** `morning_time`, `evening_time`, `weekends`, `timezone`.

**Returns:** `success` / `error`.

---

## 7. Conditional logic (`if_else`)

**Structure:** `if` / `elseif` / `else` with `event` names.

**See also:** [Actions in scenarios](../../scenariodialog/explanation/actions-in-scenarios.md).

---

## 8. Timers (`sleep`, `interval__*`)

| Action | Role |
|--------|------|
| `sleep` | Delay (`delay` seconds). |
| `interval__start` | Periodic timer (`tick`, `end`, `type`). |
| `interval__end` | Stop timer for current section. |
| `interval__end_all` | Stop all timers for chat. |

---

## 9. Media (`send_photo`, `send_video`, `send_file`)

**Details:** [Display image to user](../../scenariodialog/explanation/display-image-to-user.md).

---

## 10. User input (`get_user_input`)

For group bots and mention handling; outputs `raw_input`, `bot_mentioned`, `no_input`.

---

## 11. Fastline / AI

Configure agents in FastlinePro module; scenario parameters depend on Action Jail config.

---

## 12. Analytics (`statistic__set`)

Event recording for statistics — see [actions reference](../../actionjail/reference/actions-reference.md).

---

## Summary

| Group | Client doc / skill |
|-------|-------------------|
| `set` | [Set node](../explanation/set-node.md) |
| Routing | This page, section 2 |
| Operator | [Connect to operator](../explanation/connect-to-operator-node.md) |
| Registered users | [Actions reference](../../actionjail/reference/actions-reference.md) |
| Custom modules | [Custom Data patterns](../../customdata/explanation/custom-data-patterns-and-examples.md) |
| Schedule / if_else / timers / media / get_user_input / Fastline / statistic | This page, sections 6–12 |
