Skip to content

Rules for incoming tickets

For: Account owners, administrators and team leads who set up how incoming tickets are sortedRequires: The Automation permission, with edit rights to change rules; Replyco AI for the tone conditionScreenshots show sample data

Overnight, Northwind Electronics receives a cancellation, three Amazon notifications, a furious “third time asking” and a wholesale enquiry, all in one list. Before anyone can answer, someone has to sort them. Rules do that sorting as each message arrives: when a new customer message matches a rule’s conditions, Replyco labels, prioritises, assigns, resolves or archives its ticket, and writes down which rule did it.

A support inbox mixes messages that need a person today with messages that need nobody: order notifications, marketplace reports, “thank you” replies. Without rules, every one of them waits in the same queue, gets the same deadline and is opened by whoever is free, so the urgent ones are found late and the routine ones cost time.

A rule is a set of conditions and a set of actions. Every switched-on rule is checked on every incoming customer message, from the top of the list down, and every rule that matches acts, not only the first. From there:

Every rule that matches a message leaves the row Rule Escalations applied in the ticket’s history, and every rule keeps its own history of who created, switched, changed and moved it, so a surprising label or priority can always be traced to its rule.

RequirementDetails
PlanEvery plan includes rules; there is no add-on.
PermissionThe Automation permission shows ToolsAutomation; changing rules needs its edit level. The Admin and Moderator roles include it. See User permissions and roles.
LabelsA rule can only add labels that exist. Create them under ToolsLabels; see Labels.
PrioritiesFor Update Ticket Priority, the priorities under AdminCompany Settings › Priorities & SLA, which every plan includes; companies on an older plan may not have the tab. A new company already has 24 standard hours. See Priorities & SLA.
Tone analysis, only for the tone conditionTone score (0 = furious, 1 = delighted) is offered with Replyco AI, part of every plan, and matches only messages scored while tone analysis was on. See Message tone analysis.
Linnworks, only for the Linnworks actionsA connected Linnworks account; see Linnworks.
CostNone. Rules use no AI actions; the tone condition reads a score that tone analysis already stored.

Each new customer message goes through the same steps, always in this order. Rules are step 6, so they see what the steps before them produced:

StepWhat happens to the messageExample
1Replyco saves it and reopens its ticket: not resolved, out of the archive, no longer snoozedA resolved ticket gets “Actually, it still does not work”; it is open again before any rule runs
2Translation, AI categories and an AI draft, if you use themCategories are set, but no rule can look at them
3Tone analysis scores the messageThe chase “Any update on this, please?” scores 0.28
4The AI summary is renewed, if automatic renewal is onThe ticket’s summary covers the new message
5Auto-responses are sent or queuedThe customer gets your holiday reply
6Your rules run, top to bottomEscalations matches 0.28 and assigns the ticket to Theo Rowe
7Tone rules may set a priorityTone sets Urgent, because no rule set a priority on this message

Messages from customers you have blocked get no AI in steps 2 to 4 (no AI categories, draft, tone score or summary), and steps 5 to 7 are skipped for them: no auto-response, no rules, no tone priority. For customers on the AI Customers Blacklist, steps 2, 3 and 5 leave out AI categories, the AI draft, the tone score and the auto-response; translation, the summary and your rules still run.

  • Every switched-on rule runs. There is no “first match wins” and no “stop processing”: a message that matches five rules gets all five rules’ actions.
  • In a rule, all conditions of one group must match, and one matching group is enough. Groups are joined by OR, conditions inside a group by AND.
  • Later rules have the last word. Status, priority and assignee hold one value, so a later matching rule replaces what an earlier one set. Labels add up. Archive and read only ever switch on.
  • Later rules see what earlier rules did. Conditions are checked against the ticket as it is at that moment, so a rule near the bottom with Assigned To Not Set (N/A) catches only tickets no earlier rule assigned.
  • Rules act on every matching message, not once per ticket. A rule sets its priority again on the customer’s next message, and assigns its colleague again, even if someone changed it by hand in between.
  • Text is matched as typed, anywhere in the field. Contains cancel also matches cancelled and cancellation; a value with several words is looked for as one piece.
  • An empty field matches nothing but Not Set (N/A). A customer without an email address does not match Customer Email Not Contains marketplace.amazon.
  • “Or more” and “or less” include the value. Equals or More Than 250 matches 250.
  • Replies from your team, and messages that arrive as sent by your company.
  • Messages from customers you have blocked; see Blocked tickets.
  • Conversations under Chats: rules are for tickets.
  • Tickets you create yourself with Create Ticket, because they start with your message.
  • Messages that arrived before a rule existed or while it was switched off, until you use Run Rules.
  1. Prepare labels and priorities. Create the labels your rule should add under ToolsLabels, and check your priorities under AdminCompany Settings › Priorities & SLA if the rule should set one.

  2. Create the rule. Open ToolsAutomation, tab Rules, and select Create New. Enter a name, pick the conditions under Conditions and at least one action under Actions, leave Active at OFF and select Save. The rule appears at the bottom of the list, switched off.

    The Create Rule form on the Rules tab, opened with Create New. At the top are Back, the heading Create Rule with its description and the Save button. Below, the Name field is empty and the highlighted Active switch reads OFF: a new rule is created switched off. The Conditions section holds one group with an empty Select Source drop-down, Add New Condition and Add New Group; the Actions section starts at the bottom. A contents list on the right links General Info, Conditions and Actions.
    A new rule starts switched off; turn Active on before you save if it should run straight away.
    What this screenshot shows
    Screen
    Create Rule (/tickets-automation?tab=rules)
    Highlighted
    switch “Active”, general-info, OFF. switches the rule on when saved
    Also visible
    Name empty; Conditions: one group with Select Source; Add New Condition, Add New Group; Save button
    Purpose
    the default state of a new rule
  3. Read it back. Select the rule’s name. The details panel writes out every condition with AND and OR and every action, so you can check it says what you meant.

  4. Put it in its place. Drag the card by its handle. A rule that should have the last word on a priority or an assignee goes below the rules it should override.

  5. Switch it on, then catch up (optional). Switch it on with the switch on its card; it acts on the next customer message. To sort tickets from before, tick them in a ticket list and select Run Rules.

