CKit icon

CKit

Interact with Chatbot Kit API

Actions17

Flow → Transfer

AI-generated

Summary

Transfers conversation to a human agent or specified department/user.

Inputs

  • transferType — Target of the transfer operation for Flow resource Transfer operation: To Any Available Agent, To Department, or To User. Defaults to To Any Available Agent if omitted or empty. Displayed when resource is Flow and operation is Transfer, or when department filter matches transferType condition applies only when department is specified with toDepartment transfer type. Type is options with values toAnyAvailableAgent (default), toDepartment, toUser. Option descriptions sourced from node description.properties Transfer properties array and operation.transfer.js source execute function runtime mapping descriptions.
  • department — Name of the department to transfer the conversation to. Optional string parameter defaulting to empty string. Displayed exclusively when transferType is set to toDepartment. If department parameter is empty or whitespace-only it is treated as empty string per operation.transfer.js source execute function logic. No effect when transferType is toAnyAvailableAgent or toUser.

Output shape

Returns the original input data unchanged after initiating the transfer.

Source file dist/nodes/CKit/operations/operation.transfer.js line 78-80 confirms: return [this.getInputData()];. The execute function merely passes through the incoming workflow data after invoking the transfer backend call via ckit_util.js cTransfer function which sends { transferHuman: {} } to the backend.

Examples

Example 1: Transfer conversation to any available agent (default behavior)

transferType = toAnyAvailableAgent (no department parameter needed)

Example 2: Transfer conversation to a specific department

transferType = toDepartment, department = 'Support'

Links

Discussion