Platform
Routing rules
Send conversations to different Slack channels, and auto-assign them, based on the page, entry point, customer email domain, message text and more.
Routing rules pick the Slack channel for a new conversation. They live in the dashboard under Channels & Routing, next to your default channel.
How rules are applied
- When a conversation opens, Channlize checks your active rules from top to bottom (the order shown in the list). New rules go to the bottom.
- The first rule that matches wins: the conversation is posted to its channel, and assigned to its teammate if the rule has one and nobody is assigned yet.
- If no rule matches, the conversation goes to the default channel.
- Routing happens once. Later messages stay in the conversation's thread, even if they would match another rule.
A channel pinned explicitly when the conversation is created (the channel field of POST /conversations, the MCP create_conversation tool, or an automation payload's channel) skips the rules.
Conversations from a connection with its own Slack channel follow its mode: Use routing rules (the default) applies the rules and uses the connection's channel instead of the default channel when none matches; Always post to this channel skips the rules' channel, but a matching rule still assigns its teammate.
With Discord or Microsoft Teams connected, a rule can post to one of their channels instead: choose it under post it to in the rule editor. The first matching rule wins whichever tool it targets, and a conversation stays in the tool it was first posted to.
Rules can only pick a channel and an assignee. To set tags or priority, use Slack commands.
A rule
| Setting | Description |
|---|---|
| Name | For you: "Pricing questions to #sales". |
| Project | The rule applies only to this project's conversations (default: your first project). |
| Widget | Optional: limit the rule to one widget. |
| Match | all conditions (AND) or any condition (OR). |
| Conditions | Up to 20, see below. No conditions: the rule matches everything. |
| Channel | Where matching conversations go. Invite the bot there. |
| Assign to | Optional teammate. |
| Active | Inactive rules are skipped. |
Use Test routing to see which rule, and which channel, a sample conversation would get. The rule editor can also test a draft rule before you save it.
Conditions
Each condition is a field, an operator and a value:
{
"match": "all",
"conditions": [
{ "field": "page_url", "operator": "contains", "value": "/pricing" },
{ "field": "message", "operator": "contains", "value": ["refund", "invoice"] }
]
}- Matching is case-insensitive.
sourceis where the conversation came from, the same label the dashboard and the Slack root post show: the widget's chat (live_chat) and its contact form (contact_form) are told apart, so you can route forms to a different channel than chats. The REST API and connections without a more specific source areapi.- A value can be a list (up to 50 values, 500 characters each). Positive operators match when any value matches;
not_operators match when none does.
Fields
| Field | Matches against | Operators |
|---|---|---|
source | the entry point: live_chat, contact_form, api, email, automation, sms, whatsapp, stripe, calendar, github, telegram, discord | equals, not_equals |
project | a project | equals, not_equals |
widget | a widget (live chat and contact form only) | equals, not_equals |
connection | the connection that opened the conversation (none for chat, forms and the API) | equals, not_equals |
priority | low, normal, high, urgent | equals, not_equals |
page_url | the page the conversation started on | all |
page_domain | its hostname | all |
customer_email | the customer's email | all |
customer_email_domain | the part after @ | all |
message | the first customer message | all |
subject | the subject (contact form, email) | all |
tags | the conversation's tags; equals means "has the tag" | all |
language | the browser's first Accept-Language tag, like en-US or fr | all |
Operators
| Operator | Matches when the field… |
|---|---|
equals / not_equals | is (is not) exactly the value |
contains / not_contains | contains (doesn't contain) the value |
starts_with | starts with the value |
ends_with | ends with the value |
matches | matches a wildcard pattern over the whole value: * is any run of characters, ? is one character |
Examples
| Goal | Rule |
|---|---|
| Pricing page to #sales | page_url contains /pricing |
| Enterprise customers to #vip | customer_email_domain equals bigcorp.com, bigco.io |
| Refunds to #billing, assigned to finance | message contains refund, chargeback, invoice; Assign to: your finance lead |
| SMS and WhatsApp to #mobile | Match any: source equals sms; source equals whatsapp |
| Contact forms to #inbox, chats stay on the default | source equals contact_form |
| One Telegram bot's chats to #telegram-vip | connection equals that connection |
| Docs site to #docs-help | page_domain matches docs.* |
| French visitors to #support-fr | language starts_with fr |
Agent questions
A rule can route the questions and approvals your agents ask instead of conversations. Pick Agent questions when you create it; a rule keeps its type. Question rules are checked on their own, in the same top-to-bottom order, and never route a conversation (and conversation rules never route a question).
A question rule tests these fields, with the operators above:
| Field | What it is |
|---|---|
agent | The agent that asks. |
team | Any team the asking agent is in. |
channel | The agent channel it's asked in. |
urgency | low, normal, high or urgent. |
kind | question or approval. |
tags | The tags the agent sent with the question. |
question | The question's text. |
The first matching rule posts the question in its Slack channel and can hand it to a teammate or to the agent channel's supervisors. They're mentioned in the post and are the first step of the escalation chain. With no matching rule, the question goes where it always did: the agent channel's linked Slack channel, or the escalation channel.