The rule form has a name and a switch, the conditions, and the actions, in that order; the rule’s place in the list is set on the list itself.

Where

ToolsAutomation › Rules, first field of the form Create Rule or Edit Rule. Saved with Save.

What

Required; saving without it gives You cannot save a Rule without name. Names do not have to be unique and have no length limit in the form. The name is written into every ticket history row the rule leaves, as it is at that moment.

Why

The history row shows only the name, so Escalations explains a new assignee at a glance where Rule 7 explains nothing.

Where

Under the name in the form, saved with Save; and the switch on the rule’s card in the list, which saves at once.

What

ON: the rule runs on new customer messages and with Run Rules. OFF: the rule is kept with its conditions, actions and place, and does not run. A new rule starts at OFF; a copy starts as its original was.

Why

Build a rule switched off, read it back in the details panel, then switch it on. Switching off is the safe way to pause a rule without losing it.

Where

The Conditions section of the form: dashed boxes with one condition per row, Add New Condition under each box and Add New Group below the last one.

What

All conditions in a box must match; one matching box is enough. Every box needs at least one condition and every condition a value, otherwise saving is refused with Every group must contain at least one condition. or You must set a value for each condition. A rule always has at least one condition. To make a rule match every message, use Number Of Messages Equals or More Than 1.

Why

“From the support mailbox and about wholesale” is one box with two conditions; “about wholesale or about a bulk order” is two boxes.

The details panel of the rule "B2B" on the Rules tab. Under Conditions, the first dashed box reads Where Account Is "support@northwind-electronics.example.com", then an AND badge, then Where Subject Contains "wholesale". The highlighted OR badge separates it from the second box, Where Subject Contains "bulk order". Below, the Actions block begins with Allocate into Label showing "B2B"; the panel continues with Allocate User and the Delete, Copy and Edit buttons further down.
The panel spells the rule out; everything in one box must match, and any one box is enough.
What this screenshot shows
Screen
Rules (/tickets-automation?tab=rules)
Highlighted
text “OR”, details-panel, shown. separates alternative condition groups
Also visible
group 1: Account Is support@northwind-electronics.example.com AND Subject Contains wholesale; group 2: Subject Contains bulk order; Actions: Allocate into Label B2B
Purpose
how AND and OR read in a rule
Where

Select Source › Message.

What

These look at the incoming message itself:

SourceWhat it comparesComparisons
TextThe message body as plain textContains, Not Contains, Starts With, Ends With
SubjectThe subject of this message, which for replies often starts with Re:The same four
LanguageThe language Replyco detected, one of 20, listed alphabetically by its name in your interface language; see TranslationsPick one from the list
Sent ToThe address the message was sent toThe four above and Equals
Tone score (0 = furious, 1 = delighted)The AI tone score of the message, 0 to 1Equals, Equals or More Than, Equals or Less Than
Why

Most sorting starts with what the customer wrote: a word such as cancel, a notification subject, the language your German-speaking colleague answers, or the address of a dedicated mailbox.

Where

Select Source › Ticket.

What

These look at the ticket the message belongs to, as it is when the rule runs:

SourceWhat it comparesValues
Assigned ToThe colleague the ticket is assigned to, including by an earlier ruleA user, or Not Set (N/A) for unassigned
MarketplaceThe channel of the ticketPick one; channels are listed alphabetically
AccountThe account the message arrived inPick one of your accounts that create tickets
Day of weekThe weekday of the message being processed, in UTCOne or more days
Created OnWhen the ticket was createdMore Than or Less Than a number of days ago
Number Of MessagesEvery message in the ticket, yours includedEquals, Equals or More Than, Equals or Less Than
Ticket StatusWhether the ticket is resolvedNot Set or Resolved

Three of them need a closer look. Day of week is the day of the message being processed, not the day the ticket began, so a customer’s Monday reply in a ticket that started on Saturday counts as Monday; with Run Rules it is the day of the ticket’s latest message. Number Of Messages also counts an auto-response that Replyco has just queued for this message, because auto-responses come first. Ticket Status is always Not Set for a new message, because the message has already reopened the ticket; Resolved only matters with Run Rules.

