Want to jump right in? Try out Phonely for completely free here.
Building an AI Agent in Phonely
Step 1: Learn the concepts
Phonely combines a few different technologies together to create AI that accurately answers your phone. We have a few key components that make this happen.- Phonely transcribes your customers calls
- We respond using a Large Language Models (LLM)
- We generate a humanlike voice
- We analyze and display your calls
Step 2: Plan your agent
For businesses who answer over 2000 calls per month, we do white glove onboarding and agent build out! Talk to sales here Just like a person, your agent needs to be trained. You can do this by configuring the agent design page in Phonely’s dashboard to include all of the information about your business, software, etc. to build your agent. This knowledge base contains all of the information on how to do this, but first we still need a blueprint. Fortunately, with Phonely’s templates, we have taken a lot of the legwork out, and have probably built an AI agent for your use case that should need just a few minutes of tweaking! Check out the templates here Even if you’re using a template, the following is a helpful exercise to go through to help you build your agent: Define your 80% use case To do this, think about what 80% of your people are calling about. This is usually 1-3 things (i.e., scheduling/ rescheduling appointments). Jot down the questions that need to be asked, and the steps you would do to perform this task over the phone. These will be each structured as workflow later. Think about your software Oftentimes, having the AI integrate with your software is a crucial step of the process. When you’re doing this, write down which software you need it to integrate live (during the call) and which software you need after. This includes SMS messages, emails, etc., that need to be sent. Gather your knowledge base Phonely will integrate with a knowledge base to answer FAQ’s via an inbuilt knowledge base. To do this, you need to have a knowledge base handy. If you don’t have one premade, you can type your own or connect a websiteNote: if you connect a website, it is handy to remove the unnecessary pages to prevent the AI from grabbing information that isn’t relevant.Think about your call forwarding To get your AI actually answering your calls you have to either forward your existing phone line to a Phonely number, port your number to Phonely, or give your customers Phonely’s number. In virtually all carriers there are settings for this, and the easiest way to find out is to google “how to forward numbers on xyz provider”. Start simple, nail one use case and scale from there. Oftentimes we see customers come with us wanting everything to be handled right away. Barring enterprise customers, this almost always ends up being a ton of work. To prevent this, we recommend trying to nail one use case, and set up call transferring or, a generic message taking for other use cases. This lets you get comfortable building out one workflow and you can scale incrementally over time.
Step 3: Build your agent
Now that you understand how Phonely works, and have a plan, lets dive into how to actually implement it in the platform.- Chose a voice and greeting message

- Set your agent guidelines

- Import your knowledge base
- PDF documents, word documents or other files
- Typed manually
- Imported from your website

- Build Your Call Flows
There are two types of call flows, inbound and outbound call flows.
Inbound call flows have a few key concepts:
- Start Flow Block: The start flow block lets the AI know when it should perform this workflow. When it meets these conditions, the AI goes directly into this flow and it will proceed through the questions. The most common use case is to set one flow, per distinct action. I.e., appointment scheduling, callback information, and call routing would be individual, separate flows.
- Ability to transfer in between call flows: At every point in the conversation, all call flows are available to the agent. If someone wants to trigger a different call flow later, or during the flow, then the AI can switch between those flows. This lets the AI act more like a person because it can change dynamically based on request. For instance, if your initial flow identifies a caller as new or existing, the agent can then automatically move to a more tailored flow for that client type.
- Trigger condition: Trigger conditions are the actions that are used to place a call. When these trigger conditions occur, they will immediately trigger an outbound call to be placed by Phonely. For example, if a new customer is added to your CRM, Phonely can automatically trigger a call to them.
- Trigger variables: Each trigger condition comes with its set of ‘variables’, which is information gathered from the source. E.g., if you are using the Google Sheets trigger condition, the variables would be the headers of each column in your table (first_name, phone_number etc.) For every trigger condition we will use the dynamic information we receive from the trigger condition to place the call. E.g., the initial greeting voicemail message can be customized using the individual caller’s information
Step 4: Test, Deploy, and Monitor
After you’ve got your agent set up and ready to go, it’s time to let it do the work for you. Phonely’s Agent Dashboard Gain clear insights with Phonely’s performance dashboard. Easily track your agent’s effectiveness in real-time with key metrics like:- Call duration (and its change over time)
- End call reasons
- Sentiment analysis (Positive, negative, neutral)
- Peak call times
- and call success rate

- Test voice variations.
- Optimize workflows.
- Experiment with prompts.
- Fine-tune interactions at every stage.