addTransferContext
Allows agents to provide additional information when transferring interactions.
Agents select the Transfer Workspace check box in the Transfer window. The name of the workspace appears beneath the check box.
Parameters
Name | Data type | Description | Notes |
data | Object | See data object. | Set |
data object
Parameters
Name | Data type | Description | Notes |
name | String | Name of the workspace that appears in the Transfer window. | |
attributes | Object | Key-value pairs of custom attributes and strings that identify the information to be sent with the interaction. | To use this property, define the attributes for |
Example
In this example, '(Case: 1234 - Broken Phone)' appears under Transfer Workspace in the Transfer window. When an agent selects Transfer Workspace and transfers the interaction, the integration sends this case with the transferred interaction.
window.PureCloud.addTransferContext ({
name: "Case: 1234 - Broken Phone",
attributes: {example_TransferContext: "1234"}
});