Handing the chat to a live operator
The Connect to operator node (action_operator_panel__connect_to_operator_with_msg) creates an Operator Panel chat and connects the client to an operator (subject, queue, capacity rules). It is the standard way to give the conversation to a human from the scenario.
Branches after the action runs
The action returns one event — each has its own output on the canvas:
| Event | What it means for you |
|---|---|
| success | Chat created; connection OK |
| banned | User is banned |
| limit | No operators available |
| error | Chat creation failed or runtime error |
Wire each branch to follow-up nodes — e.g. after limit, send a «try again later» message.
Note: add_button / add_return_button in the form refer to operator-chat UI, not these four canvas events. Details: Connect to operator parameters.
When it fits
- The bot menu has an option like «Talk to an operator».
- You need a ticket/chat with a subject and tags.
- You want to pass context to the operator via the «text to operator» field.
Setup in a few steps
- Add Connect to operator from the template list.
- Set subject (subject_alias) — it must exist in the project.
- Optionally enable auto-connect, tags, text to operator.
- On the canvas, wire success, banned, limit, error.
- Configure aliases for chat close / return if needed — see the reference.
Full fields: Connect to operator parameters.