In this post, I’ll discuss integrating Twilio SMS messaging with Oracle e-Business Suite using ORDS (Oracle REST Data Services) to notify employees about expiring certifications.

The Requirement
Our customer needed to alert employees via SMS when their certifications were approaching expiration dates. The solution required building generic outbound/inbound queuing to support multiple internal systems beyond just certification reminders.
About Twilio

“Twilio is a developer platform for communications. Software teams use Twilio APIs to add capabilities like voice, video, and messaging to their applications.”
The platform powers over 40,000 businesses globally and provides a robust, well-documented API for SMS communications.
Setup Requirements
Getting started with Twilio involves:
- Account signup: Create a Twilio account at twilio.com
- Phone number: Purchase an outbound phone number ($1-thousands/month depending on features)
- Webhooks: Configure webhooks for handling SMS responses
Architecture
Outbound Flow

The outbound message flow works as follows:
- HR system queues SMS messages to a database table
- Hourly concurrent program processes the queue and calls Twilio API
- Message status is tracked in the database
- Errors are logged and administrators are notified via email
Inbound Flow

When employees respond to SMS messages:
- Twilio POSTs the response to an ORDS service
- Responses queue in a staging table (we used Exadata Express)
- Concurrent programs process responses and update HR records
- Managers receive email digests of responses
Key Considerations
Data Cleansing

Before sending SMS messages, ensure phone numbers are standardized:
- Include international dialing codes (e.g., +1 for US)
- Remove formatting characters (parentheses, dashes)
- Validate numbers are mobile, not landlines
- Handle multiple phone numbers per employee
Conversation Threading

SMS conversations lack thread identifiers like email. When an employee replies, you need to:
- Parse the message for keywords or context
- Match the response to the original outbound message
- Handle ambiguous responses gracefully
Consider using keywords in your outbound messages that employees can include in their replies.
Multiple Phone Numbers
Different use cases may warrant different outbound numbers:
- HR notifications from one number
- IT alerts from another
- Customer service from a third
This helps recipients understand the context before reading the message.
Timing
![]()
Respect your employees’ personal time:
- Avoid sending SMS during night hours
- Consider time zones for distributed workforces
- Batch non-urgent messages for business hours
Opt-Out Compliance
Include clear opt-out instructions in your messages. Regulatory requirements vary by jurisdiction, but best practice includes:
- How to stop receiving messages
- Who to contact with questions
- Respecting opt-out requests immediately
Conclusion
Integrating Twilio with Oracle ERP via ORDS provides a powerful notification channel. SMS has higher open rates than email and reaches employees who may not check email regularly.
Key success factors:
- Clean, standardized phone data
- Robust queuing and error handling
- Clear message threading strategy
- Compliance with timing and opt-out requirements
The combination of ORDS for API hosting and Twilio for SMS delivery provides a reliable, scalable solution for enterprise messaging needs.
Jon Dixon, Co-Founder JMJ Cloud