Skip to main content

What routing does

Every ticket that lands in HaloAgents needs to end up somewhere: a specific inbox, a priority, a category, and (optionally) a teammate to own it. Routing rules are the engine that decides those things automatically the moment a ticket is created, and they can keep acting on a conversation afterwards: when the customer replies, when the status, inbox or assignee changes, when a tag, type or field changes, and when it is resolved. Each rule picks the triggers it runs on. A rule with only the default trigger (Conversation created) behaves as before: it runs once, at creation. Rules never re-run on existing conversations just because you edited them. Find it at Settings > Inboxes > Routing (/dashboard/settings/inbox, the Routing tab).

Triggers

Every trigger except Conversation created runs in the background a moment after the change. For each event, rules that have that trigger are evaluated top to bottom; the first match wins. Some actions cannot run on some triggers, because they would contradict the trigger or only loop (for example Set status on Status changes, Route to inbox on Moved to another inbox, a CSAT survey on Conversation created). The editor only offers the actions every picked trigger allows.

Loop guard

A rule’s own actions fire triggers: adding a tag is a field change, setting the status is a status change. So rules can chain (“tag added → set type”, “resolved by a rule → survey”), but the same rule never runs on the same conversation more than once per minute. A run the guard stops is recorded in the routing log with loop_guard: true and applies nothing.

How rules evaluate

Rules are an ordered list. The first rule whose conditions match wins. Halo applies that rule’s actions and stops looking. Anything that doesn’t match any rule falls through to the implicit catch-all: the default inbox with no special priority, category, or assignee. This means:
  • Order matters. Move more specific rules above more general ones.
  • There’s no “and also.” Two rules can’t both match. The second one is ignored.
  • The catch-all is built in. You don’t need a rule like “everything else → default inbox”, that’s how the system already behaves.
You sort rules with the up and down arrows in the list. The numbered badge on each rule reflects its current priority.

Anatomy of a rule

Each rule has four parts:

Conditions

Conditions are built with the standard filter bar. You can mix:
  • Ticket fields: status, email_subject, email_body, source (email / widget / slack / etc.), priority, auto_created, Tag (the conversation tags the ticket carries), Ticket type and each type’s own fields (see Ticket Types), Within office hours (judged at the moment the trigger fires), and any custom field on the ticket via custom:<key>.
  • End user fields: name, email, plan, last_seen, mrr, arr, and any user trait via custom:<key>.
  • Company fields: company.name, company.domain, company.industry, and any company trait.
  • Stripe fields (when Stripe is connected): stripe:subscription_status, stripe:mrr, stripe:plan, etc.
  • Lead fields (for unidentified visitors): lead:lead_status, lead:lead_source.
Within a rule, you can group conditions with AND / OR for things like “plan is Enterprise OR mrr is greater than 1000”. A condition can also be a saved segment: “Contact segment is in VIP customers” or “Company segment is in Fintech accounts”. The rule follows the segment’s current filters, so editing the segment changes what the rule matches. See Segment Conditions.

Actions

When a rule matches, any of these can be set: You can leave any action blank, only the ones you set are applied. The other fields fall back to defaults.

Round robin and company owner

Round robin gives each new ticket the rule matches to the next teammate in a list you pick, in turn. Each rule keeps its own rotation. Two tickets that arrive at the same moment never go to the same person. Teammates who are out of office, or who left the team, are skipped. The order is the order of your team list. Company owner assigns the ticket to the owner of the contact’s company (the owner set on the company in Customers). Choose a fallback for when the contact has no company, the company has no owner, or the owner is out of office or left the team:
  • Leave unassigned
  • A specific teammate
  • Round robin across a list of teammates
Teammates mark themselves out of office from Profile > Personal Info > Availability. Admins can do it for anyone from Settings > Team (the ⋯ menu on a teammate). Being out of office only affects new assignments: conversations already assigned stay where they are.

The dry-run preview

When you’re editing a rule, the right-hand panel shows a live preview computed against the last 30 days of events for the rule’s triggers (new conversations for Conversation created; customer replies, status changes, moves, resolves, assignments, tag changes for the others), each evaluated against the conversation as it is today:
42 tickets in the last 30 days would have matched this rule. 6 would have been routed by an earlier rule first. 36 would actually be routed by this rule.
When the rule assigns by round robin or company owner, the preview also shows who would get those tickets: how many each teammate would receive, how many would go to the company owner or the fallback, who is next in the rotation, and who is skipped because they’re out of office. The preview starts from the rule’s current place in the rotation and never moves it. This is the most important UX in the whole settings page. It tells you, before you save:
  • How many tickets your rule actually catches.
  • How many it doesn’t catch because something earlier matched first (so you can move the rule up if needed).
  • Whether the rule is too broad or too narrow.
Tweak conditions, triggers or the rule’s position and the numbers refresh on every change. With several triggers the panel adds one line per trigger. If the preview hits a hard cap, you’ll see a “(capped)” note, which means we sampled instead of scanning the whole window; “(estimate)” marks a trigger whose history Halo approximates (assignments, resolves and tag removals keep no exact log).

A practical example

Say you’re a support team that wants:
  1. Enterprise customers always go to the VIP inbox at Urgent priority.
  2. Anything mentioning “refund” or “cancel” goes to the Billing inbox.
  3. Anything from the widget on a logged-in Pro user goes to the Pro Support inbox at High priority.
  4. Everything else stays in the default inbox.
