addToQueue
Adds the current workflow to a specified queue.
Description
vcc.addToQueue(params)
Adds the current workflow to a specified queue.
Parameters
params
(object) An object containing the following properties:
queueId (number): The ID of the queue to add the workflow to. Another project’s chat queue can be provided, in which case the chat will be redirected to that project. Use customerId and contactId to also assign it to a record in that project.
customerId (number): Optional. The ID of the customer record to which the chat will be assigned to.
contactId (number): Optional. The ID of the contact to which the chat will be assigned to.
Return values
none
Example
vcc.addToQueue({
queueId: 42,
customerId: 1001,
contactId: 2002
});
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.