Rules: who gets a chat, how fast, and what happens on its own
Assign handed-over chats to the right colleague, set response targets and team hours, let rules hand a chat over before the bot answers, close quiet chats, keep chats overnight as tickets, and saved replies.
Rules has five tabs: Assignment, SLA & hours, Routing & handover, Auto-actions and Saved replies. Admins change them; agents see them.
Assignment: who gets a handed-over chat
When the bot hands a conversation over, Assistant tries the switched-on rules from the top of the list down and takes the first that matches. The rule's name then shows in the chat. Then:
- Assign to a colleague — that person gets it if they are available; if not, the least busy available colleague gets it;
- The least busy available colleague — the available colleague with the fewest open chats gets it.
"Available" means status Available and Assistant open. Most open chats per colleague (under the list) skips anyone who already has that many; empty means no limit. With no matching rule, or nobody available, the chat waits in Needs a human for someone to press Take over: Chats.
The list shows each rule's conditions (When), what it does (Then), Last fired, how many times it fired in 7 days, and a switch to turn it off and on. Drag a row by ⋮⋮, or use the arrows, to change the order.
Create a rule
New rule, or a template under Start from a template — Returns to one person, English chats to one person, Everyone else — with Use →. Nothing is saved until you press Save.
- Name — for example "Returns → Maria".
- When — all of these must match; no condition means any chat. + Condition… and Add add one:
- Message mentions — words in the customer's message, separated by commas; whole words, in any case, Cyrillic too;
- Topic is — what the conversation is about, recognised automatically: Sales, Support, Billing, Return / refund, Complaint, Technical, Account, Legal, Financial, Feedback, Other;
- Language is — Bulgarian or English;
- Channel is — Website or Telegram;
- The customer is upset — the last message the bot read was negative;
- Customer — proved the email or did not prove it;
- Time — outside team hours or during team hours.
- Then — Assign to.
- Save — Saved — it works within a minute. Delete removes a rule.
Health and crisis topics are not offered as a rule's topic: they are never stored with the chat. Such chats go to a person anyway, by the bot's Handover tab: Bot settings.
Routing & handover: hand over before the bot answers
A routing rule is checked on every customer message while the bot has the chat, before it answers. The first that matches hands the chat over — the bot does not answer that message. It has the same conditions as an assignment rule except the channel, and then:
- The bot stays silent until a colleague answers — otherwise the bot keeps answering other questions while the chat waits;
- Assign to — a colleague, or By the Assignment rules; when the colleague is not available, the Assignment rules decide;
- Also create a ticket — No, or a ticket with priority urgent, high, normal or low.
Templates: Lawyer or court, Upset customer to a person, Wholesale to sales. Without a routing rule, the bot hands over when the customer asks or it cannot help. Routing rules work in the website chat; Telegram chats are not checked by them.
SLA & hours
Chats:
- First reply within (minutes) — 15 by default: from the handover to a colleague's first reply.
- Resolved within (minutes) — 120 by default: from the start of the conversation until it is closed.
A chat past a target is marked SLA missed in Chats, and the conversation shows which target was missed.
Tickets — due by priority — the hours from creation to the due date of a new ticket for Urgent, High, Normal and Low; empty means no due date: Tickets.
Team hours — Count only team hours, the days, From (hour), To (hour) and Time zone (for example Europe/Sofia). The response targets then count only these hours; outside them the bot tells the customer when the team is back, and a rule's Time condition reads them.
When a target is missed → Email the owner and admins — one e-mail per chat, from Monfri's address. Off by default.
The bar at the bottom says Unsaved changes: Save or Discard.
Auto-actions
- Close quiet chats — a chat only the bot handles closes after this many hours without a message (After (hours)); empty means 12 hours. It counts as Resolved — confirmed when the customer thanked, said they ordered or rated it 4–5, otherwise as Customer went silent.
- Nobody can take it → a ticket — when the bot hands over and no colleague is available (after hours, everyone away), Create a ticket keeps the chat as a ticket, so it is not lost overnight. The customer hears the ticket's number once they give the e-mail, and the reply from the ticket goes by e-mail and into the chat.
- The rating after a chat — always on: when a chat closes, the chat window asks the customer to rate it from 1 to 5.
Saved replies
New reply: Title, Shortcut (type / and the shortcut in a chat), Language and Text. {{customer_name}} and {{agent_name}} are filled in when you use it. Save; open a reply to change or delete it. In a chat, / or / Saved replies shows them: Chats.
If something doesn't work
A rule never assigns anyone
- Nobody is available: each colleague's status must be Available and Assistant open, and below Most open chats per colleague.
- The rule is off, or an earlier rule in the list matches first.
- All conditions must match — remove the ones you do not need.
A routing rule does not hand over
It is checked only while the bot has the chat and only in the website chat. Words match whole words: "return" does not match "returned".
The controls are greyed out
Only admins change rules: Service access.
The SLA e-mail did not come
It is off by default; switch it on and save. It goes to the workspace's owners and admins once per late chat, and only for targets missed in the last 2 hours.