Your rules, top to bottom: Rule 4 is unnecessary because the catch-all already routes everything else to the default inbox. If an Enterprise customer asks for a refund, Rule 1 wins because it’s first. That’s usually what you want, the VIP inbox sees the ticket and a Billing person can be CC’d. If you’d rather refunds always go to Billing regardless of plan, move Rule 2 above Rule 1.

Common patterns

Conditions: plan is enterprise. Actions: assign to a “VIP” inbox, priority Urgent. Add similar rules for Pro, Free, etc.
Conditions: email_subject contains refund. Actions: inbox Billing. Stack a few of these for password, import, integration, etc.
Conditions: stripe:mrr greater than 500. Actions: inbox High Value, priority High. Useful when “Enterprise” isn’t a clean enum on your end.
Conditions: source is slack. Actions: assign to the teammate who owns Slack support. Same idea for widget, email, or voice.
Conditions: auto_created is true AND lead:lead_source is pricing_page. Actions: priority High, assign to a sales-friendly inbox.
Actions: inbox Support, assign to Round robin with the teammates on that team. New tickets go to each of them in turn, skipping anyone out of office.
Conditions: plan is enterprise. Actions: assign to Company owner, with Round robin across your support team as the fallback for contacts without an owned company.
Trigger: Customer replies. Conditions: Within office hours is false. Actions: Send a message → reply with your “we’re closed, back at 9am” saved reply.
Trigger: Conversation resolved. Conditions: Tag is Billing. Actions: Send a CSAT survey after 1 hour.
Trigger: Moved to another inbox. Conditions: plan is enterprise. Actions: Notify the team → Slack #escalations.
Trigger: Type, tag or field changes. Conditions: Tag is Bug. Actions: Set ticket type → Bug. The loop guard keeps the type change from re-running the rule.
Emails that pitch article or listicle placement, guest posts, backlinks, link exchanges or partnerships are rarely for your support team. Settings > Inboxes > Routing > Partnership and link requests sends them somewhere else as they arrive. Pick one destination: Either way Halo’s AI does not answer the conversation. Spam and emails from your trusted senders are never sent on. While this is on, spam filtering is told to leave partnership and link requests alone, so a spam rule does not file them under Spam first.

Closing sent conversations

Close the conversation once it is sent is on by default: a conversation that has been handed to Sight AI or forwarded is resolved, so these emails do not pile up in your inbox. Nothing is deleted. Switch it off to keep sent conversations open; Halo’s AI still does not answer them. For Sight AI, the switch starts out matching Auto-resolve after sending on the Sight AI integration page. That integration switch keeps applying to conversations you send to Sight AI by hand from the inbox.

Follow-ups from the same sender

People who send these emails usually chase them (“Just bumping this”, “Would this be worth considering?”). Halo treats those as part of the same request:
  • A reply on a conversation that was already sent goes to the same place, Sight AI or your forwarding address, and the conversation stays closed. If it cannot be sent, the conversation reopens in your inbox like any other reply.
  • A new email from someone whose previous conversation was sent in the last 90 days is sent as well, whatever it says.
  • A conversation a teammate has been assigned is left alone: replies on it arrive in the inbox as usual.
  • If Sight AI has unsubscribed a sender, their later emails are not handed over again. With the switch above on, those conversations are closed rather than left open.

Forwarding to an email address

  1. Choose An email address, enter the address and click Send verification.
  2. Halo emails a 6-digit code to that address. Enter it within 15 minutes.
  3. Make sure the Partnership and link requests switch is on. Verifying an address does not switch it on for you.
Matching emails are forwarded once the address shows Verified and the switch is on. Nothing is forwarded to an address until its code has been entered, and sending a code to a different address stops forwarding to the old one. The address cannot be one of your Halo mailboxes, because the forwarded email would come straight back into your inbox.

Forwarding a conversation yourself

Some partnership and link requests are not recognised as they arrive and stay in your inbox. While forwarding to an email address is on, the conversation’s Details panel has a Partnership forwarding section with a Forward to button that names your address. One click sends the sender’s emails on that conversation to the address (their latest first, earlier ones below it) and resolves the conversation, so it leaves your open list. Their later emails on the thread are forwarded too. The section also shows where a forwarded conversation went, and Forward again sends it once more. The button needs permission to reply in the inbox. You can hide or move the section with Customize panel. Every forwarded email has a Stop these emails link. If the person reading the address uses it, or the address bounces or reports a forwarded email as spam, forwarding switches off and new emails stay in your inbox. The section shows why. An address that was stopped by its reader can be verified again to resume; one that bounced or reported spam has to be replaced with a different address. To stop forwarding yourself, switch the section off, or click Remove next to the address.

Tips

  • Start broad, then refine. Get one or two big rules right (Enterprise, Billing) before micro-managing every category. Most of your tickets will fall through the catch-all and that’s fine on day one.
  • Watch the dry-run. If a rule says “0 would match”, check the conditions, you probably typed a value that doesn’t exist on tickets.
  • Disable, don’t delete. Toggle a rule off with the switch when experimenting. Easier to roll back than recreating it.
  • Read top to bottom. When you’re triaging an unexpected route, walk the list from rule 1 down. The first match wins.
  • Use “Test rule” before saving big changes. Editing a high-priority rule with a broken condition can dump everything into the wrong inbox. The preview is your safety net.

Permissions

Routing rules are workspace-scoped: every rule applies to every ticket in the workspace, regardless of inbox or agent.

Where to go next

Inbox Views

Configure the default inbox, auto-assign on reply, and saved views.

Escalation

How AI agents decide to escalate to a human in the first place.

Health Scores

Use health score in your routing conditions for at-risk customers.

Tickets

What teammates see once a ticket is routed.