If you need to set up automatic assignment of chats to a specific operator, insert the operator ID in the Chat2Desk operator ID field. How to get the operator ID:
Optionally, enable receiving of service messages by switching the toggle switch.
To save the
@Project Channel
without activating it, click the CREATE button.
To save and activate the
@Project Channel
, click the CREATE & ACTIVATE button.
The
@Project Channel
will be saved and activated if:
The
@Agent
is trained;
The token in the Chat2Desk token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook is registered succesfully.
The
@Project Channel
will be saved but not activated if one or more conditions are not met.
To cancel
@Project Channel
creation, click the CANCEL button.
Editing and Deleting Agent Channel
To edit an
@Project Channel
, click on its icon on the
@Agent
card.
To edit any field, click the field and enter a new value.
To apply changes to an activated
@Project Channel
, click the APPLY button.
Changes will be applied if:
The
@Agent
is trained;
The token in the Chat2Desk token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook is registered succesfully.
Changes will not be applied if one or more conditions are not met.
To deactivate the
@Project Channel
, click the DEACTIVATE button.
To apply changes to a non-activated
@Project Channel
, click the SAVE button.
To apply changes and activate the
@Project Channel
, click the SAVE & ACTIVATE button.
Changes will be applied and the
@Project Channel
will be activated if:
The
@Agent
is trained;
The token in the Chat2Desk token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook can be registered.
Changes will be applied but the
@Project Channel
will not be activated if one or more conditions are not met.
To cancel making changes, click the CANCEL button.
To delete the
@Project Channel
, click the DELETE button.
Communication
Connecting the Bot as an Operator in Chat2Desk
In
@Chat2Desk
, it is possible to configure chat auto-assignment to a specific operator. When chat auto-assignment is turned off, chats are directed to the general queue.
If you need the
@Bot
to process only chats assigned to a specific operator, you need to connect the
@Bot
as a specific operator and configure the assignment of new chats to this operator. If the operator ID is not specified in the
@Project Channel
settings, the
@Bot
will receive all messages from the general queue, i.e., not assigned to any specific operator.
To set up connecting the
@Bot
as an operator in
@Chat2Desk
, you need to:
Log in to your
@Chat2Desk
account.
Go to Settings - Operators - List.
Click the Create Operator button.
Fill in all the data for the new operator.
Log in as the newly created operator. Obtain the API token as described in
Headers: Authorization: {API token from the personal account}
The response to the request will include a list with information about all operators in the following format:
`{"data":[{”id":``operator id``,"email":”email","first_name":"first name","last_name":"last name","role":"role",”phone":"phone number","avatar":avatar,”last_visit":”time of last login to the account","online":1 if operator is online, 0 if offline,”offline_type":null,"external_id":null,"opened_dialogs":number of opened dialogs,"status_id":0}, {data for the next operator}],"meta":{"total":total number of operators,"limit":limit on the number of operators,"offset":0},”status":"success"}`
Find the information about the operator created for connecting the
text appears in other channels depends on the channels themselves.
The following markup types are supported:
*italics*
_italics_
__bold font__
*__bold italics__*
[link](http://www.example.com/)
2
channel_chat_id
Chat2Desk
Yes
Format: 500482964|chat2desk
3
Messages will reach the Bot User if the Agent writes first in an existing chat
Chat2Desk
Yes
Cases:
The operator accepted and remained in the chat - the bot can write to the interlocutor.
The operator accepted and closed the chat - the bot can write to the interlocutor.
4
Buttons
Chat2Desk
Yes
5
Transfer to operator
Chat2Desk
Partially
@Change Chat Mode
— no
@External Request
— yes
6
Transferring files as files from the Agent
Chat2Desk
Yes
The widget receives an icon leading to a link like
; when you click, the content is automatically played.
Images are transmitted as images.
7
Transferring files as links from the Agent
Chat2Desk
Partially
It is displayed similarly to the transferred file, the link leads to storage.chat2desk.com and the file automatically opens in the browser.
Note: not visible in telegram