Go to the section for which you need to implement the ability to connect the operator and create the "Action" block in it:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d175697d-d762-48ee-aebd-0d65ec9bf162/Untitled.png

Then go to the advanced editing of the block and fill in the following fields:

  1. Json block configuration {"subject_alias": "Example"} where Example is the designation of the subject of connection to the operator
  2. Actoin'a name - Specify “connect_to_operator_custom“

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/65ed018f-a62e-4309-8bf8-2f785e3ca402/Untitled.png

  1. We create events: success, error, prev_node

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f8b2a3cd-4632-47a8-a21f-ef164dccf361/Untitled.png

  1. Add the "message to the user" block.

  2. 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".

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c4ecf20e-bf67-43bd-870e-64ffae358f83/Untitled.png

  1. Create a block connection between points (exit point)

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/158478a7-94f2-4e57-961a-3db944bacb0d/Untitled.png

  1. Indicate in the block "connection between points (exit point)" the section - "The issue of quality of service"

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/09858a5a-ddc6-4589-b091-2c499e8cde2b/Untitled.png

  1. 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)

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/25902166-0510-422e-8194-cabaeb3ff1f0/Untitled.png

  1. Making connections

а) the menu button, by which we plan to connect to the operator, we associate with the connect_to_operator_custom action block

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/156f4d13-08f1-4b26-b7ef-ce92efafd361/Untitled.png