Built-in call actions
Hanging up, transferring, texting, opting out, recording consent and filing a category.
Updated
On this page
Separately from any tool you add, every agent has a set of built-in actions. They are not features you switch on. They are what being on a phone call means. An agent that can't hang up talks until the caller gives up, and an agent that can't transfer traps somebody who asked for a person.
None of them can be removed. What you configure is where they go, not whether they exist.
The list
| Action | Configurable | What it does |
|---|---|---|
end_call | No | Hangs up once the conversation is finished. Always available. |
do_not_call | No | Records a do-not-call the moment somebody asks for one, during the call rather than after it. Always available and cannot be switched off. |
record_marketing_consent | No | Writes down that somebody agreed to be contacted, on which channel, and what they said. Always available; writes nothing unless somebody says yes. |
transfer_call | Yes | Hands the caller to a person or another agent. Needs a destination. |
send_text | Yes | Texts an address, a price or a link to the number that rang. Needs the agent to have an active phone number. |
record_contact_tag | Yes | Files which of a fixed set of categories the caller belongs to. Needs the agent's tag allowlist to be non-empty. |
The agent payload carries an actions array with exactly this
information per action: name, label,
description, configurable, ready, and a
detail line explaining why it is or is not ready.
Listed is not the same as offered
An action that can't be carried out is still listed, still not removable, and deliberately not declared to the model. A model told about a capability will use it. So an agent with nowhere to transfer must not be told transfer exists.
A live session therefore always gets end_call,
do_not_call and record_marketing_consent. It gets
transfer_call if a destination is set, send_text if the
agent has an active number, and record_contact_tag if the allowlist
is non-empty.
Opting out, mid-call
do_not_call is the one action it must never be possible to be
without. The model is told to use it the moment somebody says so in any words at
all. "Take me off your list." "Stop calling." Plain anger at having been rung.
No arguing, nothing offered first, no asking them to confirm.
It sets do_not_call on the contact, a database column that every
outbound audience is filtered against. See
Consent and do-not-contact.
Recording consent
record_marketing_consent takes granted (required),
channel (call, message or
email) and quote, which is what they actually said, as
close to word for word as the model can manage.
The model is instructed to call it with granted: true only for a
clear yes, with granted: false for a no, and not at all if they
never gave a clear answer either way. A friendly caller who did not agree to
anything is not consent.
Filing a category
record_contact_tag is the only built-in whose schema is built per
agent, because the useful part of it is the enumeration. The agent's tag
allowlist becomes the tool's enum, so the model returns one of the
permitted values rather than whatever the caller said, spelled however they said
it. The value is validated again on the way in.