Transfers & call actions
Let the agent hand the caller to a human, book a callback, wait, take keypad input, or hang up.
Beyond talking, an agent can do five things to a call: transfer it, hand it to another agent, book a callback, wait, or end it. Each one is a setting you turn on, and the agent decides when to use it from the conversation.
In the dashboard these are on the agent's Tools tab. Over the API they
live in behavior.system_tools. Updating behavior replaces that object,
so resend the other blocks you want to keep; see
Editing the draft.
For example:
{
"behavior": {
"system_tools": {
"transfer_cold": [
{
"label": "claims desk",
"destination": "+15551230100",
"method": "refer"
}
],
"end_call": {
"enabled": true,
"type": "soft",
"farewell": "Thanks for calling."
}
}
}
}Over the API: PATCH /v1/agents/{id}/draft.
Each transfer kind takes a list, so one agent can offer several destinations.
The label is what the agent sees, so name it the way you'd describe the
destination to a colleague: "claims desk", "card services".
Transfer to a human
Cold transfer (transfer_cold) sends the caller straight to the
destination and the agent leaves. Fast, and the recipient gets no context.
Warm transfer (transfer_warm) calls the destination first, briefs
whoever answers, and then bridges the caller in. The caller waits a few
seconds and arrives to someone who already knows why.
| Setting | What it does |
|---|---|
destination | A phone number or SIP URI. Variables allowed |
destination_mode | static for a fixed destination, or dynamic to let the agent supply the number at call time |
trunk_id | Which trunk to dial out on |
method | refer hands the call to your carrier; bridge keeps both legs with us. Warm transfers are always bridged |
Dynamic destinations need a trunk whose outbound rules bound what can be dialed — that's what stops a confused agent dialing a premium-rate number.
Not every carrier supports every combination. Check what yours does:
GET /v1/calls/transfer-capabilities.
A browser call has no phone line, so a transfer on one is refused.
Briefing the person who answers
On a warm transfer, briefing_prompt is what the agent says and asks on that
first call. The caller never hears it.
{
"transfer_warm": [
{
"label": "card services",
"destination": "+15551230199",
"briefing_prompt": "Start with the customer's tier ({{vars.tier}}) and why they are calling: {{transfer.summary}}\nAsk for their employee ID before you connect the caller."
}
]
}Alongside the usual variables, the briefing can use:
| Variable | Value |
|---|---|
{{transfer.summary}} | The agent's summary of why it's transferring |
{{transfer.label}} | The destination's label |
{{call.transcript}} | The conversation so far |
{{call.last_caller_message}} | The caller's most recent message |
{{call.duration}} | How long the caller has been on the call |
Your instructions add to the briefing, they don't replace it — the agent still keeps it short while the caller holds, and still ends the briefing by connecting, declining, or reporting voicemail.
Two more settings worth knowing: briefing_language gives the briefing its
own language and dialect ("Arabic (Jordanian dialect)"), and
include_transcript: false briefs with the summary only, so the caller's own
words never reach the recipient. Digits the caller keyed in privately stay
masked either way. A briefing cannot reference secrets or params, and cold and agent
transfers do not accept one.
When a transfer doesn't connect
A failed transfer reports why — busy, no answer, voicemail — so your after-call handling can branch on it. A call that's already bridged is never dropped by a transfer failure.
Hand off to another agent
transfer_agent passes the live conversation to another of your agents. Same
call, same transcript, no second greeting.
{
"transfer_agent": {
"target_mode": "choice",
"allowed_targets": [
"billing",
"scheduling"
]
}
}static with a target always hands to the same agent; choice lets the
agent pick from allowed_targets.
Inside a flow, the graph's edges take over from this setting for the duration of the call — see Handoffs.
To follow or cancel a transfer already in progress, use Transfer records.
Resolve a date
Enable Resolve date when the agent needs to calculate calendar dates or weekdays. It supports a fixed, team, caller-context or assistant-filled timezone, and English or Arabic spoken dates. It performs no booking.
Book a callback
schedule_call lets the agent offer "we'll call you back tomorrow morning"
and mean it: it creates a real outbound call instead of
dialing now. The time resolves in the caller's timezone and lands inside your
contact-hours policy, so the agreed time follows the hours you configured.
| Setting | Default | What it does |
|---|---|---|
agent_mode | self | Who calls back: this agent, a fixed one, or the agent's choice from a list |
destination_mode | caller | Who to call: the current caller, a fixed number, or one the agent supplies |
when_mode | agent | Let the agent agree a time with the caller, or fix it yourself |
timezone_mode | organization | Whose clock the time is in |
carry_context | true | Pass what this call collected, plus a summary, into the callback |
When Resolve date is enabled, use its exact date and timezone with the time
agreed with the caller. Confirm the actual time returned by schedule_call:
contact-hours policy can move the booking.
A dynamic callback destination also needs a trunk_id with an outbound
allowlist. For a fixed agent or destination, provide the matching target
field in the draft configuration.
Wait
For "give me a few seconds, I'm logging in". The agent tells the caller to take their time and stops talking — no inactivity prompts, no silence timeout, until the wait ends. The caller can speak at any point and the agent picks straight back up.
{
"wait": [
{
"label": "login",
"duration_mode": "agent"
},
{
"label": "find card",
"duration_mode": "fixed",
"seconds": 45,
"on_timeout": "say",
"message": "No rush, just let me know once you have it."
}
]
}duration_mode: agent lets the agent pick a sensible wait from what the
caller asked for; fixed always waits seconds. When a wait runs out and
the caller is still quiet, on_timeout either says nothing, speaks your
message, or hands your message to the agent as an instruction to phrase
itself.
Waits aren't offered on text chats.
End the call
Give the agent a way to hang up:
{
"end_call": {
"enabled": true,
"type": "soft",
"farewell": "Thanks for calling."
}
}soft lets the caller speaking up cancel the goodbye and the hangup; hard
always finishes. The farewell is spoken verbatim.
Keypad input
Turn on behavior.dtmf.collect_enabled and the caller can press digits at
any point in the call — no menu to open, no tool call. The agent receives
them as a caller turn.
| Setting | Default | What it does |
|---|---|---|
dtmf.collect_enabled | false | Accept keypad input for the whole call |
dtmf.collection.terminator | "#" | A key that submits the digits immediately |
dtmf.collection.inter_digit_timeout_ms | 2000 | Silence after the last keypress before submitting |
dtmf.collection.interrupt_on_digit | false | true lets a keypress cut the agent off, like a classic phone menu |
dtmf.send_enabled | false | Let the agent key digits itself, for driving another system's IVR |
If the caller speaks while digits are pending, nothing is lost — the digits go with that spoken turn. Keyed digits appear in transcripts and are masked the same way spoken numbers are.
Attaching tools and policies
The same object is where you attach everything else the agent uses:
| Field | What it points at |
|---|---|
tools.tool_ids | HTTP tools the agent may call |
tools.pre_call | Tools that run before the agent speaks, so the first line already knows who's calling |
tools.mcp_server_ids | MCP servers |
guardrails.guardrail_set_ids | Guardrail sets |
pronunciation.table_ids | Pronunciation tables, in precedence order |
A pre-call tool can proceed when it fails (variables render empty) or
abort the call before anyone hears anything. Its results are available as
{{tools.*}} variables in the prompt and greeting.
See also
Instructions & variables · SIP trunks · Guardrails · Handoffs