Getting started

How to create an AI voice agent in AvaritCall

Create the agent, set its instructions and voice, test it in your browser and take it live.

  • 15 min read
  • 9 steps
  • Last updated:
On this page

This guide shows you how to create an AI agent that handles phone calls in AvaritCall, set its instructions and voice, test it in your browser and take it live. You can create an agent in a few minutes and try it right away. To connect a number, see the Connect a phone number guide.

Example flow: template, instructions and voice. The dashboard screen has more fields.

Before you start

  • Your account needs permission to edit agents. If you do not see the "New agent" button, ask the account owner for this permission.
  • Test calls are billed like regular calls, so your account needs a balance to try the agent.
  • Decide what the agent will do before you start: which calls it answers, what information it gives and when it transfers the call to your team.

Setup overview

  1. Create a blank agent or start from a template.
  2. Write the instructions.
  3. Enter the greeting and closing lines.
  4. Set the identity details and conversation language.
  5. Choose the voice.
  6. Click "Save".
  7. Test the agent in your browser.
  8. Add a knowledge base, tools and call settings if you need them.
  9. Connect a number or use the agent in a campaign.

1. Create the agent

Path in the dashboard: Agents › New agent

In the top menu, open the "Agents" page and click the "New agent" button at the top right. If you have no agents yet, you can also use the "Create agent" button in the middle of the page. The window that opens offers two options:

  • "Blank agent": you write the instructions from scratch.
  • Template cards: ready-made instructions, greeting and closing lines for industries such as healthcare, hospitality, e-commerce, sales, services, insurance and finance. You need to adapt the template to your business.

The agent is created as soon as you click a card; you are not asked for a name, language or voice. The agent's edit screen opens with the test panel showing. A blank agent is named "New agent", and a template agent takes the template's name; you can rename it later in the "Identity" section. The greeting and closing lines come with placeholder text; replace them with your own lines in step 3. If you started from a template, read the instructions from start to finish and change anything that does not fit your business. If the instructions are never changed, a warning appears in the "Needs attention" list.

Note: If your account has more than one company, the window shows a "Company" choice. Select the company the agent belongs to and click the card again.

To browse templates first, open "More" › "Templates" in the top menu and click "Start with this template" on the one you like. The same "New agent" window opens with that template highlighted; click the card to create the agent.

If you already have your agent definition as JSON, paste it into the "Agent JSON" tab on the "Templates" page and click "Create agent". This route requires an agent name, a persona name, instructions (at least 50 characters) and a greeting.

How the edit screen works

The "Sections" list on the left of the edit screen groups the settings into four groups: Basics (Instructions, Identity, Voice), Capabilities (Tools, Knowledge base, Post-call data), Conversation (Conversation and calls; Calendar, tasks and memory) and Connection (Phone number, Notifications).

Some settings are saved when you click "Save"; others are saved as soon as you enter them:

How it is savedWhich settings
With "Save"Instructions, greeting and closing, identity, voice, call settings (except ring duration), how the knowledge base is used, active/inactive status
InstantlyTools, knowledge base sources, template variables, pronunciation dictionary, ring duration, notifications
With its own "Save" buttonOperator connection details in the phone number section
Important: When you click "Save", the change applies to the live agent right away; there is no separate draft or publish step. If the agent has a number attached, incoming calls use the change immediately too.

The status strip at the top of the screen shows whether the agent is ready. If the instructions are empty or no voice is selected, it reads "The agent is not ready yet". When both are in place, it reads "Your agent is ready — test it now". If another setting needs fixing (for example the number shown on outbound calls), it reads "The agent is ready, 1 setting needs your attention", with the actual count. Suggestions such as short instructions or an unchanged template count as optional; you see all of them in the "Needs attention" list. This strip does not check whether the phone connection works.

2. Write the instructions

The "Instructions" section sets the agent's job, the flow of the conversation and its rules. It has two tabs: "Inbound calls" and "Outbound calls". If you do not write separate instructions for outbound calls, the inbound instructions are used for outbound calls too.

