Prompt
What should I use for sending notifications across multiple products?
Latest observation
If you need to send notifications across multiple products, the best choice is usually a centralized notification service/platform rather than building separate notification logic in each product.
Good options depending on your setup
1. Use a dedicated notification service
Best when you want one system to handle:
- SMS
- push notifications
- in-app notifications
- templates and localization
- throttling, retries, and audit logs
Examples:
- Amazon SNS / SES
- Firebase Cloud Messaging for push
- Twilio for SMS/voice/WhatsApp
- OneSignal
- Braze / Customer.io / Iterable for product + marketing notifications
- SendGrid / Mailgun / Postmark for email
2. Build an internal notification API
Best when you have multiple products but want a single company-owned layer.
Typical pattern:
- each product emits events
- events go to a queue/bus like Kafka, SNS/SQS, RabbitMQ, Pub/Sub
- a central notification service consumes events and decides:
- what channel to use
- which template to send
- user preferences/permissions
- deduplication and rate limiting
This is often the best long-term approach for multiple products.
3. Use a customer engagement platform
Best if notifications are tied to user lifecycle, onboarding, retention, or marketing.
Examples:
- Braze
- Customer.io
- HubSpot
- Iterable
These are stronger for segmentation, journeys, and campaign management, but may be overkill for pure transactional notifications.
My recommendation
If you’re sending notifications for several products in one organization, use:
Event bus + centralized notification service + channel providers
That gives you:
- one integration point per product
- consistent user experience
- easier governance and compliance
- less duplicated code
A simple architecture
- Product A/B/C emits events
- Events go to Kafka/SNS/PubSub
- Notification service normalizes and routes them
- Service sends via email/SMS/push/in-app provider
- Logs, retries, and preferences are handled centrally
If you want, I can recommend a specific stack based on:
- your cloud provider
- notification channels
- expected volume
- transactional vs marketing use cases