AI agent
Overview
An AI agent is a key that talks with your callers for you. It greets them, understands what they want, answers, and when you give it connectors it can look things up and act in your own apps: free appointment slots, an order's status, a pledge to record.
It is different from the hotline's own assistant on the PIN menu, which helps you build the hotline. An AI agent faces your callers and knows nothing about your menus.
Everywhere a destination is picked, and on My Hotline, it is called AI agent.
How It Works
- The caller reaches the agent and hears its greeting.
- In live mode the caller simply talks; they hear the agent's own voice and can interrupt it. In speak, then press pound mode the caller speaks after a tone and presses pound, and the answer is read aloud.
- When the agent needs something from a connected app, our server makes the request and the agent reads the answer back. It says "one moment" first.
- Callers can answer by voice or by key: "press one for Monday, two for Tuesday". Numbers such as an ID are keyed in and ended with pound. Before anything that books or charges, the agent asks for a key press to confirm.
- The agent stores what later steps need (the chosen slot, the caller's name) as call variables.
- The conversation ends on one of the agent's routes. Star ends it at once.
Settings
- Instructions: plain words, like briefing a new receptionist. Who the agent is, what it may do, what it must never do, how to confirm. Example: "You are the receptionist of Dr. Levi's office. Callers want to book, move or cancel an appointment. Check free slots with the calendar before offering times. Offer at most three times. Before booking, ask the caller to press one to confirm."
- Greeting: its first sentence.
- What it may do: the connector actions it may call. Without any it can only talk.
- What it knows about the caller: tick each detail of the caller's contact the agent is given: phone number, name, email, the lists they are on, address, notes, and each of your own contact fields (Settings → Contacts). The agent uses a ticked detail instead of asking for it (a weather agent with Address ticked gives the forecast for where the caller lives), and it may say it to the caller, so leave private details unticked. A new agent starts with number, name, email and lists. Nothing ticked = it knows nothing about who is calling. Stored on the agent as
caller_fields(number,name,email,labels,address,notes,custom:<field key>). - How it talks: Live when available uses live speech when the server supports it and falls back to speak-then-pound otherwise. Live only follows the "cannot start" route when live speech is unavailable. Speak, then press pound always uses turns.
- Live voice, caller language hint and longest conversation under more options.
Routes
- When the conversation is over: the caller said goodbye, or pressed star.
- When the agent sends the caller to pay: put a Payment key here. The agent stores what the booking needs before it hands over.
- If the caller needs a person: a forward or a message box.
- If the agent cannot start: a message box or a menu, for when the AI service is unavailable.
With no route the call ends, like every other key.
Your own outcomes
The three endings above suit most agents. When the rest of the call depends on what happened in the conversation, add outcomes of your own under Your own outcomes. Each one has:
- Name: a few words for yourself, such as "Wants a callback" or "Not a customer yet".
- When should the agent use it?: one sentence the agent reads, such as "The caller asked for someone to call them back and gave a number."
- Then go to: any extension, picked like every other route.
The agent ends the conversation with the outcome that fits, and the call goes where you chose. When none fits it uses the built-in endings. An outcome without a destination ends the call. Removing an outcome removes its route with it.
Outcomes are not tied to one kind of flow. A few examples:
| Agent | Outcomes |
|---|---|
| Appointments | "Slot chosen" → Payment, "Wants to cancel" → Fetch from app, "No free slot" → message box |
| Orders | "Order found" → Play recording, "Order not found" → forward to the office |
| Donations | "Wants to give" → Payment, "Has a question" → message box |
Each outcome also shows as a port on the Call flow diagram and can be re-pointed on a timetable like any other route.
What it costs
A live conversation uses the live speech model and is billed per minute of talk; speak-then-pound turns use the same model as the hotline assistant and cost a few cents per exchange. Each connector request is free on our side; your app may charge for its own API.
Where to see conversations
Every conversation is kept with its transcript and the requests it made. Connector requests are listed on the connector's Requests tab with what was sent and what came back.