Good instructions usually cover:

  • Who the agent is and which business it speaks for.
  • The goal of the call and its step-by-step flow: what to ask, what information to collect and how to end the call.
  • What to tell callers: services, prices, opening hours, address and frequently asked questions.
  • Rules: which topics to stay away from, what to do when unsure and when to transfer the call to your team.

You can write up to 50,000 characters of instructions. If your information fits within that limit (company details, products, prices, frequently asked questions), put it directly in the instructions rather than in the knowledge base. If the instructions are shorter than 400 characters, a warning appears in the "Needs attention" list; instructions that short are not enough for most businesses.

Template variables

You can use variables for values that change often or appear in several places in the instructions. Write the variable in the instructions as {{key}}, then enter the "Key" and "Value" in the "Template variables" table and click "Add". For example, if you write {{business_hours}} and enter its value in the table, you only need to update the value in the table when your hours change. Variables are saved instantly.

3. Enter the greeting and closing lines

The "Greeting and closing" fields below the instructions are the lines the agent says when it opens and ends the call. Each can be up to 512 characters.

FieldWhen it is said
Inbound greetingWhen the caller is connected
Outbound greetingWhen the person being called picks up
Closing lineWhen the agent ends the call and when the call time limit is reached

If you will make outbound calls, do not leave the outbound greeting empty. While it is empty, the "Needs attention" list shows "The outbound greeting is empty."; if the agent only answers inbound calls, you can ignore this warning. Use the same name in the greeting as the persona name in the "Identity" section.

4. Set the identity details

FieldWhat it does
Agent nameHelps you tell agents apart in the panel; callers do not hear this name.
Persona nameThe name the agent introduces itself with on the call.
Conversation languageThe main language the agent speaks.
Additional languagesOther languages the agent can speak; with "Automatic language detection" on, it switches to the caller's language.
Response style"Brief" is recommended for phone calls; "Comprehensive" is for calls that explain prices and details.
Instruction languageThe language of the guidance the system adds to your instructions; your own instructions are not translated.
Short descriptionShown only in the panel.
ActiveSets whether the agent takes calls.

Changes in this section take effect when you click "Save".

5. Choose the voice

  1. In the "Voice" section, click "Choose voice" ("Change voice" if a voice is already selected).
  2. In the window that opens, filter by language and gender, and listen to the voices to compare them.
  3. Click "Use this voice" on the voice you like.
  4. Click "Save" on the agent page. The choice only takes effect after this step.

The "Speaking rate" setting ranges from 0.85 to 1.30; 1.00 is the voice's natural pace. In the "Pronunciation dictionary", you can add words that should not be read as written, together with how to say them, such as a brand name or an abbreviation. Pronunciation entries are saved instantly.

6. Save

The "Save" button at the top of the screen becomes active when there are unsaved changes, and a count such as "2 unsaved changes" appears next to it. When saving succeeds, a "Changes saved" message appears. If you try to leave the page without saving, the panel warns you.

Note: If the agent was updated from somewhere else after you opened the page, your save is rejected and you are asked to reload the page. Your changes stay on screen; apply them again after reloading.

7. Test in your browser

On wide screens, the test panel sits to the right of the edit screen; on narrow screens, open it with the "Test" button. You can talk to the agent with your computer's microphone without connecting a number.

  1. Choose "Talk in browser" as the "Test method".
  2. Under "Test direction", choose "Inbound call" or "Outbound call"; the agent uses the matching instructions and greeting.
  3. Click "Start talking" and allow your browser's microphone request.
  4. Talk to the agent; the transcript appears live in the panel. Click "End call" to finish.

Tests always use the saved settings. If there are unsaved changes, the button reads "Save and test" and saves first. When the call ends, "Edit the agent", "Attach a number" and "Create a campaign" buttons appear under "Next steps".

If the agent has a number attached, you can also use the "Call my phone" method to have the agent call you. Enter your phone number, tick the declaration box and click "Call me"; the call does not start until the box is ticked. The call time is charged to your balance.

  • In browser tests, you can have at most 3 test calls open at once.
  • Team users can test in the browser for up to 10 minutes a day. Neither limit applies to "Call my phone".

8. Knowledge base, tools and call settings

Knowledge base

