Standard (built-in) actions in scenarios
Built-in actions are implemented in the platform (Engine and modules such as Operator Panel, Custom Data, Registered Users, Fast Line). You do not create them in Action Jail — add an Action node and pick the function in Node Inspector.
Full catalog: Actions reference. Below — the most common groups with typical parameters and return values, aligned with
docs/client_flowanalysis.
Contents
- Constants (
set) - Routing (
goto_alias,switch,clear_constant) - Operator handoff
- Registered users (
registered_users__*) - Custom Data (
custom_modules__*) - Schedule (
check_schedule) - Conditional logic (
if_else) - Timers (
sleep,interval__*) - Media (
send_photo,send_video,send_file) - User input (
get_user_input) - Fastline / AI
- 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 and Set parameters.
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: 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, Parameters, Connect chat to operator.
Returns: success, banned, error.
4. Registered users (registered_users__*)
Actions: registered_users__set, registered_users__get.
Details: Actions reference — Registered Users.
5. Custom Data (custom_modules__*)
How-tos: custom_modules__get, custom_modules__set, patterns.
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.
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.
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.
Summary
| Group | Client doc / skill |
|---|---|
set | set-node, skill scenario-node-set |
| Routing | This page §2, skill scenario-standard-built-in-actions |
| Operator | connect-to-operator, scenario-node-operator-connect |
| Registered users | actions-reference |
| Custom modules | customdata how-tos |
| Schedule / if_else / timers / media / get_user_input / Fastline / statistic | This page + skill scenario-standard-built-in-actions |
Source analysis: standard_actions_patterns.md.