CSV Structure
Your CSV file must have specific columns for the campaign to work correctly.Required Columns
Every CSV must include these two columns:| Column | Description | Example |
|---|---|---|
callee_name | Customer’s name | John Doe |
mobile_number | Phone number with country code | +919876543210 |
Example CSV
With Custom Variables
Add any custom variables as additional columns:Formatting Rules
Phone Numbers
Include Country Code
Include Country Code
Always include the country code with + prefix:
- ✅
+919876543210(India) - ✅
+14155552671(USA) - ❌
9876543210(Missing +91)
No Spaces or Special Characters
No Spaces or Special Characters
- ✅
+919876543210- ❌+91 9876 543 210- ❌+91-9876-543210
Valid Number Format
Valid Number Format
Ensure numbers are valid and active:
- Correct length for country
- No landline numbers (mobile only)
- Active numbers (not disconnected)
Names
- Use full names when possible
- Keep formatting consistent
- Avoid special characters that might cause issues
- Example: “John Doe” not “John, Doe” or “Doe; John”
Custom Variable Values
- Keep values simple and clear
- Avoid commas within values (or use quotes)
- Match the format expected by your agent
- Test with sample data first
CSV File Requirements
Encoding
Use UTF-8 encoding for international characters
File Size
Up to 50MB per file (around 100,000 contacts)
Headers
First row must contain column names
Delimiter
Use comma (,) as delimiter
Variable Mapping
The platform automatically maps CSV columns to agent variables:- Upload your CSV
- Review the mapping preview
- Verify columns match variable names exactly
- Confirm and proceed
Common Issues
Missing Required Columns
Missing Required Columns
Error: “CSV missing required columns”Fix: Ensure your CSV has both
callee_name and mobile_number columnsInvalid Phone Numbers
Invalid Phone Numbers
Error: “Invalid phone number format” Fix: Add country code with +
prefix, remove spaces and special characters
Variable Mismatch
Variable Mismatch
Error: “Variable not found in agent” Fix: Column names must exactly
match your agent’s custom variable names
Encoding Issues
Encoding Issues
Error: Special characters appear as �Fix: Save your CSV with UTF-8 encoding
Creating Your CSV
Using Excel/Google Sheets
Using Text Editor
Create a plain text file with.csv extension:
Sample CSV Templates
Download sample templates:Contact support at support@graine.ai for sample CSV templates
Next Steps
Custom Variables
Learn how to use custom variables
Launch Campaign
Ready to create your campaign