Use Cases & Examples
Real-world examples of how developers are using Vox Stack to automate voice communications
Customer Follow-Up
Automate follow-up calls after purchases, service requests, or support tickets.
Scenario
A customer just purchased a product. Automatically call them 24 hours later to check satisfaction.
Example Code
// Create follow-up task
POST /api/v1/tasks
{
"agent_id": "customer-service-agent",
"to_number": "+1234567890",
"context_data": {
"customer_name": "John Doe",
"order_id": "ORD-12345",
"product": "Widget Pro",
"purchase_date": "2024-01-15"
},
"webhook_url": "https://your-app.com/webhooks/call-completed",
"webhook_events": ["call_completed"]
}Appointment Reminders
Reduce no-shows by sending automated appointment reminders via phone calls.
Scenario
Remind patients about their upcoming doctor appointment 24 hours in advance.
Example Code
// Schedule reminder call
POST /api/v1/tasks
{
"agent_id": "appointment-reminder-agent",
"to_number": "+1234567890",
"context_data": {
"patient_name": "Jane Smith",
"appointment_date": "2024-01-20",
"appointment_time": "2:00 PM",
"doctor_name": "Dr. Johnson",
"location": "123 Medical Center"
}
}Lead Qualification
Qualify leads before passing them to your sales team. Ask qualifying questions and collect information automatically.
Scenario
Call leads from your website form to qualify them before scheduling a sales demo.
Example Code
// Qualify a lead
POST /api/v1/tasks
{
"agent_id": "lead-qualification-agent",
"to_number": "+1234567890",
"context_data": {
"lead_name": "Bob Johnson",
"company": "Acme Corp",
"source": "website-form",
"interested_in": "Enterprise Plan"
},
"webhook_url": "https://your-crm.com/webhooks/lead-qualified",
"webhook_events": ["call_completed"]
}Survey Collection
Conduct phone surveys at scale. Collect feedback, ratings, and detailed responses from customers.
Scenario
Call customers after service completion to collect feedback and ratings.
Example Code
// Conduct survey
POST /api/v1/tasks
{
"agent_id": "survey-agent",
"to_number": "+1234567890",
"context_data": {
"customer_name": "Alice Brown",
"service_type": "Home Repair",
"service_date": "2024-01-10",
"technician": "Mike Wilson"
}
}Emergency Notifications
Send critical alerts and notifications via phone calls when immediate attention is required.
Scenario
Notify customers about urgent account issues or security alerts.
Example Code
// Send emergency notification
POST /api/v1/tasks
{
"agent_id": "emergency-notification-agent",
"to_number": "+1234567890",
"context_data": {
"customer_name": "David Lee",
"alert_type": "Security Alert",
"message": "Unusual login detected on your account",
"action_required": "Please verify your account"
}
}Customer Support
Handle common support inquiries automatically, escalating complex issues to human agents when needed.
Scenario
Provide first-line support for common questions, escalating to human agents when needed.
Example Code
// Handle support inquiry
POST /api/v1/tasks
{
"agent_id": "support-agent",
"to_number": "+1234567890",
"context_data": {
"customer_name": "Sarah Williams",
"account_id": "ACC-789",
"issue_type": "Billing Question",
"ticket_id": "TKT-456"
}
}Ready to Build?
Start building your voice automation solution today. Get started in minutes with our simple API.