Skip to main content
Back to Inbuilt tools The deflect_to_chat tool moves a voice conversation to a chat channel. The caller continues with an automated dialog or with a human agent over chat.

When to use

Use deflect_to_chat when a task is better handled in chat than by voice, for example when the caller needs to receive a link, fill in a form, or type a long value. The tool speaks an optional message to the caller and starts the switch to chat.

Declare the tool

Parameters

Returns

The deflection branch that was taken: DEFLECT_AUTOMATION or DEFLECT_AGENT_TRANSFER.

Example