How to route conversations by keyword and block unwanted numbers
Automatically route conversations based on what the customer types. When a new message contains the keyword, the rule can reply, send it to a department, apply a tag — or all of these together.
All of this is in , which also brings together other important settings.
Create the rule
Enter the Keyword (e.g., “quote”, “defect”, “duplicate invoice”).
Choose the actions
Fill in an Automatic reply (optional), Route to a department and/or Apply tag.
Set the priority
If rules tie, the one with the lower number wins. Default: 100.
Turn it on
Use the Active / Inactive button to turn a rule on or off without deleting it.
🕓 Auto-close inactive conversations
Tired of conversations that stay open forever because the customer replied “ok, thanks” and disappeared? Auto-close cleans up the queue on its own: it closes the conversations where you already replied and the customer didn't write back within the time you set.
Open and go to 🕓 Auto-close
It's on the same screen as the keyword rules and SLA.
Turn on the option
Check Turn on auto-close.
Choose the inactivity time
In the After: field, select how long without a reply from the customer before closing: 1, 3, 6, 12, 24, 48 or 72 hours (default: 24h). Click Save.
Other settings in Automation
- 🔔 SLA alert — sound and notification when a conversation goes past X minutes without a reply.
- 🕓 Auto-close — closes inactive conversations after the set time, with optional CSAT (detailed above).
- 🔁 Smart reopen — the window in which a closed conversation reopens if the customer replies (1, 3, 7, 30 days, always or never).
- 📋 Agent shifts — the Require a shift to receive conversations option (on: only those on shift receive new conversations; off, the default on a new account: being online is enough) and putting someone on/off shift manually. See Status and shift.
- 🔒 Data retention (LGPD) — optional and off by default (full history forever). When on, the history of closed conversations older than the period (from 90 days to 5 years) is permanently deleted every day — messages and media files; contacts are kept. For companies whose privacy policy requires a retention period.
- 👥 Service affinity (customer portfolio) — when on, a new conversation first tries the contact's preferred agent (if online, on shift — when the account requires shifts — and below the cap); if not, it follows normal load-based routing. The preferred agent is set when editing the contact.