Why

Route by channel and account, spot tickets that come back after a long time, and write a catch-all rule that matches every message.

Where

Select Source › Customer.

What

Customer Name and Customer Email compare the ticket’s customer with Contains, Not Contains, Starts With, Ends With and Equals. Customer Name also offers Not Set (N/A) for customers without a name. Marketplaces often send from their own address or name, which is how notifications are told apart from buyers.

Why

Amazon buyer messages come from an address containing marketplace.amazon; eBay’s own notices come from the customer eBay. A condition on the sender separates the two.

Where

Select Source › Order and › Product.

What

These look at the order linked to the ticket and its products:

SourceWhat it comparesComparisons
Order StatusThe order status as the channel reports itText comparisons and Not Set (N/A)
Payment StatusThe payment status as the channel reports itText comparisons and Not Set (N/A)
Created DateThe order’s purchase dateMore Than or Less Than days ago
Shipped DateThe order’s latest ship date from the channelDays ago, and Not Set (N/A)
Total PriceThe order total, as a plain number in the order’s currencyNumber comparisons
Marketplace ID, Subject, SKUThe channel’s item ID, the product title and the SKU of any product of the ticket or its orderText comparisons

A ticket without an order matches Order Status Not Set (N/A) and nothing else in these groups. Total Price does not convert currencies: 250 is 250 pounds on one order and 250 euros on another.

Why

Questions before a purchase, high-value orders and problem products each deserve their own queue, and the order says which is which.

Where

The second field of a condition row, Select Condition until you choose; the value box or list follows it.

What

Text sources offer Contains, Not Contains, Starts With, Ends With and, except for the message’s text and subject, Equals. Numbers offer Equals, Equals or More Than and Equals or Less Than, both “or” comparisons including the value. Dates offer More Than and Less Than a number of days before the moment the rule runs; the details panel adds day(s) ago. Use whole numbers for days and message counts. Not Set (N/A) hides the value box and matches exactly the tickets where the field is empty. Changing the source clears the comparison and the value.

Boundaries, with the Northwind rules High value order (Total Price Equals or More Than 250) and Escalations (Tone score (0 = furious, 1 = delighted) Equals or Less Than 0.3), and a rule with Created On More Than 30:

ValueConditionMatches?
Order total 249.99Equals or more than 250No
Order total 250.00Equals or more than 250Yes, the value itself is included
Tone score 0.300Equals or less than 0.3Yes
Tone score 0.301Equals or less than 0.3No; scores are stored with three decimals
Ticket created 29 days and 23 hours agoMore than 30 days agoNo
Ticket created 30 days and 1 hour agoMore than 30 days agoYes
Ticket without an orderOrder Status Not Set (N/A)Yes
Customer without an email addressCustomer Email Not Contains amazonNo; an empty field matches only Not Set (N/A)

What to type into a text condition:

DoDon’t
Type the shortest word that identifies the case: cancel catches cancel, cancelled and cancellationType a sentence such as Please cancel my order; the whole text must appear exactly like that
Add a group per synonym or language, for example cancel and stornType refund, return expecting either word; the comma and both words are looked for as one piece
Use Starts With on the subject of notifications with a fixed wordingUse Not Contains to catch customers without that field; use Not Set (N/A) where it is offered
Why

The comparison decides how much a rule catches; a boundary set one step too wide sends every ticket to the wrong queue.

The Edit Rule form for "Pre-sale", whose only condition compares Order Status. Its comparison drop-down is open and lists Not Set (N/A), Contains, Not Contains, Starts With, Ends With and Equals. The highlighted first option, Not Set (N/A), is the one selected: it matches tickets whose order has no status, including tickets with no order at all, and hides the value box. Below, the Actions section shows Allocate into Label with the label "Pre-sale"; the other actions are empty or OFF.
Sources that can be empty offer Not Set (N/A), which matches exactly the tickets where the field is empty.
What this screenshot shows
Screen
Edit Rule (/tickets-automation?tab=rules)
Highlighted
option “Not Set (N/A)”, conditions, selected. matches tickets whose order status is empty
Also visible
condition source Order Status; comparisons: Not Set (N/A), Contains, Not Contains, Starts With, Ends With, Equals; Allocate into Label: Pre-sale
Purpose
comparisons of a text source and the empty case
Where

First action under Actions, the select Select New Status; the cross in the select clears it.

What

Resolved resolves the ticket; Not Set makes it unresolved again. The ticket’s next customer message reopens a resolved ticket, and the rule resolves it again if it matches. With Linnworks, Billbee or Brightpearl connected, Replyco also updates the order in that system, as it does when you resolve or reopen a ticket by hand. In Linnworks, for example, the order’s identifier switches between “Resolved Ticket” and “Unresolved Ticket”; see Linnworks.

Why

Notifications that need no answer, such as Your order has shipped, can be resolved the moment they arrive and stay out of your open queue.

Where

Second action, the select Select New Priority, listing your priorities in urgency order.

What

Gives the ticket that priority and starts both its deadlines afresh, in calendar or working hours as the priority is set up, on every matching message. Tone analysis runs after rules and replaces a priority a rule set on this message only when Override an SLA set by message rules is ticked. If the priority is deleted, the rule sets nothing and its summary shows [priority deleted]. See Ticket priorities and SLA.

