Skip to content

Guide 107 of 16914 min read

Incoming chat rules: labels and numbers

Label chats by the words customers write or by what they're about, keep suppliers out of your sales flow, and treat the numbers you know your way: one salesperson, VIP, not a buyer, or muted.

21:40, and the sales phone buzzes: "Hot lead". It turns out to be a supplier offering to deliver rocks to your project, and the AI greeted them like a buyer. This really happens, and we don't like it. Your sales team deserves to know which chats are actually about buying, and someone who wants to sell to you deserves a short, polite answer, not a pitch.

This page covers one card under Settings › Sales: Incoming chat rules. It is one list with two kinds of rule: a rule based on Chat content (it puts a label on the chat), and a rule based on the Sender's number (a number you know). The list is empty until you add a rule, and only Owners and Admins can change it.

Settings, Sales: the Incoming chat rules card with the Kemang house label (Keywords: kemang, cilandak) handled by Ayu Lestari and Dimas Pratama, Vendor or supplier marked Not a buyer, one VIP number, the +60 country code as Not a buyer and one number Always handled by Ayu Lestari

Chat content, or the sender's number ​

What you want to sort byPick in the rule
What the chat is about, such as "asks about a house in Kemang" or "a supplier offering goods"Chat content. The chat gets your label when the customer writes one of your keywords, or when the AI sees it is about your topic.
Who sent it, such as a partner's number or every number from MalaysiaSender's number. An exact match, no guessing.
One word, name or number you want to look up in the chats you already haveThe inbox search box. See Inbox list, search, and lists.

Adding a chat content rule ​

  1. Open Settings › Sales. On the Incoming chat rules card, press Add a rule. The New rule dialog opens.
  2. Under This rule is based on, keep Chat content.
  3. Fill in Label name. It becomes the tag on the chat, for example Kemang house. A name another label has, or a tag KIRA adds itself (such as sales, ad, spam or muted), is taken: pick another word.
  4. Under A chat gets this label when, fill in The customer writes one of these keywords, or Or the chat is about this topic, or both. At least one is needed. The next section says which to use.
  5. Under Then what happens, next to Salespeople who handle it, pick the salespeople who cover this label, such as the ones who cover Kemang. The AI still answers first: when the chat needs a person, or the customer is ready to buy, only they are told and get the chat. Leave it on Anyone on the team to share them with everyone.
  6. Turn on The sender is not a buyer only for people who sell to you, such as vendors and suppliers.
  7. Press Add rule. "Rule ... added" appears.

One kind of chat per label. A workspace keeps up to 10 chat content rules, and the dialog tells you when you reach that.

Start from an example ​

While the list is empty, the card shows Start from an example. Tapping one opens the dialog already filled in, so you only change what differs for your business and press Add rule.

ExampleWhat it fills in
Share chats by area with the salespeople who cover itA label Kemang house with the keyword kemang
Keep out vendors and suppliersA label Vendor or supplier with The sender is not a buyer on and the sentence "The sender offers their own goods or services to sell, supply or deliver to us"
Keep an existing client with the same salespersonA number rule set to Are always handled by one salesperson
Put important customers firstA number rule set to Come first, as VIP
Mute a number that bothers youA number rule set to Are muted

If suppliers keep writing to your business number, start with Keep out vendors and suppliers.

Keywords or a topic: which to use ​

A label can be picked two ways, and you can use both on one label. Keywords are found as you wrote them. The topic is read by the AI.

The customer writes one of these keywordsOr the chat is about this topic
What you writeWords or short phrases, such as kemang and cilandak. Type one, press Enter, and it becomes a chip.One sentence in your own words: "Asks about a house in Kemang, to buy or rent"
How it decidesIt finds your word in what the customer wrote. No AI is needed.The AI reads the meaning, so other wording is caught too.
Use it forA name customers always write the same way: an area, a project, a product, a brandA kind of chat that comes in many wordings: a supplier offering goods, a question about instalments
What it missesA chat that means it without writing the word, or writes it with a typoNow and then the AI reads a chat wrong (see "When the AI gets it wrong" below)

