Case Study - Mass SMS sending with Twilio
Web application for sending mass SMS messages to contact lists imported from CSV.
- Client
- SMS Broadcast
- Year
- Service
- Web development
Overview
SMS campaigns require a simple way to send messages to multiple recipients. SMS Broadcast simplifies this process: the user uploads a CSV with phone numbers, writes the message, and the application handles the rest.
The system processes each send individually through Twilio, handling errors and reporting each message's status in real-time.
What we did
- Next.js 14
- React 18
- Twilio SDK
- CSV Parser
- Tailwind CSS
- Status refresh
- 5s
- Import format
- CSV
- Send tracking
- 100%
- Per message
- SID
Sending flow
The user uploads a CSV file that the backend processes with csv-parser. Extracted numbers are shown in a preview before sending. Upon confirmation, each SMS is sent individually through the Twilio API.
The StatusMonitor component updates every 5 seconds, showing how many messages have been sent vs. pending. Results include the Twilio SID for each successful message or the specific error for failed ones.
Simple interface
The UI is designed to be straightforward: a form with file upload, text area for the message, and send button. Results are displayed in a list with visual status (green for success, red for error).