Why

Facts a rule can see, such as the order value or the channel, decide the promise you make; the rule applies it before anyone reads the message.

The Actions section of the Edit Rule form for "High value order", whose condition is Total Price Equals or More Than 250. Update Ticket Status is left at Select New Status. The highlighted Update Ticket Priority select shows "VIP customers", so a matching ticket gets that priority and its respond and resolve deadlines. Allocate into Label holds "High value order". Allocate User is empty, and the Archive Ticket and Mark as Read switches are OFF. The Save button sits on the right.
One rule can take several actions; this one sets a priority and adds a label to every order worth 250 or more.
What this screenshot shows
Screen
Edit Rule (/tickets-automation?tab=rules)
Highlighted
combobox “Update Ticket Priority”, actions, VIP customers selected. sets the priority and its deadlines on every matching ticket
Also visible
Update Ticket Status empty; Allocate into Label: High value order; Allocate User empty; Archive Ticket OFF; Mark as Read OFF
Purpose
a rule with a priority action
Where

Third action, the multi-select Select Label to assign.

What

Adds each chosen label to the ticket; labels the ticket already has stay, and a label it already has is not added twice. Rules never remove labels. A label that a rule adds cannot be deleted until you remove it from the rule; Replyco names up to three rules that use it.

Why

A label gives each kind of ticket its own list under Labels, and adding is harmless, which makes labels the safest first action.

Where

Fourth action, the select Select User.

What

Assigns the ticket to that colleague and replaces any other assignee, on every matching message, so it also undoes a reassignment made by hand when the customer writes again. The colleague is notified according to their notification settings. See Assign, label and merge tickets.

Why

Specialists get their tickets without a dispatcher: returns to the returns person, German messages to the German speaker.

Where

Fifth action, a switch.

What

ON archives the matching ticket: it leaves your working lists and appears under TicketsArchive. The customer’s next message brings it back, and the rule archives it again if it matches. See Archived tickets.

Why

Automatic notices you want to keep but never work on stay out of sight.

Where

Sixth action, a switch.

What

ON marks the new message, and so the ticket, as read, so it does not count as unread in your lists.

Why

Notifications should not make your queue look busier than it is.

Where

Below the other actions, only while a Linnworks account is connected: Change Order Tag, Change Order Lock State and Change Order Park State.

What

Set tag 1 to 6 on the ticket’s Linnworks order, lock or unlock it, or park or unpark it. They act only on tickets whose order comes from Linnworks. See Linnworks.

Why

Hold an order in Linnworks the moment a customer asks to cancel it, before it is picked.

Where

The handle on the left of each card on the Rules tab; the order is saved when you drop the card.

What

Rules run from the top of the list down on every message. A new rule and a copy are added at the bottom; editing a rule keeps its place.

How the order decides, for an order of 300 from a customer who writes my charger arrived damaged, with Northwind’s rules:

Order of the rulesPriority at the endLabels at the endAssignee at the end
SLA Allocation, High value order, Damaged itemsVIP customers: set by SLA Allocation, replaced by High value orderHigh value order, Damaged itemsLaura Graf, from Damaged items
High value order, Damaged items, SLA AllocationStandard (24 hours): SLA Allocation runs last and replaces VIP customersHigh value order, Damaged itemsLaura Graf
SLA Allocation switched offVIP customersHigh value order, Damaged itemsLaura Graf
Why

A broad rule belongs at the top, where more specific rules below can override it.

The Rules tab of Tools › Automation, scrolled to the end of the list of twelve Northwind rules, which run from top to bottom. Below the first two, "SLA Allocation" and "Cancellations", which are scrolled out of view, come "Escalations", "High value order", "Damaged items", "B2B", "eBay Questions", "eBay Notifications", "Amazon Questions", "Amazon Notifications", "Pre-sale" and "Warranty claims". Each card has a drag handle, the history, edit, copy and delete icons and a switch. The highlighted switch of the last rule, "Warranty claims", is off, so that rule is kept but does not run.
Every switched-on rule runs on each incoming message, from the top of the list down.
What this screenshot shows
Screen
Rules (/tickets-automation?tab=rules)
Highlighted
switch “”, last-card-right, off. switches the rule on; saves at once
Also visible
rule cards 3 to 12 in run order; drag handle, history, edit, copy, delete icons per card; all switches on except the last
Purpose
rules run in list order; switched-off rules do not run

When several rules match one message, their actions combine like this:

Two matching rules both…Result on the ticket
set a priorityThe lower rule’s priority, with deadlines started afresh
assign a colleagueThe lower rule’s colleague, alone
set a statusThe lower rule’s status
add labelsEvery label of both rules
archive, or mark as readArchived, or read
one resolves, the other archivesResolved and archived
the upper assigns, the lower has Assigned To Not Set (N/A)The lower rule does not match, because the ticket is assigned by then

A rule shows itself in three places: on the ticket it changed, in the ticket’s history, and in the rule’s own history.

