> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/slack-features/unified-messages/message-filters-and-routing.md).

# Message Filters & Routing

Filters determine which Slack messages across your Source Channels get routed into your Hub Channel.

### 🎯 Filter Types Supported

1. **Text Match** (`type: "text"`): Matches specific keywords in message body (e.g. `FATAL`, `Outage`, `DB Connection Error`).
2. **User Mention** (`type: "user"`): Routes any message mentioning a specific user (e.g. `@john.doe`).
3. **Usergroup Mention** (`type: "usergroup"`): Routes messages mentioning a Slack usergroup (e.g. `@oncall-backend`).
4. **Tag Match** (`type: "tag"`): Routes messages with matching tags or hashtags (e.g. `#sev1`, `[URGENT]`).

***

### ⚙️ Adding & Managing Filters

1. Open **Unified Messages** (`/unified-messages`) in the Pagerly Dashboard.
2. Under **Message Filters**, select the **Filter Type** (Text, User, Usergroup, or Tag).
3. Search or type the filter value.
4. Click **Add Filter** (`+`).
5. Click **Save Configuration**.
