How routing works
- A new ticket is created from any channel.
- The system evaluates your rules in order, from top to bottom.
- The ticket is routed to the team of the first rule whose conditions all pass.
- If no rule matches, the ticket falls through to the default team.
If a rule points to a team that has since been deleted, that rule is skipped and the ticket falls through to the next matching rule or the default team.
Rule structure
Each rule combines a set of conditions with a target team. A condition is made of a field, an operator, and one or more values. Conditions are organized into two groups:- Match all of these - every condition in this group must be true (AND logic).
- Match at least one of these - at least one condition in this group must be true (OR logic). This group is optional.
Fields and operators
| Field | Operator | Value format |
|---|---|---|
| Subject | contains any of | Free-text keywords. Matches if any keyword appears anywhere in the subject. |
| Body | contains any of | Free-text keywords. Matches if any keyword appears anywhere in the message body. |
| Sender email | is any of | Full email addresses, for example name@company.com. |
| Sender email | domain is any of | Bare domains, for example company.com (no @). |
| Inbox email | is any of | One of your verified inbound email addresses. |
| Inbox email | domain is any of | A domain from your verified inbound addresses. |
| Inbox email | contains any of | Free-text substring matched against the recipient address. |
| Channel | is any of | One or more of: Email, WhatsApp, Instagram, Messenger, Chat widget, API. |
All text matching (Subject, Body, Sender email, Inbox email) is case-insensitive.
Managing rules
Add a rule
Click Add rule to open the rule editor. Build your conditions in the two groups, then choose a target team from the Route to team dropdown (the default team is marked).
The Else row
Below all of your rules, a fixed Else row shows the default team. This row always receives tickets that none of your rules matched. It cannot be removed, which guarantees that every ticket is routed somewhere.Limits
| Limit | Value |
|---|---|
| Rules per chatbot | 50 |
| Conditions per group | 10 |
| Values per condition | 10 |
| Characters per value | 1 to 500 |
Routing rules use version tracking to protect against conflicting edits. If you and a teammate edit the rules at the same time, the second save is rejected with a version conflict so no changes are silently overwritten. Refresh the page to load the latest rules, then reapply your change.