WhereWhat you seeWhich record
The ticket list and the ticketThe status, priority with Respond Till, labels and assignee the rules setThe current state, after the last matching rule
The ticket’s historyRule Escalations applied once per matching rule and message; after Run Rules the row names who ran it: Henry Clarke ran rule EscalationsEvery rule that matched, in order
The rule’s historyWho created, switched, changed and moved the ruleEvery change to the rule

The grey rows between the messages include one row per rule that matched the message, with the rule’s name and the time. The row says that the rule ran, not what it changed; the ticket itself shows the result. Several rows at the same moment are grouped, with a chip such as 1 more that opens them. A rule that did not match leaves nothing. History rows appear for users who have Load user logs in the ticket switched on in Account Settings.

Why: when a ticket suddenly has a new owner or priority, the history names the rule, and the rule’s details panel says why it matched.

The conversation of ticket #32533 in Replyco: the customer's first message at 04:49 with a yellow face and the follow-up "Any update on this, please?" at 04:58 with a red face. Below them an expanded box of grey history rows: the highlighted first row reads "Rule Escalations applied", dated 07/03/2026 04:58, and the second row below it reads "Tone score 0.28 assigned priority Urgent (Matter-of-fact; mildly frustrated by the wrong item.)" with the same time. A minimize chip folds the rows together again.
Each rule that matched leaves one history row with its name, written before tone analysis sets a priority.
What this screenshot shows
Screen
Respond (/ticket/:threadId)
Highlighted
paragraph “Rule {{ruleName}} applied”, conversation, visible. records that the rule Escalations matched this message
Also visible
two customer messages with yellow and red faces; history row Rule Escalations applied; history row Tone score 0.28 assigned priority Urgent; minimize chip
Purpose
the ticket history row a rule writes

The clock icon on a rule’s card opens its history: created this message rule, turned on this message rule or turned off this message rule, updated this message rule. Click on this row to see changes (select it to see what changed) and changed the priority of this message rule, each with a name and a date. Dragging one card writes the last line to every rule, because the whole order is saved again.

Why: when tickets start to behave differently, the history shows who changed which rule and when.

The history of the rule "Escalations", opened with the clock icon on its card. Four lines, each with a name and a date: Chloe Osborne created this message rule on 16/02/2026 09:12; Chloe Osborne turned on this message rule at 09:13; Theo Rowe updated this message rule, with the note to click the row to see the changes, on 27/02/2026; and, highlighted, Chloe Osborne changed the priority of this message rule on 02/03/2026 10:05, which means she moved it in the list. A Close button ends the panel.
A rule's own history shows who created, switched, edited and moved it.
What this screenshot shows
Screen
Rules (/tickets-automation?tab=rules)
Highlighted
row “ changed the priority of this message rule ”, details-panel, shown. records that the rule was moved in the list
Also visible
created this message rule; turned on this message rule; updated this message rule; changed the priority of this message rule; Close button
Purpose
audit changes to a rule
Where

ToolsAutomation › Rules, then Create New or the pencil icon. In Conditions, Select Source › Message › Tone score (0 = furious, 1 = delighted). It is offered to every company with Replyco AI.

What

Compares the incoming message’s tone score, from 0 (furious) to 1 (delighted), with Equals, Equals or More Than or Equals or Less Than. Type a decimal such as 0.3. Equals compares with the stored three-decimal score and rarely matches. Tone analysis scores the message before rules run, so the condition always sees the score; a message without a score never matches: a reply from your team, a customer on the AI Customers Blacklist, a message without text, a failed AI call, or a message from while tone analysis was off. For the score itself, see Message tone analysis.

Why

Tone rules on the Tone tab can only set a priority. A message rule with a tone condition can do everything else: assign, label, archive.

Three rules you could write:

  • Escalations: Tone score (0 = furious, 1 = delighted) Equals or Less Than 0.3 → Allocate User Theo Rowe and Allocate into Label Escalations.
  • Tone score (0 = furious, 1 = delighted) Equals or Less Than 0.2 and Total Price Equals or More Than 250 → Update Ticket Priority Urgent: an angry customer with a big order.
  • Tone score (0 = furious, 1 = delighted) Equals or More Than 0.8 → Allocate into Label VIP, to find happy customers worth asking for a review.
The Edit Rule form for "Escalations" on the Rules tab. Name holds "Escalations" and the Active switch is ON. The only condition reads, from left to right: the source "Tone score (0 = furious, 1 = delighted)", the highlighted comparison Equals or Less Than, both cut short with an ellipsis in the narrow boxes, and the value 0.3 in a number box. Every incoming customer message whose tone score is 0.30 or lower matches. Below the condition are Add New Condition, the OR badge and Add New Group, and the Actions section begins.
The tone score is a condition like any other; Equals or Less Than 0.3 catches upset and furious messages.
What this screenshot shows
Screen
Edit Rule (/tickets-automation?tab=rules)
Highlighted
combobox “Equals or Less Than”, conditions, selected. compares the tone score with 0.3, inclusive
Also visible
source Tone score (0 = furious, 1 = delighted); value 0.3; Name Escalations, Active ON; Add New Condition, OR, Add New Group
Purpose
a rule that reacts to the customer's mood
Where

Every ticket list under Tickets: tick tickets, then Run Rules, the first icon of the bar that appears at the top.

