To build a voice agent that upsells cart abandoners in real time, you need an ecommerce voice upsell agent vapi that triggers outbound voice calls via Vapi to cart abandoners within minutes of abandonment. This is achieved by integrating Vapi with ElevenLabs for natural-sounding voice and using n8n or a similar automation tool to handle webhook callbacks from your ecommerce platform. By letting the agent recommend complementary products and offer a discount code, retailers can see 15-30% revenue recovery from cart abandonment, making real-time outreach a crucial conversion optimization strategy. ElevenLabs provides the voice ai capabilities.
What you need
To set up an ecommerce voice upsell agent, you'll need a combination of tools for voice AI, telephony, and automation orchestration.
| Tool | Plan/Price | Role |
| --- | --- | --- |
| Vapi | from $0.05/min | Voice-agent orchestration |
| ElevenLabs | check current pricing | Natural-sounding text-to-speech voices |
| Twilio | from $0.0085/min | Telephony and call routing |
| n8n | free tier available | Automation workflow orchestration |
| Webhook | often included with ecommerce platforms | Real-time cart abandonment notification |
| Product recommendations engine | check current pricing | Suggesting complementary products to customers |
How it works
1. When a customer abandons their cart, the ecommerce platform sends a webhook notification to n8n, triggering the ecommerce voice upsell agent vapi workflow. This notification includes the customer's phone number and cart contents.
2. n8n then uses the Vapi API to initiate an outbound voice call to the customer via Twilio, which handles the telephony.
3. The call is answered by a natural-sounding voice generated by ElevenLabs, which provides the text-to-speech functionality for the ecommerce voice upsell agent vapi.
4. The ElevenLabs voice ai recommends complementary products to the customer based on their cart contents, which are retrieved from the ecommerce platform's product catalog.
5. The ecommerce voice upsell agent vapi offers the customer a discount code to incentivize them to complete their purchase, and the call is routed to a human agent if the customer wants to proceed with the sale.
6. The outcome of the call is tracked and recorded in the ecommerce platform, allowing for conversion optimization and real-time outreach to improve future sales.
How to build it
To set up an ecommerce voice upsell agent vapi, follow these steps:
1. Create a Vapi account and set up a new voice agent, choosing the "Abandoned Cart" template. This will provide a basic structure for your automation.
2. Configure the agent to trigger an outbound voice call via Vapi's call routing feature when a cart abandonment event is detected. You can use a webhook to receive notifications from your ecommerce platform.
3. Integrate ElevenLabs to generate natural-sounding voice messages for your agent. You can use their text-to-speech API to create personalized messages based on the customer's cart contents.
4. Set up a product recommendations node in your n8n workflow to suggest complementary products to the customer. You can use a service like Also Bought or Recommendify to generate recommendations.
5. Create a discount code node to generate a unique discount code for the customer. You can use a service like Coupon Carrier or Discount Manager to manage your codes.
6. Configure the Vapi agent to offer the discount code and product recommendations during the voice call. You can use Vapi's API to pass data from your n8n workflow to the agent.
7. Test your automation using a sample cart abandonment event. You can use a tool like Postman to simulate a webhook notification and trigger the automation.
8. Monitor your automation's performance using Vapi's analytics dashboard and adjust your strategy as needed. You can track metrics like conversion rate, revenue recovery, and customer engagement.
json
{
"nodes": [
{
"parameters": {
"event": "cart_abandonment",
"trigger": "webhook"
},
"name": "Cart Abandonment Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
100,
100
]
},
{
"parameters": {
"voice": "ElevenLabs",
"message": "Your cart has been abandoned. We recommend checking out with {{productRecommendations}} and using discount code {{discountCode}}."
},
"name": "Voice Message",
"type": "n8n-nodes-base.vapi",
"typeVersion": 1,
"position": [
300,
100
]
}
],
"connections": {
"Cart Abandonment Trigger": {
"main": [
"Voice Message"
]
}
}
}
To generate natural-sounding voice messages, you can use the following prompt with ElevenLabs:
python
import elevenlabs
client = elevenlabs.Client(api_key="YOUR_API_KEY")
voice = client.voices.get("en-US")
text = "Your cart has been abandoned. We recommend checking out with {{productRecommendations}} and using discount code {{discountCode}}."
speech = client.text_to_speech(voice, text)
print(speech)
Replace "YOUR_API_KEY" with your actual ElevenLabs API key. This code will generate a natural-sounding voice message based on the provided text. You can then use this message in your Vapi agent to offer personalized recommendations and discounts to your customers. For more information on setting up ecommerce automations, you can visit https://getaab.com/blog/. To learn more about Vapi's features and pricing, you can check out their website at https://vapi.ai. ElevenLabs' pricing starts from $0.06 per minute, but you should check current pricing on their website at https://elevenlabs.io.
What it costs to run
To estimate the monthly cost of running an ecommerce voice upsell agent vapi automation, we consider the following assumptions:
- The cost of using Vapi for voice-agent orchestration, which is check current pricing,
- The cost of ElevenLabs for natural-sounding voice, from $0.06 per minute,
- The cost of telephony services from Twilio, from $0.0085 per minute.
Here is a breakdown of the estimated monthly costs:
| Tool | 100 uses/month | 1,000 uses/month | 10,000 uses/month |
| --- | --- | --- | --- |
| Vapi | check current pricing | check current pricing | check current pricing |
| ElevenLabs | $6 | $60 | $600 |
| Twilio | $0.85 | $8.50 | $85 |
Note: The actual costs may vary based on the specific plans and usage, so it's recommended to check the pricing pages of Vapi, ElevenLabs, and Twilio for the most up-to-date information.
Where this breaks
The ecommerce voice upsell agent vapi automation can fail in several ways.
Incorrect Call Routing: The symptom is that calls are being routed to the wrong agent or not being routed at all, resulting in missed opportunities to recover abandoned carts.
The fix is to review the call routing configuration in Vapi and ensure that the correct webhook is being used to trigger the outbound calls.
Poor Voice Quality: The symptom is that the natural-sounding voice generated by ElevenLabs is not clear or is distorted, making it difficult for customers to understand the agent's recommendations.
The fix is to check the audio settings in ElevenLabs and adjust the voice parameters to improve the quality.
Ineffective Product Recommendations: The symptom is that the product recommendations made by the ecommerce voice upsell agent vapi are not relevant to the customer's abandoned cart, resulting in low conversion rates.
The fix is to review the product recommendation algorithm and adjust it to take into account the customer's purchase history and browsing behavior.
Webhook Timeout: The symptom is that the webhook used to trigger the outbound calls is timing out, resulting in missed calls and lost revenue.
The fix is to increase the timeout threshold in n8n or adjust the webhook configuration in Vapi to ensure that the calls are being triggered in a timely manner, allowing for real-time outreach and conversion optimization.
How do I integrate ElevenLabs with my ecommerce voice upsell agent vapi workflow?
To integrate ElevenLabs with your ecommerce voice upsell agent vapi workflow, you can use their text-to-speech voices to generate natural-sounding product recommendations and offers. This can be done by sending a request to the ElevenLabs API with the desired text, and then using the generated audio in your Vapi calls. Check the ElevenLabs documentation for specific implementation details.
Can I use ecommerce voice upsell automation with other channels, such as email or SMS?
While ecommerce voice upsell automation is typically used for outbound voice calls, the same principles can be applied to other channels like email or SMS. However, the effectiveness of these channels may vary, and conversion optimization techniques may need to be adjusted accordingly. Retailers can experiment with different channels to find the best approach for their specific use case.
What are the costs associated with using Vapi for ecommerce voice upsell agent vapi calls?
The costs associated with using Vapi for ecommerce voice upsell agent vapi calls depend on the specific pricing plan chosen, but Vapi's pricing starts from $0.05/min. Additionally, retailers may need to consider the costs of using ElevenLabs for text-to-speech voices, as well as any other tools or services integrated into their workflow. Retailers should check current pricing for each vendor to get an accurate estimate of the total costs involved.