How to build an AI phone agent
To build an AI phone agent on Nixflex, create an agent, write its job and greeting, add your business facts, connect a phone number you own and make a test call. It takes about five minutes in the dashboard, with no code.
- Sign up for Nixflex.
- Create an agent called Front desk and choose its voice.
- Write its job: You are the front desk for Bright Auto. Help callers book a service, one question at a time.
- Approve 12 business facts in the knowledge base.
- Import the phone number and switch inbound on.
- Make a test call: the agent answers and offers a booking.
What do you need before you start?
Four things make the build quick. Most businesses already have them.
A number you own, one clear job for the agent, your checked business facts and a phone to test from. Nixflex handles the voice, the listening and the call itself.
- A phone number you ownAn active number in your own Twilio or Telnyx account, with its connection details. Try a spare test line first if you can.
- One clear jobAnswer questions and book visits, take messages after hours, or qualify new enquiries. Start with one.
- Your business factsOpening hours, services, prices, address and the questions callers ask most. Checked and up to date.
- A phone to test fromYour own mobile, so you can hear the agent the way a customer will before anyone else calls.
How do you build an AI phone agent, step by step?
Six steps in the Nixflex dashboard, in the order you do them.
Sign up for Nixflex
Create your login on the Nixflex sign-in page. If a teammate invited you, accept the invitation instead, so you join their account. The dashboard works on a computer or a phone, and new accounts get $10 of free credit, enough for about 125 minutes of phone calls.
Create the agent
Open Agents and choose New agent. Give it a name your team will recognise, such as “Front desk” or “After hours”, and choose Create agent. Then set the basics on the agent page:
- Language: the language callers will speak. An agent can also switch between several.
- Voice: play a few voices with your own greeting and pick the one that suits your business.
- Time zone: so “today” and “tomorrow” mean the right day for your callers.
Write its job and greeting
In System Prompt, describe your business, the agent’s job and when a person should take over, in plain words, the way you would brief a new receptionist. Import from website pulls the readable text from a page you choose so you can trim it into a starting point. Then write the Welcome Message, the first thing the agent says when the call connects.
You are the front desk assistant for Bright Auto, a car garage. Help callers book a service, answer questions about prices and opening hours, and take messages. Ask one question at a time and keep replies short. Use the approved knowledge for prices. If you do not know, say so and offer to take a message. If the caller asks for a person, transfer the call.
Teach it your facts
Put the details callers ask about into the Knowledge base instead of the prompt: services, prices, hours, parking, policies. Review each fact and approve it. Only approved facts go live for the agent, and until something is approved the knowledge base shows No live topics.
Use the knowledge Test to ask customer questions and check the answers. It makes no call, text or booking, so you can try as many questions as you like.
Connect your phone number
Open Phone Numbers and choose Import number. Pick your carrier, enter the number with its country code, add the connection details from your carrier account, and assign it to your agent. Wait for “Number imported successfully”, then check that inbound is switched on for the number.
Test it, then start answering
Call the number from your own phone. Ask a normal question with a known answer, give an unclear detail, and ask for something you do not offer. Read the transcript and summary in Call History. If you set up bookings, check the appointment really appears in your calendar.
Fix what the test found, save, and call again. When the answers are right and you have credit, send customers to the number. There is no separate go-live button: the agent answers as soon as the number is connected.
See the build in the dashboard
The real dashboard screens: create the agent, write its job, then connect your number.
Create the agent. Agents, then New agent. Give it a name; voice, prompt and settings come next.
What can you add once it answers?
Each of these is a separate switch. Add one at a time, and test each one with a real call.
What mistakes should you avoid?
Most agents that sound wrong have one of these four problems. Each one is quick to fix.
- !Putting every fact in the promptLong prompts are hard to keep up to date. Keep the job in the prompt and the facts in the knowledge base.
- !Skipping the “I don’t know” ruleTell the agent what to do when it does not know, or it may guess. Offer to take a message instead.
- !Testing only the happy pathReal callers mumble, change their minds and ask odd questions. Test those too.
- !Trusting a confirmation on its ownAn agent saying “booked” is not proof. Check the calendar, the text or the transfer actually happened.
Building it with the API instead
Developers can run the same build from their own app with the Nixflex API, then reuse it for every customer.
- Create the agent
POST /v1/agents. Every field is optional, and the response returns theagent_id- Import the number
POST /v1/phone-numberswith the number, theagent_idand your carrier connection details- Add knowledge
- Upload sources and approve topics through the knowledge endpoints, then run a knowledge test
- Read the result
GET /v1/calls/{id}returns the transcript, summary and outcome, or receive it by webhook
What to read next
Your agent is built. These help you make it better before customers call.
Frequently asked questions
With your number and carrier details ready, the setup itself takes about five minutes on Nixflex. Give yourself extra time to write good facts and to test a few calls before customers rely on it.
No. Everything in this guide happens in the Nixflex dashboard. Developers can do the same steps through the API instead, and the agent works the same either way.
A number you own in your own Twilio or Telnyx account. Nixflex does not resell numbers, so you keep the number and your carrier account.
Phone calls cost $0.08 per minute, with no subscription. Calls from a browser, and calls someone is listening to live, cost $0.09 per minute. New accounts get $10 of free credit, and the minimum top-up is $5.
Agents support 30 languages. Choose a voice that speaks the language your callers use, and test it with your own greeting.
Yes. Connect Google Calendar or Cal.com, and the agent checks free times and books during the call. Always confirm the booking appears in the calendar when you test.
There is no go-live button. Once your number is imported, assigned to the agent and inbound is on, the agent answers calls to that number. Test first, then share the number with customers.
It follows your prompt. A good prompt tells it to say it does not know and offer to take a message or transfer the call, instead of guessing.
Still have a question?
Contact usBuild your agent now.
Create a Nixflex agent and hear it answer your own call in minutes. $10 free credit, no subscription.