What

Runs every switched-on rule, in the order of the Rules tab, on the latest message of each ticked ticket, as if it had just arrived, then shows Success and reloads the list. Unlike on arrival, no auto-response is sent, tone analysis does not set a priority, and tickets of blocked customers are included. Run Rules appears in the bar of every ticket list. See Ticket lists.

Why

Rules only see new messages. After you create or correct a rule, this brings the tickets that are already there up to date.

Three ways to use it:

  • After creating Damaged items, open Not Resolved, tick last week’s tickets and run the rules, so they get the label too.
  • After unblocking a customer, tick their tickets in Blocked or in the list they moved to, and run the rules they missed; see Blocked tickets.
  • After changing a rule’s priority, run the rules on its label’s list, so older tickets get the new deadline.
The Not Resolved ticket list with two tickets ticked, "Earbuds arrived with a cracked charging case" from Oliver Bennett and "Received the 4-in-1 hub instead of the 7-in-1" from Daniel Hughes. In the bulk action bar at the top, after the counter 2/14, the gear icon is highlighted and its tooltip reads "Run Rules". It runs every switched-on rule, in the order of the Rules tab, on the latest message of each ticked ticket, which is how new or changed rules reach tickets that are already there.
Rules act on messages as they arrive; Run Rules applies them to tickets you already have.
What this screenshot shows
Screen
Not Resolved (/tickets/notresolved)
Highlighted
button “Run Rules”, top-center, hovered. runs every active rule on the latest message of each selected ticket
Also visible
two rows ticked; counter 2/14; tooltip Run Rules
Purpose
run rules by hand on existing tickets

Several features act on the same incoming message. They always run in the same order, so the result is predictable:

FeatureRunsWho wins
Auto-responsesBefore rulesThey are sent or queued before any rule runs; a rule that resolves or archives the ticket does not stop them. See Auto-responses for tickets.
Tone analysis, the scoreBefore rulesRules can use the score as a condition.
Tone analysis, tone rulesAfter rulesA priority a rule set on this message stays unless Override an SLA set by message rules is ticked. See Message tone analysis.
Priorities and deadlinesWith the ruleA rule sets the priority and starts both deadlines on every matching message. See Ticket priorities and SLA.
Auto-assign on ReplyWhen you replyIt assigns only unassigned tickets, so a rule’s assignee stays. See Company Settings.
AI categories and draftsBefore rulesNo rule can look at categories. See AI categories.
AI summariesBefore rulesThe summary is renewed before rules run. See AI summaries.
AI Customers BlacklistBefore rulesThose customers’ messages get no tone score and no auto-response, so tone conditions never match them; your rules still run, and other conditions work. See AI Customers Blacklist.
Blocked customersInstead of rulesRules, auto-responses and tone priorities are skipped; Run Rules still works. See Blocked tickets.

Rules Northwind Electronics uses, written as condition → action:

RuleCondition → actionWhy
SLA AllocationNumber Of Messages Equals or More Than 1 → Update Ticket Priority Standard (24 hours)Every ticket gets a deadline; kept at the top so specific rules override it
CancellationsSubject contains cancel, or Text contains cancel → Allocate into Label CancellationsCancellation requests are answered before the order ships
EscalationsTone score (0 = furious, 1 = delighted) Equals or Less Than 0.3 → Allocate User Theo Rowe, Allocate into Label EscalationsAngry customers reach a senior agent
High value orderTotal Price Equals or More Than 250 → Update Ticket Priority VIP customers, Allocate into Label High value orderBig orders get the 4-hour promise
Damaged itemsText contains damaged, or Subject contains broken → Allocate into Label Damaged items, Allocate User Laura GrafReturns go to the returns specialist
B2B(Account is the support mailbox and Subject contains wholesale) or Subject contains bulk order → Allocate into Label B2B, Allocate User Chloe OsborneTrade enquiries reach the account manager
eBay NotificationsMarketplace is eBay and Customer Name equals eBay → Allocate into Label eBay Notifications, Mark as ReadeBay’s own notices do not count as unread
Amazon NotificationsMarketplace is Amazon and Customer Email does not contain marketplace.amazon → Allocate into Label Amazon Notifications, Mark as Read, Update Ticket Status ResolvedAmazon reports are filed and resolved on arrival
Pre-saleOrder Status Not Set (N/A) → Allocate into Label Pre-saleQuestions without an order are potential sales
German speakersLanguage is German → Allocate User Simon WagnerGerman messages reach a German speaker
Back after a monthCreated On More Than 30 days ago → Allocate into Label After-salesOld tickets that come back are usually warranty questions
Unassigned fallback, at the bottomAssigned To Not Set (N/A) → Allocate User Chloe OsborneNothing stays without an owner
TopicFact
What triggers a ruleA new incoming customer message, or Run Rules in a ticket list. Nothing else.
How many rules actEvery switched-on rule that matches, top to bottom. There is no stop.
OrderThe list order. Later rules replace status, priority and assignee; labels add up.
Per messageRules act on every matching message, not once per ticket, and write one history row each time.
New rulesStart switched off, are added at the bottom and change no existing ticket until you use Run Rules.
ValuesUse whole numbers for days and message counts; text is matched as typed.
LimitsNo limit on the number of rules, groups or conditions.
FailuresIf a rule fails while running, Replyco records it for support and runs the next rule; the ticket gets no row for it.
Deleted thingsA deleted priority, user or account makes that part of the rule do nothing; labels in use cannot be deleted.
Switching offKeeps the rule, its conditions, actions and place.
DeletingPermanent; what the rule already did and its history rows in tickets stay.
CostRules use no AI actions.
LanguageLabels follow your interface language; text conditions match exactly the words you type, in any language.
CustomersNothing a rule does is sent to the customer. Only an auto-response writes to them, and that is a separate feature.

