> ## 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.

# Notification lanes

> The seven default notification lanes, which channel uses each one, their pace and how a message picks its lane.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** (reference) |
| Route | The lanes are shown in `/{locale}/notification/operations`, **Lanes** card |
| Menu | Notifications › Operation › **Queues** › **Lanes** |
| Role | Notification Admin and Notification Operator operate them; only the Administrator role changes their limits |
| Permission | `notification-lane:operate` to see and pause them; `queue-lane:update` to change their limits in **Queue › Control panel** |
| Feature flag | None |
| Last verified | 2026-11-11 against the integration branch (`e4a6a2423`) |

## What it is for

This page explains the lanes you see in [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md): which channel each one carries, which provider is behind it
and how fast it goes by default. Read it to know which lane to pause when one channel has a problem, and why a
lane is slow.

## How to get there

* The live state of each lane is in [Queues](https://docs.bbrands.io/enterprise/notifications/operation/queues.md). This page is the
  reference behind that table.

## What you see

![Diagram: the notification queue spreads the sends over six lanes; Email goes to Resend; In-app goes to the Horizon inbox; Push, SMS and Live Activity go to OneSignal; WhatsApp is reserved and has no provider.](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/notification-user-manual/channel-lanes.svg?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=bcca131ffe4af22db7641224c5a3ffae)

Each send enters the notification queue and leaves on its channel's lane towards its provider.

### Default lanes

| Lane | Channel | Provider | At once (parallelism) | Rate limit | Use |
| - | - | - | :-: | - | - |
| `notification-email` | Email | Resend | 3 | 2 per second (the Resend plan) | Every email: each email send crosses the Resend limit once |
| `notification-push` | Push | OneSignal | 4 | None of its own | Pushes to the MaihueGO and Maihue Lunch apps |
| `notification-in-app` | In-app | Horizon (no provider) | 2 | None | Writes the notification in the inbox and the bell |
| `notification-sms` | SMS | OneSignal | 2 | None of its own | SMS (channel coming soon) |
| `notification-live-activity` | Live Activity | OneSignal | 2 | None of its own | iPhone lock screen updates (coming soon) |
| `notification-whatsapp` | WhatsApp | None yet | 1 | None | Reserved until the channel ships |
| `notification` | — | — | 1 | None | Fallback for a message without a recognised channel |

"At once" is how many messages of the lane can be in delivery at the same moment; the rate limit, how many can
start per period. In [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md) you see them as **Parallelism** and **Rate**.

### Which lane a message takes

| A message of… | Leaves on |
| - | - |
| the `notification` queue with channel `email` | `notification-email` |
| the `notification` queue with channel `push` | `notification-push` |
| the `notification` queue with channel `in_app` | `notification-in-app` |
| the `notification` queue with channel `sms`, `live_activity` or `whatsapp` | `notification-sms`, `notification-live-activity`, `notification-whatsapp` |
| the `notification` queue without a channel, or with an unknown one | `notification` |
| a provider report (Resend or OneSignal webhook) | `webhook-in`, a platform lane outside this screen |

## Step by step

### Find the lane of a channel

**1. Look up the channel**

In the **Which lane a message takes** table, find the channel: for example, email leaves on
`notification-email`.

**2. Go to Queues**

In [Queues](https://docs.bbrands.io/enterprise/notifications/operation/queues.md), find that row to see its state, its pace and how many
messages wait.

### Ask for a change of pace

**1. Gather the data**

Note the lane, how many messages wait and for how long, and the provider's limit if you know it.

**2. Ask the technology team**

The limits are changed by the Administrator role in **Queue › Control panel**. A higher rate than the provider
accepts only produces errors and retries.

## Business rules

| ID | Rule |
| - | - |
| R-01 | One lane per channel: a problem or a pause in one channel never stops the others |
| R-02 | In-app has its own lane, `notification-in-app`, because it calls no provider: a slow or paused push lane never holds the inbox |
| R-03 | A message picks its lane by its channel when it is published; a message without a known channel goes to `notification` |
| R-04 | Lanes are first in, first out: messages of one lane leave in the order they arrived |
| R-05 | All the lanes of the platform share one parallelism budget of the queue provider (200 at once); the defaults leave room for the other lanes and environments, so a lane cannot be raised without lowering another |
| R-06 | The values in this page are the code defaults. The live values are the ones in [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md); if they differ, someone changed them in **Queue › Control panel** |
| R-07 | Provider reports (delivered, opened, bounced) arrive on `webhook-in`, not on these lanes: pausing `notification-email` does not stop delivery events from arriving |

## States and messages

| State | What you see in Queues | Why | What to do |
| - | - | - | - |
| Rate at its limit | **Rate** `2/2 / 1s` on `notification-email` | Email goes out as fast as the provider allows | Nothing: it drains at that pace |
| Parallelism full | **Parallelism** `3/3` | Every slot of the lane is busy | Nothing, unless **Waiting** keeps growing |
| No limit | **Rate** `0/∞ / 1s` | The lane has no rate limit of its own | Nothing |
| Unexpected messages on `notification` | **Waiting** above zero on `notification` | Messages without a recognised channel | Escalate to the technology team |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| A lane missing from [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md) | The lane row was not created in the environment | — | Escalate: the lanes are created by migration |
| **The lane could not be updated** · "You do not have permission for this action…" | Pausing a lane that is not a notification lane | 403 | Only notification lanes can be operated from here |

## Why it works this way

Every provider has its own quota and its own outages. Giving each channel its own lane, sized to its provider,
keeps a burst of emails from delaying a security push and keeps an outage of one provider inside its channel. The
`notification` lane exists only as a safety net, so a message with a wrong channel still has somewhere to go and
can be investigated. Each email crosses the Resend limit once: the system creates the notification without another
queue hop, and only the send leaves on `notification-email`.

## Technical detail

| Aspect | Detail |
| - | - |
| Defaults | `backend/horizon-api/lib/queue/lane/queue-lane.defaults.ts` (`QUEUE_LANES`, `QUEUE_LANE_DEFAULTS`, `notificationLaneForChannel`) |
| Mapping | `backend/horizon-api/lib/queue/lane/queue-lane-map.ts`: `notification*` topics by `payload.channel`, `resend-*` and `onesignal-*` webhooks to `webhook-in` |
| Ledger type | Each notification message is recorded as `notification.<channel>` (`CHANNEL_TO_EVENT_TYPE` in `lib/queue/notification/notification-queue-topics.ts`) |
| Live values | Table `queue_lane`, seeded by migrations (0431 added `notification-in-app`) |
| Operator access | Only `notification` and `notification-<channel>` (`lib/endpoint/queue-lane/notification-lane-access.ts`, D-32) |

## FAQ and support cases

> [accordion] Is a lane the same as a sub-queue?
>
> Yes. There is one queue, `notification`, and the lanes are its sub-queues, one per channel. The manual uses
> "lane" ("carril").

> [accordion] Why are emails slower than pushes?
>
> The email lane goes at the pace of the Resend plan (2 per second). A campaign of several thousand emails takes
> minutes to drain; the push lane has no rate limit of its own.

> [accordion] Do SMS and WhatsApp use their lanes today?
>
> No. The lanes exist, but no catalog event sends SMS or WhatsApp yet.

## Related and history

* [Queues](https://docs.bbrands.io/enterprise/notifications/operation/queues.md)
* [Channels overview](https://docs.bbrands.io/enterprise/notifications/channels/overview.md)
* [Glossary](https://docs.bbrands.io/enterprise/notifications/getting-started/glossary.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |
| 2026-11-12 | Typed email topics run on `notification`: each email crosses the Resend limit once (#2134) |
| 2026-11-20 | The typed email topics are removed: subscription emails are created without another queue hop, rule R-08 is gone and `notification` is the fallback only again (#2291) |


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