To build a voice AI cold call agent that qualifies leads and logs calls to your CRM, you can leverage Vapi as a voice-agent orchestration platform and integrate it with n8n for workflow automation. This setup enables you to dial prospects, qualify leads through natural conversation using natural language processing, and log qualified calls directly to your CRM, such as Salesforce or Hubspot, without manual data entry, creating a voice ai cold call agent b2b solution that streamlines lead qualification and appointment setting, a service agencies charge $2-5K/month per client for.
What you need To build a voice AI cold call agent B2B workflow, you'll need a combination of tools for telephony, speech-to-text, text-to-speech, and workflow automation. | Tool | Plan/Price | Role | | --- | --- | --- | | Vapi | check current pricing | voice-agent orchestration | | n8n | free tier available, check current pricing for paid plans | workflow automation | | Twilio | from $0.0055/min for outbound calls | telephony | | ElevenLabs | from $5/month, check current pricing for custom voices | text-to-speech voices | | Deepgram | from $0.00025/min, check current pricing for transcription | speech-to-text | | Salesforce or Hubspot | check current pricing for CRM plans | CRM integration and call logging |
How it works 1. The workflow begins with n8n triggering a Vapi workflow to dial a prospect, using Twilio as the telephony provider to initiate the call from $0.05/min. Vapi's voice ai cold call agent b2b capabilities then engage the prospect in natural conversation. 2. As the prospect responds, Deepgram's speech-to-text API transcribes the audio in real-time, allowing the Vapi voice agent to analyze the conversation and perform lead qualification. 3. The Vapi workflow uses natural language processing to determine if the prospect is qualified, and if so, proceeds to appointment setting by requesting a meeting or follow-up call. 4. Once a qualified lead is identified, n8n receives a webhook notification from Vapi and logs the call details directly to the CRM, such as Salesforce or Hubspot, eliminating manual data entry. 5. The CRM integration also triggers an update to the prospect's record, including notes from the conversation and any scheduled follow-up appointments, ensuring that sales teams have a complete view of the lead's history. 6. Finally, the Vapi workflow can use ElevenLabs' text-to-speech voices to send a personalized follow-up message to the prospect, further enhancing the sales experience and increasing the chances of conversion.
How to build it
To create a voice AI cold-call automation workflow using Vapi and n8n, follow these steps:
1. Set up a Vapi account and create a new voice AI cold call agent b2b project. This will provide you with an API key and access to the Vapi API reference.
2. Configure the voice AI cold call agent to use a text-to-speech voice from ElevenLabs. This can be done by selecting the desired voice in the Vapi dashboard and setting the voice_id parameter in the API request.
3. Create a new n8n workflow and add a Webhook node to receive incoming requests from Vapi. Set the httpMethod field to POST and the path field to /vapi-webhook.
4. Add a Vapi node to the workflow to initiate the voice AI cold call. Set the resource field to calls and the operation field to create. In the body field, add the following JSON data:
Replace your_elevenlabs_voice_id and your_cold_call_script with your actual ElevenLabs voice ID and cold call script.
5. Add a Deepgram node to the workflow to transcribe the audio from the cold call. Set the resource field to transcriptions and the operation field to create. In the body field, add the following JSON data:
This will use the Whisper speech-to-text model to transcribe the audio.
6. Add a Conditional node to the workflow to qualify the lead based on the transcription. Set the condition field to {{$node[\"Deepgram\"].json[\"transcription\"]}} contains "interested". If the condition is true, the workflow will proceed to the next node.
7. Add a Hubspot node to the workflow to log the qualified call in your CRM. Set the resource field to contacts and the operation field to create. In the body field, add the following JSON data:
- Add a
Twilionode to the workflow to send a follow-up SMS to the prospect. Set theresourcefield tomessagesand theoperationfield tocreate. In thebodyfield, add the following JSON data:
Replace your_twilio_phone_number with your actual Twilio phone number.
9. Finally, add an Appointment Setting node to the workflow to schedule a follow-up call with the prospect. Set the resource field to appointments and the operation field to create. In the body field, add the following JSON data:
With these steps, you can create a voice AI cold-call automation workflow using Vapi and n8n that dials prospects, qualifies leads through natural conversation, and logs qualified calls directly to your CRM. For more information on building automations, visit the getaab.com blog. You can also refer to the Vapi API reference for more details on the Vapi API.