Rules sort incoming tickets for you. Each rule under ToolsAutomation › Rules has conditions and actions; when a new customer message matches the conditions, Replyco changes its ticket: status, priority, labels, assignee, archive or read state. Every switched-on rule is checked on every new customer message.

No. Every plan includes rules, the priorities of Priorities & SLA that rules can set, and Replyco AI for the tone condition; companies on an older plan may not have all of them, see What each plan includes. You need the Automation permission to see ToolsAutomation and its edit level to change rules.

Does a message stop at the first rule that matches?

Section titled “Does a message stop at the first rule that matches?”

No. Every switched-on rule runs on every new customer message, from the top of the Rules list down, and every rule that matches carries out its actions. There is no “stop processing” option. When two rules set the same priority, status or assignee, the lower one wins; labels from all matching rules add up.

Not by themselves. Rules act on customer messages as they arrive. To apply a new or changed rule to existing tickets, open a ticket list under Tickets, tick the tickets and select Run Rules; Replyco then runs every switched-on rule on each ticket’s latest message.

A new rule is saved with Active at OFF unless you switched it on in the form. Switch it on with the switch on its card on the Rules tab. It then acts on the next customer message that matches; tickets from before need Run Rules in a ticket list.

A rule needs at least one condition. For a rule that should catch every ticket, use Number Of Messages Equals or More Than 1, which every ticket meets. Put such a catch-all rule at the top of the Rules list, so more specific rules below it can override what it sets.

Yes. Put each alternative in its own group with Add New Group on the rule form under ToolsAutomation › Rules. Groups are joined by OR, so one matching group is enough; conditions inside a group are joined by AND and must all match.

Replyco sets no limit on the number of rules, groups or conditions. Every switched-on rule runs on every new customer message, so a long list of narrow rules works, but keep it readable: give rules names that say what they do, because the ticket history shows only the name.

Under Select Source: the message’s Text, Subject, Language, Sent To and tone score; the ticket’s assignee, marketplace, account, creation date, message count and status, and the weekday of the message; the customer’s name and email; the order’s status, payment status, dates and total; and the product’s ID, title and SKU.

Can a rule check the AI category of a ticket?

Section titled “Can a rule check the AI category of a ticket?”

No. Rules have no condition on AI categories; the only AI value they can use is the tone score. To work by category, filter any ticket list by AI category or use the category cards under Smart Filters. See AI categories.

Is there a condition for messages that arrive outside our working hours?

Section titled “Is there a condition for messages that arrive outside our working hours?”

No. Rules have no working-hours condition. Day of week checks the weekday of the message being processed, in UTC, but not its time of day. For replies outside your hours, use auto-response rules, which have their own schedules; see Auto-response Rules.

Why doesn’t my ticket status condition match new messages?

Section titled “Why doesn’t my ticket status condition match new messages?”

A new customer message reopens its ticket before any rule runs, so Ticket Status is always Not Set for a new message and Resolved never matches on arrival. It only matters when you run rules by hand with Run Rules on resolved tickets.

Why does the message count show one more message than I expect?

Section titled “Why does the message count show one more message than I expect?”

Number Of Messages counts every message in the ticket, your replies included. Auto-responses are created before rules run, so a new ticket that just got an auto-response already has two messages when your rules check it. Use Equals or Less Than 2 rather than Equals 1 for first messages if you use auto-responses.

Why did my “does not contain” condition miss some tickets?

Section titled “Why did my “does not contain” condition miss some tickets?”

A text comparison never matches a field that is empty, including Not Contains. A customer without an email address, or a ticket without an order, therefore does not match. Where the source offers Not Set (N/A), add a second group with it to catch the empty case as well.

Yes. Contains looks for the characters you typed anywhere in the field, so cancel also matches cancelled and cancellation. Several words are looked for as one piece, exactly in that order; for alternatives, add one group per word under ToolsAutomation › Rules.

Two rules set different priorities. Which one wins?

Section titled “Two rules set different priorities. Which one wins?”

The lower one in the Rules list, because rules run from the top down and each matching rule replaces the priority an earlier one set. The same applies to status and assignee. Drag the rule that should win below the other; labels from both rules are added in any order.

Why was a ticket reassigned after I changed its owner?

Section titled “Why was a ticket reassigned after I changed its owner?”

A rule with Allocate User matched the customer’s next message and assigned the ticket again. Rules act on every matching message, not once per ticket. Narrow the rule’s conditions, for example with Assigned To Not Set (N/A), so it only assigns tickets nobody owns yet.

