From Bright Pattern Documentation
onLoadTransferData
This handler will be invoked during transfer initialization, when one agent sends interaction data to another agent. The handler will receive the CRM data that the transfer-initializer side will send via the return statement of the onRequestTransferData callback.
Request
Syntax
| on('ON_LOAD_TRANSFER_DATA', handler: OnLoadTransferDataHandler): void
type OnLoadTransferDataHandler = (interactionId: string, data: any) => void |
Parameters
| Parameter | Parameter Values | Data Type | Optional/Required | Description |
| interactionId | String | Required | The ID of the transferred interaction | |
| data | String | Required | The data that will come from another instance of your CRM integration from the agent that initiates the transfer |
Return Value
(None)