n8n Voice Agents: Connect AI Phone Systems to Your Workflows
Voice AI agents handle phone calls autonomously — qualifying leads, booking appointments, answering FAQs, and escalating to humans when needed. Combining n8n's automation power with Vapi or Retell AI for voice creates a complete inbound and outbound calling system. This guide covers how to build voice agents with n8n.
Voice Agent Architecture
A voice agent system has three layers:
Voice layer: Handles the phone call. Converts speech to text, manages the conversation flow, and converts text back to speech. This is where Vapi or Retell AI operate.
Intelligence layer: The AI brain. Decides what to say based on what the caller said. Claude API or other LLMs handle this.
Integration layer: Connects calls to your business systems. When a lead qualifies, create a CRM record. When an appointment is booked, update the calendar. n8n handles this.
Vapi + n8n Integration
Vapi provides the voice layer and handles much of the complexity:
- Phone number management
- Speech-to-text (STT)
- Text-to-speech (TTS) with ElevenLabs or other voice providers
- Real-time conversation management
- Webhook events for integration
Setting up Vapi webhooks to n8n:
In Vapi, configure webhook URL to your n8n webhook endpoint.
Vapi sends events:
call.started— new inbound callcall.ended— call completed (with transcript)tool.call— your assistant is calling a tool you definedstatus-update— conversation progress
n8n handles the events:
- Webhook trigger: Vapi event received
- IF node: which event type?
- Branch for
call.ended: process transcript, extract data, update CRM - Branch for
tool.call: execute the tool request and return result
Building an Inbound Lead Qualification Agent
The agent's goal: Answer inbound calls, qualify the caller as a potential customer, and book a meeting if qualified.
Vapi configuration:
n8n workflow for tool calls:
- Vapi webhook:
tool.callevent withfunction.name = "book_meeting" - Extract: name, email, slot from tool arguments
- Calendly API: create booking
- HubSpot: create contact + deal
- Email: send confirmation to caller
- Return: confirmation message to Vapi → agent reads to caller
Outbound Calling Campaign
Use n8n to trigger outbound calls:
- Airtable trigger: new row (leads to call)
- HTTP: Vapi API → initiate outbound call
- Wait: 5 minutes (don't flood calls)
- Continue loop for next lead
Post-call processing:
- Vapi webhook:
call.ended(with transcript) - Claude: analyse call outcome — interested, not interested, wrong number, voicemail, callback requested
- HubSpot: update contact with call outcome
- If interested: create follow-up task for human rep
- If voicemail: schedule retry in 24h
Appointment Reminder Calls
Simple voice reminder workflow:
- Schedule trigger: check appointments for tomorrow
- Database: get appointments with phone numbers
- HTTP: Vapi API → initiate reminder call for each
- Vapi handles: "Hi, this is a reminder about your appointment tomorrow at 2pm with [Company]. Press 1 to confirm, 2 to reschedule."
- Vapi webhook:
call.ended→ n8n processes response - Calendar: update attendance status
Call Analysis and Intelligence
Every call produces a transcript. Extract value from it:
- Vapi webhook:
call.endedwith full transcript - Claude: "Analyse this sales call transcript. Extract: customer pain points mentioned, objections raised, sentiment, likelihood to convert (1-10), and recommended next step."
- HubSpot: update deal with AI analysis
- If likelihood ≥ 7: Slack alert to sales rep
- Weekly batch: aggregate call insights → email report to sales leadership
Recommended Tools
- n8n — Voice agent workflow orchestration
- Vapi — Voice AI platform; best for building phone agents
- Retell AI — Alternative voice AI platform
- ElevenLabs — Natural-sounding AI voices
- Claude API — AI brain for voice agents
- Twilio — Phone number and telephony infrastructure
Related articles
n8n vs Make.com vs Zapier: a 2026 honest comparison
No affiliate fluff — where each tool wins, where it breaks, and what we actually run.
Self-hosting n8n: a production-grade setup guide
Queue mode, workers, backups, and the security defaults you should never skip.
Complete n8n Guide: Everything You Need to Build Powerful Automations
The definitive n8n guide — nodes, credentials, triggers, and production-grade patterns.