What to know about keywords:

  • Whole words only. kemang matches "rumah di Kemang?" but not "kemangi". Upper and lower case make no difference.
  • A phrase is one keyword. rumah kemang matches only when those two words come together.
  • A label keeps up to 20 keywords, each 2 to 40 characters.
  • Use both when it helps. The chat gets the label when either one fits: the keyword catches the plain mentions, and the topic catches the chats that say it another way.

For the topic, write one sentence about what the sender does ("offers a moving service"), not what they don't do: a plain, positive sentence is easier for the AI to read. It can be up to 300 characters.

What happens when a label applies ​

  • Every incoming message is checked on every channel: WhatsApp, Instagram, Messenger and the web chat. When the customer wrote one of the label's keywords, or the AI sees the chat is about your topic, the label's name is added as a tag on that ticket (stored lower-cased, so kemang house; the inbox row shows it the way you wrote the label, Kemang house).
  • One chat can get several labels.
  • The ticket's Activity names the label: Lead label Kemang house added as a tag. When a keyword picked it, a line under that entry shows the word: The customer wrote "kemang".
  • A label never comes off by itself. If a teammate removes its tag from a ticket, the label won't add it back on that ticket.
  • In the inbox, each label gets its own list in the top row right away, under the label's name and with the number of chats in it: tap it to see every chat with that label, finished ones too. See The inbox list.
  • Tags show on the inbox row and in the ticket panel. Under Reports › Sales, Your labels counts the leads for each label, and the count opens those chats in the inbox. See The Sales report.

A label with The sender is not a buyer off doesn't change what the AI says and doesn't raise priority. It just names the chat, so your team sees at a glance what it's about.

A label with salespeople under Salespeople who handle it also decides who gets the chat when the AI hands it to your team: only those salespeople. The Looks ready to buy notice for that chat goes to them alone too; a chat no rule names still tells the whole team. How it plays out for a team that competes for leads is in When your salespeople compete for leads.

Changing or removing a rule ​

Tap a rule in the list to open Edit rule, change it, and press Save rule.

RuleWhat you can changeWhat stays
Chat contentIts keywords, its topic, the salespeople under Salespeople who handle it, and The sender is not a buyerThe label's name, because it is already on chats as a tag
Sender's numberWhat happens to chats from the number, the salesperson who gets them, and the noteThe number. To use another number, remove the rule and add a new one.

A change applies to messages that arrive after it. Chats that already carry the tag, or that a rule already marked or closed, stay as they are.

To remove a rule, tap the trash icon on its row and confirm under Remove this rule?. Removing a chat content rule leaves its label on the chats that already have it. Removing a number rule means chats from that number are treated like any other chat from then on.

Not a buyer ​

A chat marked Not a buyer, by a label or by a number rule, is treated as someone selling or supplying to you:

What changesThe result
The Hot lead tag and the lead noticeNone. Your rule outranks the AI: if the AI had already tagged the chat Hot lead, the tag comes off when the rule marks it
The tag not-buyerAdded beside the label's own tag, so the Not a buyer list in the inbox shows every chat marked this way, by a label or by a number. If the list isn't in the row yet, add it from +
The AI's replyA short thank-you, no pitch, no questions about their needs or prices. For a partnership question, the AI offers to pass it to your team.
The quiet-lead follow-upNot sent. See Following up quiet customers.
Reports › SalesNot counted as a lead, shown as "vendors and partners left out"
The ticket panel, This ticketNot a buyer (a lead filter marked it) with a Mark as buyer button

This ticket on a supplier's chat: Not a buyer (a lead filter marked it) with Mark as buyer, and the vendor or supplier tag

When the AI gets it wrong ​

When a label is picked by its topic, the AI reads the chat, and the AI can be wrong. A buyer asking "can you deliver crushed stone to my site?" might read like a supplier. The AI only marks Not a buyer when the chat clearly offers to sell, supply or deliver to you, and when it's unsure it leaves the chat unlabelled. Still, glance over them now and then. A keyword is literal, so it can catch a chat you didn't mean too: pick words that only those chats use.

