Preparing your design workspace

Loading the problem and your saved attempt…

Design a Multi-Channel Bot Notification Service

Model notification fanout across email, SMS, and Slack when each channel can have multiple bot integrations.

Design the object model and public contracts for a notification service that supports multiple channels and multiple bot integrations per channel.

For this exercise, assume an application submits one notification request with a stable request ID, recipient destinations, content, and any subset of email, SMS, and Slack channels. Each selected channel can have zero or more enabled bot integrations.

Dispatch uses the channel's immutable registration snapshot and offers the request once to every bot in that snapshot. One bot failure must not prevent the other selected bots from running, and the caller receives a success, failure, or unknown outcome for every attempted channel-and-bot pair.

Repeating the same request ID and payload returns the recorded result without invoking a completed bot again; reusing an ID with a different payload is rejected. Bot registrations are configured before request traffic begins.

Use direct in-process dispatch for the baseline. Provider SDK details, durable persistence, distributed queues or event buses, template management, recipient preferences, and user interfaces are outside scope. A follow-up asks how the same design evolves to asynchronous delivery and safe bot-level retries.