Call list
Call lists can be generated from the Contacts, Companies and Leads pages. In order to create a call list, select the desired entities and add them to the call list via the More menu.
Automatic dialing can be enabled and configured by specifying the dialing interval in the widget settings. The auto-dialer can be paused or resumed, and individual entries in the call list can be skipped to proceed to the next item.
We will highlight key aspects of call list creation in this section. You need to implement a function that enables selection of items from the entity lists to create a call list in Kommo using our Lists SDK. The following example demonstrates how to implement item selection logic within the script.js file of your widget:
function CustomWidget() {
const self = this;
this.callbacks = {
/**
* For working with the contact list.
*/
contacts: {
/**
* Callback that is triggered when the widget is opened
* with selected items from the list.
*/
selected: () => {
const selectedItems = self.list_selected().selected;
/**
* Logic for handling selected list items.
*/
},
},
/**
* For working with the leads list.
*/
leads: {
/**
* Identical logic.
*/
},
};
return this;
}
This way we can add a button in the More section when selecting the entities:
Since we recommend setting the scope to everywhere for all telephony widgets in the manifest.json, there's no need to define additional scopes for selecting items from the list.
Updated about 8 hours ago