> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Notifications per business unit

> How the notification configuration will change once each business unit has its own events, sender, design, rules and metrics.

> [!NOTE]
>
> **Preview.** This page describes a change being designed, not built yet. Today the configuration is global. It fills
> in as the `notification/business-unit-scope` initiative moves forward.

## At a glance

| Field | Value |
| - | - |
| Status | **Preview** (being designed) |
| Route | Planned in the catalog, the templates and the metrics: `/{locale}/notification/*` |
| Menu | Notifications (no entry of its own) |
| Role | Notifications roles with a scope: every unit or one unit |
| Permission | The same as today, scoped to the role's unit |
| Feature flag | `notification-business-unit-scope` (off) |
| Last verified | 2026-11-11 against `develop` (`c56bdee3e`) |

## What it is for

Today a single team configures every notification, and the only thing that changes between brands is the design each
event fixes in the code. With this change, each business unit (Maihue Home, Horeca, Business, MaihueGO and the new
Maihue Lunch) will manage its own notifications without touching the others'.

## How to get there

There is no screen yet. When the flag is on, the catalog, the templates and the dashboard will show each event's unit
and filter by it.

## What you see

Nothing changes on screen today. Planned:

| Place | Planned change |
| - | - |
| Event catalog | A **Business unit** column and filter; platform events (sign-in, security, account, exports) show as **Cross-unit** |
| Channel rules | Where each rule comes from: the event, the unit or global |
| Unit settings | Each unit's sender, display name and email design |
| Dashboard | Metrics and costs per unit |

## Step by step

It will be published when the feature exists. The planned path for a unit:

**1. Get a scoped role**

An administrator assigns, for example, Notification Editor for MaihueGO only.

**2. Set up the unit**

Define the sender, display name and design, and the unit's default rules.

**3. Manage its events**

Turn on, adjust and edit the templates of its unit's events; other units' events are hidden or read-only.

## Business rules

| ID | Planned rule |
| - | - |
| R-01 | Each event declares its unit: fixed, taken from the record it is about (contract, onboarding or debt) or **Cross-unit** |
| R-02 | **Cross-unit** events are managed only by global administrators |
| R-03 | Rules inherit: event and channel, then unit, then global |
| R-04 | There is still one template per event and channel; differences between units go in variables or conditional blocks |
| R-05 | **Marketing** opt-out is per unit: whoever opts out of one unit's marketing still gets the others' |
| R-06 | Suppressions stay global: an address that bounces gets nothing from any unit |
| R-07 | A single Resend account, with senders per unit limited to verified domains |

## States and messages

They will be documented when they exist.

## Errors

They will be documented when they exist.

## Why it works this way

Each business unit has its own audience and tone, but the customers are the same. That is why the configuration is
scoped (who edits, sender, rules, metrics) but customer protection is not: suppressions and the categories that cannot
be muted stay shared.

## Technical detail

| Aspect | Detail |
| - | - |
| Initiative | `docs/initiatives/notification/business-unit-scope/` (Level 4, in phases of up to two weeks) |
| Decision | ADR 0142, "Notification configuration is scoped by business unit" |
| Axis | The `business_unit` table, with the new `maihue_lunch` unit and the `brand` column |
| Flag | `notification-business-unit-scope` |

## FAQ and support cases

> [accordion] Can I ask today for a different sender for my unit?
>
> Today the sender is set by each event's brand in the code. Ask the technology team; with this change it will be
> done from Enterprise.

## Related and history

* [Catalog list](https://docs.bbrands.io/enterprise/notifications/catalog/list.md)
* [Roles and permissions](https://docs.bbrands.io/enterprise/notifications/getting-started/roles-and-permissions.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version (preview) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.