Can a rule remove a label or unassign someone?

Section titled “Can a rule remove a label or unassign someone?”

No. Allocate into Label only adds labels, and Allocate User always assigns one colleague. Remove labels or assignees in the ticket or with the bulk actions of a ticket list; see Assign, label and merge tickets.

No. Rules change the ticket, never write to the customer. Automatic replies are auto-responses, set up under ToolsAutomation › Auto-response Rules. They run before rules on each new message; see Auto-responses for tickets.

Is the colleague notified when a rule assigns a ticket?

Section titled “Is the colleague notified when a rule assigns a ticket?”

Yes, according to their own notification settings, like any assignment. The ticket also appears in the colleague’s My Tickets list, so they find it there even with notifications switched off.

Do rules run before or after tone analysis?

Section titled “Do rules run before or after tone analysis?”

Tone analysis scores the message before your rules run, so a rule can use the score; tone rules on the Tone tab set their priority after your rules. A priority a message rule set on this message stays unless Override an SLA set by message rules is ticked. See Message tone analysis.

Either the rules did not run, because the customer is blocked, or the message had no tone score: it was a reply from your team, came from a customer on the AI Customers Blacklist, had no text, the AI call failed, or tone analysis was off when it arrived. Also check the comparison: Equals 0.3 matches only exactly 0.300; use Equals or Less Than.

No. Messages from customers you have blocked are imported, but rules, auto-responses and tone priorities are skipped for them. After unblocking, tick their tickets in a ticket list and select Run Rules to apply your rules to each ticket’s latest message. See Blocked tickets.

No. Auto-responses are decided and queued before rules run on the same message, so a rule that resolves or archives the ticket does not cancel them. To keep a kind of message from getting an automatic reply, narrow the auto-response rule’s own conditions under Auto-response Rules; see Auto-response Rules.

Which message do rules check when I run them by hand?

Section titled “Which message do rules check when I run them by hand?”

Run Rules uses the latest message of each ticked ticket, which can be your own reply. Conditions on the message’s text, subject, language, recipient or tone then look at your reply and usually do not match; conditions on the ticket, customer, order and product work as usual. No auto-response is sent.

How can I see which rule changed a ticket?

Section titled “How can I see which rule changed a ticket?”

Open the ticket: each rule that matched leaves Rule Escalations applied between the messages, or Henry Clarke ran rule Escalations when a colleague applied it with Run Rules. The row names the rule, not the change; select the rule on the Rules tab to read its actions. Rows appear for users who have Load user logs in the ticket switched on in Account Settings.

I don’t see any rule rows in the ticket history. Why?

Section titled “I don’t see any rule rows in the ticket history. Why?”

History rows load only for users who have Load user logs in the ticket switched on in Account Settings. If it is on, no rule matched that message: rules only write a row when their conditions match, and rules are skipped for your replies and for blocked customers.

Does the customer see anything of my rules?

Section titled “Does the customer see anything of my rules?”

No. Rules change the ticket inside Replyco: status, priority, labels, assignee, archive and read state. Nothing is sent to the customer or changed on the marketplace, except the Linnworks actions, which change the order in your Linnworks account. Customers only receive what your team or your auto-responses send.

What happens to tickets when I delete a rule?

Section titled “What happens to tickets when I delete a rule?”

Nothing. Deleting a rule under ToolsAutomation › Rules is permanent, but the labels, priorities, assignees and statuses it set stay on the tickets, and so do the history rows with its name. The rule simply stops acting on new messages.

SymptomWhat to check
A new rule does nothingIts switch on the Rules tab (new rules start at OFF); whether a message arrived since; for older tickets, Run Rules.
A rule matches in the details panel but not on new messagesIn order: is the sender blocked? Is the message your own reply? Is the condition Ticket Status Resolved, which never matches on arrival?
A ticket got the wrong priorityRules further down the list that set another priority; then whether tone analysis replaced it (the history shows a tone row); then the priority’s own targets under Priorities & SLA.
An agent’s priority or assignee keeps changing backA broad rule with Update Ticket Priority or Allocate User acts on every customer message. Narrow it or switch it off.
A tone condition never matchesThe comparison (Equals rarely matches), then whether messages have a score: tone analysis on, customer not on the AI Customers Blacklist, message with text.
A text condition misses messagesWhether the word appears as typed; a sentence must appear exactly. Add a group per synonym or language. For empty fields, use Not Set (N/A).
A “first message only” rule never matchesNumber Of Messages counts your replies and a just-queued auto-response. Use Equals or Less Than 2 with auto-responses.
A weekday rule matches on the wrong daysOpen the rule and check which days the condition ticks. Day of week uses the date of the message being processed, in UTC, not the day the ticket began.
You must set a value for each condition.A condition has no value, or a row has no source. Fill in the value or delete empty rows.
The colleague was assigned but not notifiedTheir settings under Notifications.
Linnworks actions did not change the orderThe ticket’s order must come from Linnworks.
Run Rules changed nothingThe ticket’s latest message is your reply, so message conditions look at it; or no switched-on rule matches.
A rule’s summary shows [priority deleted] or [user deleted]The priority or user was deleted; that action does nothing now. Edit the rule and choose a current one.