service
Notification Service
Sends customers email, SMS and push notifications in response to events from across Acme Inc, honouring each customer's channel preferences.
Service
Overview
The Notification Service is the single place Acme Inc talks to customers outside the storefront. It consumes events from other domains, looks up the customer’s channel choices in Notification PreferencesNotification PreferencesContainerv1.0.0PostgreSQL database holding each customer's notification channels, opt-ins and quiet hours.Ownercustomer-platformMapView docs, sends the message and publishes Customer NotifiedCustomer NotifiedEventv1.0.0Published after a notification has been sent to a customer on one of their preferred channels.
Ownercustomer-platformSchemaMapView docs.
Notifications sent
| Event | Customer message |
|---|---|
| Order ConfirmedOrder ConfirmedEventv1.0.0Published when payment, inventory, and order validation have succeeded and the order is ready for fulfilment. Ownerordering-platformSchemaMapView docs | Order confirmation with summary and delivery estimate. |
| Shipment DeliveredShipment DeliveredEventv1.0.0Published by the carrier when a shipment has been delivered to the customer. Ownerfulfilment-platformSchemaMapView docs | Delivery confirmation. |
| Payment FailedPayment FailedEventv1.0.0Published by Stripe when a charge fails. Ownerpayments-platformSchemaMapView docs | Ask the customer to update their payment method. |
| Refund ProcessedRefund ProcessedEventv1.0.0Published by Stripe when a refund has been processed. Ownerpayments-platformSchemaMapView docs | Refund confirmation. |
| Review PublishedReview PublishedEventv1.0.0Published when a submitted review passes moderation and becomes visible on the storefront. Ownerreviews-platformSchemaMapView docs | Let the reviewer know their review is live. |
| Loyalty Points EarnedLoyalty Points EarnedEventv1.0.0Published when a customer earns loyalty points for a completed order. Ownercustomer-platformSchemaMapView docs | New points balance. |
| Return ApprovedReturn ApprovedEventv1.0.0Published when a return request passes the returns policy and the customer can send the items back. Ownerfulfilment-platformSchemaMapView docs | Return label and drop-off instructions. |
Architecture diagram
Messages for this service
Receives messages (7)
Quickly find the message you need by searching for the name, type, or summary.Event-driven architecture documentation: Acme Inc