CSV File Format
Your CSV file must follow these rules for successful batch calling:Rule 1: Use E.164 Phone Format
All phone numbers must include the country prefix in E.164 format (e.g.,+11231237890).
❌ Wrong:
Rule 2: Use contact_number Header
The phone number column header must be exactlycontact_number.
❌ Wrong:
Rule 3: Add Custom Variables
Include any additional variables (name, email, company, etc.) as separate columns. These are passed to your agent as context. Example with custom variables:Complete Example
Important Notes
Excel Formula Warning
Column Order
- Column order doesn’t matter
contact_numberis the only required column- All other columns are optional and become variables
Variable Naming
- Use lowercase with underscores:
first_name,last_name,phone_ext - Avoid spaces and special characters
- Use clear, descriptive names
Using Variables in Agent Prompts
Reference variables in your agent prompt using curly braces:Validation Checklist
Before uploading, verify:- ✓ All phone numbers start with
+ - ✓ All phone numbers are in E.164 format
- ✓ Header column is exactly
contact_number - ✓ No duplicate phone numbers
- ✓ No empty rows or columns
- ✓ CSV is UTF-8 encoded
- ✓ File size is under 50MB
Common Issues
”Invalid phone number format”
Problem: Phone numbers not in E.164 format Solution: Add country code with+ prefix
”contact_number header not found”
Problem: Column header is misspelled Solution: Make sure the header is exactlycontact_number (lowercase, underscore)