processCallLog
Used to provide interaction log information.
This method is called only if the integration detects a change in the interaction log at certain interaction or user events.
Parameters
Name | Data type | Description | Notes |
callLog | Object | The | Only provides portions of the interaction log that changed. |
interaction | Object | The | |
eventName | String | The | Values: interactionChanged, interactionDisconnected, interactionChangedAfterDisconnect, interactionACWCompleted, interactionRemoved, openCallLog, appDisconnected. |
onSuccess | Function | The | If the method is successful, you must call the |
onFailure | Function | The | If the method is unsuccessful, you must call the |
Example
processCallLog: function (callLog, interaction, eventName, onSuccess, onFailure) {
// Use your CRM vendor's API to provide interaction log information.
onSuccess ({
id: externalCallLog.id
});
}