What youโll learn: How to configure automated messaging during AI calls using your own messaging providers to send SMS, WhatsApp messages, and emails with static content.
Overview
The messaging feature allows your AI agent to automatically send messages during calls using your own messaging service providers. This is useful for sending confirmations, appointment details, links, or other important information while the conversation is happening.Configuration Setup
Messaging Section Location
In every project, youโll find the messaging configuration in the Messaging Section with three input fields:- SMS Provider cURL
- WhatsApp Provider cURL
- Email Provider cURL
Provider Requirements
Bring Your Own Providers
You must provide:
- Your own SMS service provider (Twilio, AWS SNS, etc.)
- Your own WhatsApp Business API provider
- Your own email service provider (SendGrid, Mailgun, etc.)
SMS Configuration
SMS Provider Setup
Configure your SMS provider by entering the complete cURL command in the SMS field.SMS Field Mapping
| Field | Placeholder | Description |
|---|---|---|
| Recipient Phone | {PhoneNum} | Automatically replaced with the callerโs phone number |
| Message Content | Static text | Fixed message content (cannot be dynamic) |
WhatsApp Configuration
WhatsApp Provider Setup
Configure your WhatsApp Business API provider with the complete cURL command.WhatsApp Field Mapping
| Field | Placeholder | Description |
|---|---|---|
| Recipient Phone | {PhoneNum} | Automatically replaced with the callerโs phone number |
| Message Content | Static text | Fixed message content (cannot be dynamic) |
Email Configuration
Email Provider Setup
Configure your email service provider with the complete cURL command.Email Field Mapping
| Field | Placeholder | Description |
|---|---|---|
| Recipient Email | {email} | Must be provided in audience data or API payload |
| Email Content | Static text | Fixed email content (cannot be dynamic) |
Email Data Requirements
1
Audience Upload Method
Include Email in Audience List
- Add an
emailcolumn to your audience CSV - Ensure all contacts have valid email addresses
- Upload the audience with email data included
2
API Trigger Method
Include Email in API Payload
- Add
emailfield to your API request payload - Ensure the email address is valid and properly formatted
- Include it in the custom fields section
Important Limitations and Warnings
Email Collection Limitations
Static Message Limitation
Provider Responsibility
Best Practices
Message Content Guidelines
SMS Best Practices
SMS Best Practices
SMS Message Guidelines:
- Keep messages under 160 characters when possible
- Include clear call-to-action or next steps
- Add your company name for identification
- Include opt-out instructions if required by regulations
WhatsApp Best Practices
WhatsApp Best Practices
WhatsApp Message Guidelines:
- Use conversational, friendly tone
- Include relevant emojis if appropriate
- Keep messages concise but informative
- Follow WhatsApp Business Policy guidelines
Email Best Practices
Email Best Practices
Email Message Guidelines:
- Use clear, descriptive subject lines
- Include complete information in the body
- Add your company contact information
- Follow email marketing compliance rules
Technical Implementation Tips
Troubleshooting
Common Issues
| Issue | Cause | Solution |
|---|---|---|
| Messages not sending | Incorrect cURL syntax | Test cURL command independently |
| Wrong phone number format | Missing placeholder | Use exact placeholder: {PhoneNum} |
| Email not found | Missing email in audience/API | Ensure email field is included in data |
| Provider authentication error | Invalid API keys/tokens | Verify provider credentials |
Testing Your Setup
1
Test cURL Commands
Verify Provider Integration
- Test each cURL command in terminal/command prompt
- Replace placeholders with actual test data
- Confirm messages are delivered successfully
2
Test with Vodex
Integration Testing
- Configure cURL commands in Vodex messaging section
- Run test calls with known phone numbers/emails
- Verify messages are triggered during calls
3
Monitor Delivery
Check Provider Dashboards
- Monitor delivery rates in provider dashboards
- Check for failed deliveries or errors
- Adjust configuration if needed
Next Steps
After configuring messaging:- Set up your messaging providers and obtain API credentials
- Test cURL commands independently to ensure they work
- Configure the messaging section in your Vodex project
- Test with sample calls to verify integration
- Monitor delivery rates and adjust as needed
Ready to send messages during calls? Proper messaging configuration enables automated follow-up and confirmation delivery, enhancing your customer experience and reducing manual work.
Need help with call settings? Check out our Call Settings Overview and Advanced Settings for comprehensive call configuration guidance.