Go to the section for which you need to implement the ability to connect the operator and create the "Action" block in it:
Then go to the advanced editing of the block and fill in the following fields:
- Json block configuration {"subject_alias": "Example"} where Example is the designation of the subject of connection to the operator
- Actoin'a name - Specify “connect_to_operator_custom“
- We create events: success, error, prev_node
-
Add the "message to the user" block.
-
We indicate in the message the text that will be received by the bot client when connection to the operator is not possible, for example, "Failed to connect to the operator".
- Create a block connection between points (exit point)
- Indicate in the block "connection between points (exit point)" the section - "The issue of quality of service"
- We indicate in the menu section where we plan to connect the operator in the bot a button with the name "Connect to the operator" (for example)
- Making connections
а) the menu button, by which we plan to connect to the operator, we associate with the connect_to_operator_custom action block