← All posts
How-ToSeptember 6, 2026 · 6 min

Build AI Receptionist for Lead Qualification

To create an AI receptionist that qualifies leads over the phone and syncs appointments to Calendly or HubSpot, you need to integrate text-to-speech and speech-to-text technologies, manage telephony with Twilio, and orchestrate the conversation flow with a voice AI platform like Vapi. This AI will use ElevenLabs voices to greet callers, Deepgram for real-time transcription, and Vapi to handle the conversation logic. The system will then use webhooks to sync appointments to Calendly or HubSpot, ensuring your sales team gets the leads they need.

What you need

ToolPlan/PriceRole
Google VoiceCheck current pricingFor a free phone number and call management
TwilioCheck current pricingFor telephony and API integration
ElevenLabsCheck current pricingFor text-to-speech voice synthesis
DeepgramCheck current pricingFor speech-to-text conversion
VapiCheck current pricingFor voice-agent orchestration and automation
CalendlyCheck current pricingFor appointment scheduling
HubSpotCheck current pricingFor lead management and CRM integration

How it works

  1. The voice AI booking agent uses ElevenLabs for text-to-speech, converting the script into a natural-sounding voice that greets callers and prompts them to leave their name and a brief message.
  2. Deepgram or Whisper handles speech-to-text, transcribing the caller's message in real-time to text format, which is then processed by the AI.
  3. The AI uses Vapi to orchestrate the conversation, analyzing the text to identify key information like the caller's name and the requested appointment time.
  4. Twilio manages the telephony infrastructure, handling the incoming call and connecting it to the voice AI booking agent.
  5. The processed data is then sent via a webhook to either Calendly or HubSpot, where the appointment is automatically added and the caller is thanked for their booking.
  6. The entire process is orchestrated directly, with each tool performing its specific role to create a fully automated and efficient lead qualification process.

How to build it

1. Set up your Twilio account: - Sign up for a Twilio account at Twilio and get a phone number for your voice AI receptionist. - Obtain your Twilio account SID and Auth Token from the dashboard.

2. Create a Vapi voice agent: - Go to the Vapi dashboard and create a new voice agent. - Set the agent's name to "AI Receptionist" and configure it to use your Twilio phone number. - Use a text-to-speech voice from ElevenLabs for the agent's responses.

3. Integrate speech-to-text functionality: - Use Deepgram or Whisper to transcribe the phone calls. Sign up for one of these services and obtain your API keys. - In your Vapi agent configuration, set the speech-to-text endpoint to Deepgram or Whisper. For example, using Deepgram:

json
 {
 "transcription_endpoint": "https://api.deepgram.com/v1/listen",
 "transcription_headers": {
 "Authorization": "Your-Deepgram-API-Key"
 }
 }
 

4. Configure webhook for call handling: - In Vapi, set up a webhook to receive real-time call data and trigger actions based on the conversation. - Define the webhook URL in your Vapi agent settings, for example:

json
 {
 "webhook_url": "https://your-app.com/webhook"
 }
 

5. Build an n8n workflow for call handling: - Install n8n from the official website or use a cloud-based instance. - Create a new workflow and add the following nodes: - Twilio Call Events: to listen for incoming call events. - Vapi Webhook: to receive data from Vapi. - Deepgram/Whisper Transcription: to transcribe the call. - Text-to-Speech: to generate responses using the ElevenLabs voice. - Calendly/HubSpot Integration: to sync appointments.

6. Set up the n8n workflow: - Connect the nodes as follows: - Twilio Call Events -> Vapi Webhook - Vapi Webhook -> Deepgram/Whisper Transcription - Deepgram/Whisper Transcription -> Text-to-Speech - Text-to-Speech -> Calendly/HubSpot Integration - Configure the Text-to-Speech node to use the ElevenLabs voice:

json
 {
 "voice": "ElevenLabs-Voice-Name",
 "text": "Transcribed text from the call"
 }
 

7. Test the setup: - Make a test call using your Twilio phone number. - Verify that the call is transcribed, the transcription is processed, and the response is generated. - Check that the appointment is correctly synced to Calendly or HubSpot.

8. Deploy and monitor: - Deploy your n8n workflow to a cloud environment or a local server. - Monitor the system for any issues and ensure that the voice AI receptionist is functioning as expected. - Use logs and metrics to track the performance and troubleshoot any problems that arise.

By following these steps, you can create a robust voice AI booking agent that qualifies leads via phone conversation and syncs appointments to Calendly or HubSpot. This setup ensures that your business can efficiently manage calls and appointments without manual intervention.

What it costs to run

UsesMonthly Cost
100~$5 - ~$20, depending on the length of calls and the number of API requests
1,000~$50 - ~$200, with the same assumptions as above
10,000~$500 - ~$2,000, assuming an average call duration and API usage

Assumptions: Each call averages 2 minutes, and the API requests are proportionally adjusted for the number of uses. Prices are subject to change and are based on the starting rates for Twilio and Vapi, with potential increases as usage scales. Check current pricing for the most accurate estimates.

Where this breaks

Incorrect Speech-to-Text Transcription Symptom: The AI receptionist fails to accurately transcribe the conversation, leading to misinterpreted lead information. Fix: Use Deepgram or Whisper for speech-to-text processing, which offer higher accuracy than the default speech recognition service provided by Vapi. Ensure the voice input is clear and free from background noise to improve transcription quality.

Twilio Call Quality Issues Symptom: Poor call quality can lead to dropped calls or unintelligible audio, making the conversation ineffective. Fix: Upgrade to Twilio's premium plan, which includes advanced call quality features and better network reliability. Regularly check and adjust your Twilio settings to ensure the best possible call quality.

Inadequate Lead Qualification Script Symptom: The conversation script does not effectively screen leads, resulting in unqualified appointments. Fix: Develop a well-structured and concise lead qualification script that covers key points such as the lead's needs, budget, and timeline. Test the script with colleagues to refine it before deploying it in production.

Webhook Integration Failures Symptom: Webhook integration issues can prevent qualified leads from being properly recorded in Calendly or HubSpot. Fix: Ensure that the webhook setup in Vapi is correctly configured to send data to the appropriate endpoints in Calendly or HubSpot. Verify that the data format matches the requirements of the destination system and test the integration thoroughly before going live.

How do I test the voice AI booking agent before launching it? Test the voice AI booking agent by setting up a local environment or using a free trial provided by the vendor. You can simulate calls with pre-recorded scripts to ensure the agent can accurately qualify leads and integrate directly with your calendar tools.

Can the voice AI booking agent handle multiple languages? Yes, the voice AI booking agent can handle multiple languages if you use a text-to-speech (TTS) tool like ElevenLabs and a speech-to-text (STT) tool like Deepgram or Whisper that support the desired languages. Ensure your chosen vendor offers this capability to cater to a diverse customer base.

What happens if the voice AI booking agent fails to understand a call? If the voice AI booking agent fails to understand a call, it can either prompt the caller for clarification or escalate the call to a human agent. Configure the agent to handle such scenarios by setting up error handling and fallback procedures, such as providing a list of common issues or redirecting the call to a support team.

How do I ensure the voice AI booking agent complies with privacy regulations? To ensure compliance with privacy regulations, configure the voice AI booking agent to use secure APIs and webhooks, and anonymize or delete any recorded calls and transcriptions that are not necessary for operation. Regularly review and update your privacy policies and comply with relevant data protection laws such as GDPR or CCPA.

Get the full toolkit

Grab the free guide with the node-by-node build for all 10 automations.

No spam. Unsubscribe anytime. Just the good stuff.