To undo it, open the ticket and press Mark as buyer under This ticket. Anyone on the team can. From then on the chat is a buyer's again, Activity records Marked as a buyer by a teammate, and no label or number rule marks that ticket again. The label's own tag stays; remove it like any tag if you want.

It can miss the other way too: a chat that should get a label doesn't. That chat simply carries on as normal. Add the tag by hand, then open the rule and add a keyword or reword its topic so it's clearer.

Adding a number rule ​

  1. On the Incoming chat rules card, press Add a rule, then pick Sender's number under This rule is based on.
  2. Fill in Number or country code: a full number like +62 812 3456 7890, or + and a country code like +60 for every Malaysian number.
  3. Under Chats from this number, pick how the sentence ends: Are always handled by one salesperson, Come first, as VIP, Are not from a buyer or Are muted. Each choice has a line that says what it does. Are always handled by one salesperson also asks for the Salesperson who handles it.
  4. Fill in Note (optional) so your team knows who this is, for example "Our rock supplier".
  5. Press Add rule.

In the list, the rule shows its number with a short badge: Always handled by and the salesperson's name, VIP, Not a buyer or Muted.

Chats from this numberWhat it does
Are always handled by one salespersonWhenever the AI hands their chat to your team, it goes to the salesperson you picked, such as the one who brought this client in, and never moves to someone else on its own. Only that salesperson gets the Looks ready to buy notice, and the AI never closes the chat as spam. A number rule beats a label's Salespeople who handle it.
Come first, as VIPTagged VIP and ranked higher, and the AI never closes the chat as spam. If a teammate removes the VIP tag from a ticket, it isn't added back.
Are not from a buyerThe tag not-buyer and everything Not a buyer does above
Are mutedThe message is kept, but the chat closes with the tag muted: no AI reply and no notice. You can still read it under the Done tab, and the Muted list in the inbox shows them all, whichever tab you were on (if it isn't in the row yet, add it from +). Activity says Closed: this number is muted in Sales settings.

The VIP tag used is the first one under Settings › Routing › Advanced › VIP tags, or vip while that list is empty.

The rules worth knowing ​

  • Mute never touches a chat someone took over. If a teammate is handling that number, the chat stays open and stays theirs: they chose to talk to this person. The AI stays quiet, as on any chat your team holds, and that teammate is still notified.
  • Mute also covers a chat that is waiting. If you mute a number while its chat waits for the customer's reply, no follow-up goes to them: when the follow-up would be due, the chat closes the same way.
  • Only a proven number counts. WhatsApp proves the sender's own number, so a rule applies from the very first message. On Instagram, Messenger and the web chat, a rule applies once the customer has a verified number. A number someone only typed into the chat never counts, because anyone can type someone else's number.
  • The most specific rule wins. A full number beats a country code, and a longer country code beats a shorter one.
  • One rule per number, up to 100 number rules per workspace.

What priority means, for a sales team ​

Priority answers one question: which chats should a person look at first.

Goes up whenGoes down whenDoesn't raise it on its own
The customer is upsetThe AI is handling the chat confidentlyHow long it has waited
The customer wants to buy, or carries a VIP tagWe're waiting on the customer's replyThe order it arrived in
The customer is known or verifiedA label
The customer asks for a personA long chat, or a big order value

A number rule raises priority only through the VIP tag it adds. Among chats with the same priority, the one that has waited longest is served first. How to change priority by hand is in Notes, tags, and priority.

Why we built it this way ​

Sales teams asked us for keywords, and for an area or a project name a keyword is the right tool: the word is in the chat or it isn't. But a keyword only knows the wordings someone wrote down. It misses the next one, and every language nobody listed. So a label takes both: your own words for the sure cases, and one plain sentence the AI reads for the rest. Your team's correction always wins, for good. Numbers are the simple case: there, certainty beats understanding, so the rule is an exact match.