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
| Tool | Plan/Price | Role |
|---|---|---|
| Google Voice | Check current pricing | For a free phone number and call management |
| Twilio | Check current pricing | For telephony and API integration |
| ElevenLabs | Check current pricing | For text-to-speech voice synthesis |
| Deepgram | Check current pricing | For speech-to-text conversion |
| Vapi | Check current pricing | For voice-agent orchestration and automation |
| Calendly | Check current pricing | For appointment scheduling |
| HubSpot | Check current pricing | For lead management and CRM integration |
How it works
- 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.
- 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.
- 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.
- Twilio manages the telephony infrastructure, handling the incoming call and connecting it to the voice AI booking agent.
- 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.
- 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:
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:
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:
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
| Uses | Monthly 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.