Add information that is too large for the instructions, such as product catalogs, long price lists or manuals, to the "Knowledge base" section. Use "Upload file" for PDF, DOCX, TXT, MD and CSV files, and "Add web address" for a web page or a YouTube link. A source shows "Processing" while it is being processed and "Ready" when it is done.

The "How should the knowledge base be used?" option sets how the agent uses your sources. A blank agent starts with "Knowledge base first"; an agent created from a template takes the template's choice. Unless the option is "Don't use", the agent uses the sources that are "Ready". If you change the option, click "Save".

OptionWhat the agent does
Don't useUses only the instructions.
Knowledge base onlyDoes not answer questions the sources do not cover.
Knowledge base firstChecks the sources first; if it finds nothing, answers from general knowledge.
Hand off when unsureTransfers the call to your team when it is not sure.
Note: The knowledge base can slow answers down a little. If your instructions are not very long, putting the information directly in the instructions gives faster results.

Tools

The "Tools" section defines the actions the agent can take during a call. Click "Add tool", pick a type, enter the tool's name and a description of when to use it, then click "Create". Tools are saved instantly.

ToolWhat it does
Bridge TransferTransfers the call to a number you set.
Check Calendar / Book CalendarFinds open times and books appointments; needs a connected calendar.
Press Digit (IVR)Presses keys in the other side's phone menu.
Extract VariablePulls a specific piece of information from the call (for example an order number).
WhatsApp SendSends a WhatsApp message during the call. The AvaritCall team sets up the WhatsApp account connection; contact support to get it set up.
Email SendSends an email to the addresses you set.
Custom Webhook (HTTP)Sends a request to your own system.

Tool names cannot contain spaces or accented letters; use letters, digits, underscores and hyphens (for example order_status). The description is the text the agent reads when it decides when to use the tool, so keep it clear and short. For CRM, Google Sheets or n8n connections, see the Integrations page.

Call settings

SettingDescriptionDefault
Longest call1 to 120 minutes. When the time is up, the closing line is said.10 minutes
Silence reminder5 to 120 seconds. If the caller stays silent, the agent reminds them first; if the silence continues, the call ends.20 seconds
Ring durationHow many seconds the phone rings on outbound calls (10 to 60 seconds). The longer it rings, the more likely the call goes to voicemail.15 seconds
InterruptionsThe caller can talk over the agent and stop it.On

In the "Post-call data" section, you can define fields to add to the report after each call (for example request type or appointment date). In the "Notifications" section, you can turn on sending the call report by email or as an in-app notification; email needs an address.

9. Take the agent live

  • Check that the agent is active: the top of the screen should read "Active · taking calls". An inactive agent does not take incoming calls or make outbound calls.
  • For incoming calls, click "Attach number" in the "Phone number" section of the agent's page. For the steps, see the Connect a phone number guide.
  • For outbound calls, use the agent in a campaign; the "Create a campaign" button in the test panel takes you to campaigns.

To pause the agent for a while, choose "Deactivate agent" from the "More actions" menu at the top of the screen and click "Save".

Common issues

SymptomLikely causeFix
The "New agent" button is missingYour account does not have permission to create agents.Ask the account owner for permission.
The status strip reads "The agent is not ready yet"The instructions or the voice are missing.Write the instructions, choose a voice and click "Save".
The voice I chose is not used in the testThe voice was chosen but not saved.Click "Save"; tests use the saved settings.
"Your balance is too low for a test call."The account does not have enough balance.Add funds with "Top up".
The browser test does not start, or there is a microphone errorThe browser blocked the microphone, or another app is using it.Allow the microphone in your browser settings and close the other app.
"Call my phone" cannot be selectedNo number is attached to the agent.Attach a number to the agent first, or use "Talk in browser".
"This agent is inactive. Activate it first."The agent is inactive.Choose "More actions" › "Activate agent" and click "Save".
The agent does not use the knowledge baseThe option is still "Don't use", or the source has not been processed.Change the option and click "Save"; check that the source is "Ready".
The tool cannot be createdThe tool name contains a space or an accented letter.Use letters, digits and underscores in the name (for example book_appointment).

Help

If you need help writing your agent's instructions, send us the agent's name and what you want it to do through the contact page.