The rules bot: automatic replies that actually help
Set up a greeting, opening hours, keyword rules and handoff to a person. The bot answers the repetitive and your team the important.
The bot automatically replies to new WhatsApp and web chat messages as long as nobody on the team has taken the conversation. As soon as a person replies, or the bot decides to hand it to the team, the bot stops.

The basics
In Settings → Automations → Bot and rules turn it on with Bot enabled and fill in:
| Field | What it does |
|---|---|
| Initial greeting | Sent only on the customer's first message. Empty = no greeting |
| When it doesn't understand | Sent if the message matches no rule |
| Hand off to a person after N misunderstood messages | After N messages in a row without a useful answer, the bot gives up |
| Message when handing off | What the customer sees when the bot hands over the conversation |
| Reply to files without text | When the customer sends a photo or document without writing. Empty = no reply |
| Opening hours | Outside hours, the bot only notifies (once every 6 hours) |
Keyword rules
Rules are the heart of the bot. Each rule has:
- Words or phrases separated by commas (for example:
hours, open, time). - A reply or an action (hand off to a person, add a tag, resolve).
- Optionally, options (a menu: "1", "2") that are only evaluated after the customer reaches that rule.
Example: welcome menu
- Rule "menu" with the words
hello, hi, menu. Reply: "How can I help? Type 1 for orders, 2 for shipping or 3 to talk to someone". - Options of that rule:
1→ order information,2→ shipping times,3→ hand off to a person.
When it hands off to a person
The bot hands over the conversation and marks it "Needs a person" when:
- The customer asks with phrases like "I want to talk to an agent".
- There are N messages in a row it didn't understand.
- A rule has the hand off to person action.
- The customer sends a file and you didn't define a reply for files.
Best practices
- Start with 5 to 8 rules about the questions you get most (hours, prices, shipping, payments, location).
- Write short replies with a clear next step.
- Review the "Needs a person" conversations every week: they tell you which rule is missing.
- For questions that don't fit in rules, combine the bot with AI and the knowledge base or with flows.
Was this article helpful?