

# TransferContactToAgent
TransferContactToAgent

Ends the current flow and transfers the customer to an agent. If the agent is already with someone else, the contact is disconnected. Transfer contact to agent works only for voice interactions. 

## Parameter object


No parameters are expected.

## Results and conditions


None.

## Errors


None.

## Restrictions


This action is supported in only transfer to agent and transfer to queue flows. 

## Corresponding block in the UI


[Transfer to agent](https://docs.aws.amazon.com/connect/latest/adminguide/transfer-to-agent-block.html) 