LiyaSupport
Channels

Channel routing rules

Automatically assign conversations to the right agent, group, or queue based on intent, channel, and customer attributes.

6 min read Updated July 2026

Routing rules let you define if this, then that logic for incoming conversations. Without rules, all conversations go into a shared inbox for manual assignment. With rules, the right ticket reaches the right team automatically — before any agent has to look at it.

How routing rules work

Each rule has a set of conditions and one or more actions. When an inbound conversation matches all conditions, the actions are applied.

Rules are evaluated in order (top to bottom). Once a conversation matches a rule and an action is applied, evaluation stops unless you enable Continue to next rule on that rule.

Available conditions

ConditionOperatorsExamples
AI intentis, is not, containsintent is billing_inquiry
AI urgencyis, is noturgency is urgent
AI sentimentis, is notsentiment is frustrated
Channelis, is notchannel is email
From email domainis, contains, ends withfrom domain ends with @acme.com
Subject linecontains, starts withsubject contains 'urgent' or 'ASAP'
Contact taghas tag, does not havecontact has tag 'enterprise'
Contact attributeequals, containscontact.plan equals 'Enterprise'
Time of dayis betweentime is between 09:00 and 17:00
Day of weekis, is notday is Saturday or Sunday
SLA riskisSLA risk is breached

Available actions

ActionDescription
Assign to agentRoute to a specific named agent
Assign to groupRoute to a team group (round-robin or load-balanced across members)
Set priorityOverride the AI-detected priority (urgent / high / normal / low)
Add tagAttach one or more tags to the conversation
Add labelApply a visual label (e.g. VIP, New Customer, At Risk)
Set SLA policyApply a specific SLA policy to this conversation
Send auto-replySend a canned message to the customer immediately
Create taskCreate a task (e.g. follow-up reminder) for an agent
Notify agent/groupSend a Slack or in-app notification to an agent or group
Skip AI draftDo not generate an AI draft for this conversation

Creating a routing rule

1

Go to Settings → Automations → Routing

Click Create rule.

2

Set a name and conditions

Give your rule a descriptive name (e.g. "Enterprise billing to senior agents"). Add one or more conditions using the condition builder. Multiple conditions default to AND logic — all conditions must match. Switch to OR logic using the toggle if any condition should trigger the rule.

3

Add actions

Add one or more actions. Actions run in sequence when the rule matches.

4

Set rule priority (order)

Drag rules to reorder them. More specific rules should be higher (evaluated first). For example, a rule for enterprise VIP customers should sit above a general billing rule.

5

Test the rule

Use the Rule tester at the bottom of the rules editor: paste a sample message and see which rules would match and which actions would apply.

Assignment methods

When routing to a group, Liya distributes assignments using one of three methods (set per group):

  • Round-robin — conversations distributed evenly across online agents in the group
  • Load-balanced — next conversation goes to the agent with the fewest open conversations
  • First available — assigned to the first agent to claim it from the shared queue
Load-balanced assignment is recommended for teams with mixed experience levels — it naturally sends more tickets to faster agents rather than distributing blindly.

Fallback routing

If no rule matches, or if a matched rule's assigned agent/group is offline, conversations fall back to the default inbox. Configure the fallback behaviour in Settings → Automations → Routing → Fallback.