← All articles
Build AI systems6 min read

I want to build an AI voice agent (full setup guide)

All you need is a strong system prompt and a tool called VoiceFlow. That's it.

This article takes you from zero to working voice agent in under an hour.

You don't need to be a developer. You don't need to code.

All you need is a strong system prompt and a tool called VoiceFlow. That's it.

Let's jump in.

(btw I built this live on the Build With AI podcast if you'd rather watch it in screen-share format)


The mental barrier most people have around voice agents

People hear "voice agent" and think: chatbot but worse. Janky. Robotic. Frustrating for customers.

But a voice agent is fundamentally different from a chatbot.

A voice agent listens, decides, and acts using defined rules. A good voice agent is capable of executing real workflows.

The stakes feel high because they are. When a customer calls, they expect a professional experience. Get it wrong and it reflects on your entire business.

So here's what stops people: they never start, because they're afraid of getting it wrong in production.

The solution is to build them right before you go live.


The 3 Control Levels framework

Before you build anything, understand autonomy levels.

In the Loop (Most Control): Human approves everything. AI gathers information, human decides and acts. Traditional customer service model.

On the Loop (Medium Control): AI decides within defined rules, human supervises outcomes. This is where most voice agents live. The AI makes decisions, but you're monitoring.

Fully Autonomous (Least Control): AI decides freely. Humans only react if damage occurs.

Which one should you use? Ask this: What's the impact of a bad decision?

For appointment booking? Medium control (on the loop). For emergency situations? High control (in the loop). For customer onboarding? On the loop.

The impact determines your autonomy level.


The Architecture

Everything lives in a single Google Doc with two sections:

Section 1: Agent Instructions (Who you are, how you behave)

  • Identity and Purpose: "You're a virtual scheduling assistant"
  • Role: "Help customers determine if they need service, then book appointments"
  • What you DO: Schedule appointments, send confirmations, handle same-day requests
  • What you DON'T do: Troubleshoot problems, diagnose issues, speculate about safety
  • Voice and Persona: "Friendly but brief. Conversational but professional."
  • Speech Characteristics: "Sound human. Be transparent that you're automated, but don't be awkward about it."

Section 2: Knowledge Base (What you know)

  • Service area and zip codes
  • Business hours and appointment availability
  • Emergency vs. non-emergency procedures
  • Common services offered
  • What triggers an escalation to a human

The prompt template

Here's the exact structure:

Identity and Purpose: [What you do and why]

Voice and Persona: [Friendly but brief, conversational tone]

Key Rules:
- Do not troubleshoot. Your job is to collect info and schedule.
- Ask one question at a time (never: "Name, address, phone?")
- Keep responses short. LLMs default to verbose.
- Only ask one question at a time
- Use explicit confirmation on all critical info
- Use layman's terms, not jargon
- Show empathy but don't apologize excessively
- If they can't answer twice, escalate to a human

Escalation Conditions:
- Safety concerns → end call immediately
- Irate customer → transfer to human
- Can't help (e.g., commercial property) → transfer with alternative
- Failed twice on same question → transfer (don't keep asking)
- Frustrated customer → pause, acknowledge, offer human support

Conversation Flow:
1. Greeting + Emergency check
2. Qualification (Do we serve your area?)
3. Information collection (name, address, phone, problem)
4. Confirmation (repeat details back)
5. Scheduling or escalation

Call Management:
- Background noise: pause and ask for quiet
- Call drops: call back using their number
- Transfer to human: hand off without repeat

That's your system prompt. Copy it and adapt it for your business.


Setting it up in Voiceflow

Step 1: Paste your prompt into a new project.

VoiceFlow automatically generates:

  • Conversation flow
  • Branching logic
  • Information collection steps
  • Escalation handlers

You don't diagram this by hand. VoiceFlow builds it for you.

Step 2: Add your knowledge base.

Export your facts (hours, services, pricing, emergency procedures) as a text file or Google Doc.

Upload it. VoiceFlow indexes it.

Now when the agent answers questions, it pulls from your knowledge base, not from general knowledge. This prevents hallucinations and keeps answers accurate.

Step 3: Connect data collection to a spreadsheet.

When the agent collects information (name, phone, service needed), it automatically dumps that into a Google Sheet.

One click to connect. No code.

You can route to Calendly, your CRM, Make.com, or any tool VoiceFlow integrates with (there are dozens).

Step 4: Test by calling it.

VoiceFlow gives you a phone number. Call it. Have a full conversation.

The agent will:

  • Ask your emergency question first
  • Check if your zip code is in service area
  • Collect your information one question at a time
  • Confirm details
  • Schedule or escalate

All without you touching code.


Why this works (the Clarity Principle)

Most voice agent projects fail because people jump straight to "build" without thinking.

They skip the planning phase.

But the real magic is in the prompt.

A weak prompt = weak agent. You'll spend days tweaking.

A strong prompt = one-shot success. VoiceFlow builds clean conversation flows automatically.

The difference = hours of upfront thinking.

Ask yourself:

  • What's my greeting?
  • What's the emergency check?
  • What's my triage?
  • What information do I need?
  • What happens if I can't help?
  • How do I handle frustrated customers?
  • When do I escalate to a human?

Answer those questions first. Everything else follows.


Edge case management

Edge Case 1: Asking the same question twice

Customer: "What's your phone number?" Agent: "I don't understand. What's your phone number?" Customer: (repeats) Agent: "I still don't understand."

Result: Customer rage. Bad experience.

Fix: If they fail twice on the same question, escalate immediately. Don't make them repeat themselves.

Edge Case 2: The apologetic agent

Agent: "I'm sorry, I don't understand. I'm so sorry." Customer: I don't care about your apologies. Just help me.

Fix: Empathy without excessive apologizing. Acknowledge. Move forward. Don't take on their problems.

Edge Case 3: The agent that won't give up

Customer: "I need an electrician." Agent: "Are you experiencing an emergency?" Customer: Silence or non-answer. Agent: (tries to diagnose the problem instead of escalating)

Result: Agent steps outside its lane. Quality drops.

Fix: Be explicit in your prompt: "Do not troubleshoot. Your job is to collect information. If you can't get the info you need, escalate."

LLMs will try to "win" by solving the problem. Guardrails prevent that.

Edge Case 4: The terrible handoff

Agent: "I'm transferring you to a human." (Phone disconnects) (Customer has to explain everything again)

Result: Terrible experience after a smooth automation.

Fix: When transferring, hand off with context. The human gets a summary: "Name: Susan. Location: Clarendon Hills. Issue: Electrical problem. Already collected: phone number, service address."


ROI breakdown

Time:

  • Manual scheduling: 5-10 minutes per call
  • Voice agent: 2-3 minutes per call
  • 20 calls/day = 2.5 hours saved daily

Cost:

  • Part-time scheduler: $25-35/hour
  • Voice agent: ~$0.50-1.00 per call
  • 600 calls/month = $300-600 vs. $2,000-2,800 for human labor

Quality:

  • After-hours availability: Your agent works 24/7
  • Zero scheduling conflicts: No double-booking
  • Consistent experience: Same professional greeting every time

Build yours this week

Monday: Define your flow on paper. Answer the 7 questions above.

Tuesday: Write your prompt in a Google Doc. Ask Claude to refine it.

Wednesday: Create your knowledge base document (hours, services, emergency procedures).

Thursday: Log into VoiceFlow. Create project. Paste prompt. Add knowledge base.

Friday: Test by calling your agent. Iterate based on what breaks.

Following week: Go live.

Total investment: $20/month (VoiceFlow Pro). No code or expensive devs required.

If you want screen-share style live builds of AI systems (like this one) then check out the Build With AI podcast.

Watch the companion lesson

Build an AI voice agent with Voiceflow

A screen-led walkthrough of prompt structure, knowledge base setup, and conversational flow.

Corey Ganim / Field notesExplore more articles →
Corey’s Notes

One useful AI system.
Every week.

For operators who want practical ideas they can test in a real business.

Join 11,706+ operators. Free. Unsubscribe anytime.