VICIfast

Telnyx agents

Build an AI voice agent in your own Telnyx account from a template, tell it where to hand callers off on your dialer, and point a number at it.

AI & automation · 4 min read

Telnyx agents

Telnyx agents are AI voice agents that live in your own Telnyx account. One answers a number, talks to the caller, and hands them to a queue on your dialer when they are ready. Telnyx runs the conversation and bills it to your Telnyx account; VICIfast gives you the place to build the agent and joins it to your dialer.

These are not the AI Agents under Trunks & DIDs, which run on VICIfast Voice. Not sure which you need? See Which AI agents do I need?

What you need

  • A Telnyx account connected on Smart Carrier, with write access on. See Connect your Telnyx account.
  • A number on that Telnyx account for the agent to answer.
  • A running server with a queue (in-group) for the agent to hand callers to.

Until a Telnyx account is connected, the Telnyx agents page only says Connect a Telnyx account first. Connect it on Overview first.

Before you connect a Telnyx account, Telnyx agents only asks you to connect one
Before you connect a Telnyx account, Telnyx agents only asks you to connect one

Step 1: Create an agent from a template

  1. In the sidebar, under Smart Carrier, click Telnyx agents.
  2. Click New agent. Under Start from a template, pick one: Front desk, Lead qualification, Support triage or After hours. Each comes with instructions written for that job. Pick Blank agent only if none is close.
  3. The agent's editor opens on the Identity tab.

Step 2: Set its identity and instructions

  1. On Identity, check the Name, choose a Model (each shows its Telnyx price), and write the Greeting: the first thing callers hear.
  2. Under Voice, pick a voice and click Hear it to hear it say your greeting.
  3. Edit the Instructions. Write them like a briefing for a new hire: what the agent is for, what to ask, what never to say. Rewrite with AI tidies them up for you; read the result before saving. It runs on a model Telnyx hosts and is billed to your Telnyx account.
  4. Click Save.

Step 3: Set where it hands off

  1. Click the Handoff tab. Under Hand off to a live agent, pick your server under Dialer.
  2. Pick the in-group and say when to use it, for example "the caller wants to buy or asks about pricing". Click Another situation to add more.
  3. Under Caller ID for the transfer, choose The caller's own number so VICIdial can match the lead, or My first number.
  4. Click Save.
An agent with no handoff can only ever end calls. Its card warns "No handoff set - it can never fetch a person". That is fine for an after-hours message line, and wrong for almost anything else.

Step 4: Give it something to know (optional)

  1. Click the Knowledge tab. Under What it knows, pick a knowledge base, or click New and name one (for example "Pricing").
  2. Paste a web page address and click Add page, or click Or type something in to add a note. Indexing takes about a minute.
  3. Type a question a caller would ask and click Try it to check the answer. Then click Save.

Knowledge bases are shared: you can attach the same one to many agents, and manage them all from the Knowledge tab on the agents list.

Step 5: Point a number at it

  1. Go to Phone Numbers, click the three-dot button on the number's row, and under Send calls to… click the agent's name.
  2. Back on Telnyx agents, the card shows the number. Until it takes its first call, the card lists what is still missing: Give it instructions, Point a number at it, Set where it hands off, and Add what it should know (optional).
Call the number to test it. The agent answers with your greeting; ask for a person to check the handoff reaches your queue.

Fine-tune, undo and delete

  • The Capabilities tab has the finer settings: Look the caller up in VICIdial (it finds their lead and can use their name), Background noise, Interruptions, Call limits, and Keep transcripts. Turning transcripts off also leaves Call Analytics with nothing to show.
  • Versions keeps every save. Click Show version history, then Restore next to an earlier version if a change made calls worse.
  • The red bin icon next to Save deletes the agent at Telnyx straight away. There is no confirmation step.

If something goes wrong

Frequently asked

› New agent is greyed out.
The Telnyx account is read-only. Turn on write access on Smart Carrier Overview ("Turn on write access for this account first").
› The page says "Connect a Telnyx account first."
Telnyx agents need a connected Telnyx account. Twilio accounts cannot use them ("AI agents are a Telnyx feature").
› "Telnyx has not finished setting this agent up yet. Try again shortly."
This appears when you point a number at a brand-new agent. Wait a moment and try again from Phone Numbers.
› The caller was not put through to my team.
Open Call Analytics and click the call. A red box "The handoff did not happen" gives the reason. Check the Handoff tab has a server, an in-group and a caller ID.
› Call Analytics shows no transcript.
Check Keep transcripts on the Capabilities tab. When it is off, Telnyx keeps no conversations to show.