Skip to content

Transfer Contact

connect_transfer_contact R Documentation

Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created

Description

Transfers contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers.

Note the following requirements:

  • Transfer is supported for only TASK contacts.

  • Do not use both QueueId and UserId in the same call.

  • The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow.

  • The transfer_contact API can be called only on active contacts.

  • A contact cannot be transferred more than 11 times.

Usage

connect_transfer_contact(InstanceId, ContactId, QueueId, UserId,
  ContactFlowId, ClientToken)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

ContactId

[required] The identifier of the contact in this instance of Amazon Connect.

QueueId

The identifier for the queue.

UserId

The identifier for the user. This can be the ID or the ARN of the user.

ContactFlowId

[required] The identifier of the flow.

ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

Value

A list with the following syntax:

list(
  ContactId = "string",
  ContactArn = "string"
)

Request syntax

svc$transfer_contact(
  InstanceId = "string",
  ContactId = "string",
  QueueId = "string",
  UserId = "string",
  ContactFlowId = "string",
  ClientToken = "string"
)