agent_overrides.ask_a_human.
What it does
Two examples. A personal agent. You tell your agent: “Call Xfinity and dispute the late fee. If they need anything from me, ask me.” The Xfinity rep asks for your date of birth. The agent says “One moment, let me check with Harvey” and puts the rep on hold. Harvey’s phone rings: “Brilo here, I’m on the phone with +1 800 934 6489. They’re asking: what is your date of birth?” He answers. The agent comes back: “Thanks for holding, the date of birth is March 3rd 1990.” A business. A clinic’s agent calls an insurer through the API to verify coverage. The insurer asks for the group number. The agent rings the clinic’s front desk, the number passed asphone_number on the
call, and comes back with the answer. If the front desk says “put me on the call”, they are merged into
the call as a normal transfer.
While the other side waits, the agent plays hold music and says “Still checking, thanks for waiting”
every 30 seconds.
Turn it on for a call
Addask_a_human inside agent_overrides on POST /v1/call:
Ask a Human works for personal and business agents:
- On the Agent Phone Plan, the agent always rings the account owner’s verified phone. Do not send
phone_numberorhuman_label. If the owner has no verified phone on their Brilo account, the call is refused withowner_phone_missing. - On a business plan, send the
phone_numberto ring. It must be a number Brilo can call, in a supported country.
What the person hears
Every ask starts by saying who is asking: “Brilo here, I’m on the phone with +1 800 934 6489. They’re asking: …” The person always knows which call this is about. If the question is for a code, PIN or password, the agent adds: “Only share this if you started this call and trust them.” Someone who did not start the call should not read a one time code to a stranger, and this line gives them the moment to stop. The agent reads the answer back once (“So that’s March 3rd 1990?”) before it returns to the other side.What can go wrong
Every refusal carries acode, a message and an action, so a caller can tell what happened and what
to do next. All are 400 unless noted.
A body that is the wrong shape, such as a missing
when or an unknown key, returns a plain 400 that names
the field.
What you get back
GET /v1/call/{id} includes an ask_a_human list with one entry for each ask the agent made:
outcome is one of:
The list never contains the answer. Outcomes can take a few seconds to appear after the call ends.
FAQ
Does Ask a Human work for personal agents and business agents?
Does Ask a Human work for personal agents and business agents?
Yes, both. On the Agent Phone Plan the agent rings the account owner’s verified phone. On a business
plan you pass the
phone_number to ring, for example the front desk. The fields differ, but the call
works the same way.Why was my call refused with ask_a_human_number_locked?
Why was my call refused with ask_a_human_number_locked?
You sent
phone_number or human_label on the Agent Phone Plan. On that plan the agent always calls the
account owner’s verified phone, so those fields are not accepted. Remove them and send the call again.Can the agent ask me through chat instead of a phone call?
Can the agent ask me through chat instead of a phone call?
Not yet.
chat and chat_then_phone are reserved, and sending them returns
ask_a_human_channel_unavailable. Only the phone channel works today.Can the person take over the call?
Can the person take over the call?
Yes, unless you set
can_join to false. The person says “put me on the call” and is merged into the
call as a normal warm transfer. With can_join off, the agent has no way to connect them.Is the answer stored anywhere?
Is the answer stored anywhere?
The answer is in the call transcript, like anything else said on the call. It is never in the
ask_a_human list on the call result or in the call’s events. Recording is off on the Agent Phone Plan,
so there is no audio of it there.How many times can the agent ask in one call?
How many times can the agent ask in one call?
As many times as it needs, one at a time. There is no cap on the number of asks, so write a clear
when
to keep the agent from phoning the person for things it could handle itself.