Configure Bot Escalation Routing
sf_create_bot_routingConfigure an Einstein Bot to escalate conversations to a human agent queue when conditions are met. Updates the BotVersion with a transfer dialog.
Instructions
Configures an Einstein Bot to transfer conversations to a human agent queue when escalation conditions are met. Updates the BotVersion with a Transfer dialog.
botName: the Bot API name (DeveloperName) transferToQueueName: the Queue API name to transfer escalated conversations to transferMessage: message shown to the customer during transfer (default: "Connecting you to an agent...") escalationConditions: array of { trigger, action } pairs. Triggers: agentRequested, noResponse, fallback. Actions: TransferToQueue.
This tool finds the latest BotVersion for the specified bot and adds the transfer dialog. The bot must already exist (created via Setup or sf_create_agent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botName | Yes | Einstein Bot API name (DeveloperName of the BotVersion parent) | |
| transferMessage | No | Message shown to customer when transferring to agent | |
| transferToQueueName | Yes | Queue DeveloperName to transfer conversation to | |
| escalationConditions | No | Conditions that trigger transfer to human agent |