Where it lives
ReplyMind → Reply Rules in the admin sidebar. Click Add Rule to open the rule editor (a modal with title, condition, condition value, action, action value and an enabled toggle). Rules save instantly via AJAX — no page reload. Free in ReplyMind 1.1.0 and later.
How a rule is evaluated
Every rule has one condition and one action. When a comment is about to be sent to the AI, ReplyMind walks the list top-to-bottom and applies the first rule whose condition matches. Rules further down are ignored for that comment, so order matters — drag rows by the ☰ handle to reorder them.
Rules run before the AI is called. A Skip rule therefore costs nothing — no API request is made.
Conditions (7)
| Condition | Matches when |
|---|---|
| Always | Every comment. Put it last as a catch-all. |
| Keyword | The comment body contains any of the comma-separated keywords (case-insensitive substring match). |
| Category | The post belongs to one of the comma-separated category term IDs. |
| Word count min | The comment has at least N words. |
| Word count max | The comment has at most N words. |
| Author email | The commenter's email matches a listed address or a wildcard domain such as *@competitor.com. |
| Post type | The post is one of the comma-separated post types — e.g. post, product. |
Actions (4)
| Action | Effect |
|---|---|
| Skip | Do not generate a reply for this comment. |
| Flag for review | Generate normally, but set _replymind_flagged so the comment shows an amber Flagged pill and appears under edit-comments.php?replymind_filter=flagged. Clear it with the per-row Unflag action. |
| Override tone | Use a different tone for this comment only (e.g. switch to Empathetic when complaint keywords appear). |
| Append prompt | Add extra instructions to the system prompt for this comment only (e.g. "Always offer the refund link" when billing terms appear). |
Example rule set
A sensible starting point for most blogs:
- Keyword
casino, crypto giveaway, buy followers→ Skip (spam). - Keyword
refund, broken, not working, cancel→ Flag for review (support complaints). - Keyword
thank you, love this, great post→ Override tone: Friendly (praise). - Keyword
price, pricing, how much→ Append prompt: "Mention that pricing is on the /pricing page." - Word count max
3→ Skip (too short to answer).
Tips
- Use the per-rule on/off toggle to disable a rule without deleting it. Only enabled rules are evaluated.
- Rules are stored in the
replymind_pro_reply_rulesoption. Editors can't manage rules — it needsmanage_options. - Rules interact with Sentiment detection and per-post settings in a fixed order: per-post overrides → sentiment → rules → AI call.
- For anything rules can't express, the
replymind_send_comment_datafilter (see Developer reference) still works and runs before the rules engine.