Rule Engine Best Practices
Ready-made Rule Engine recipes for Statusbrew Engage: auto-tag conversations, route them to Team Inboxes, hide spam, send private replies, alert your team and more.
Each recipe below is a rule you can build in a few minutes and adjust to your own keywords, profiles and team. If you're new to rules, start with the Overview Of Statusbrew Rule Engine.
Who Can Do This?
The Rule Engine is available on Standard and above plans. Filters like Sentiment and Language, used in some recipes below, are available on Premium and above plans only.
Primary Owners, Owners and Admins can create and edit rules.
How Do I Start A New Rule?
Every recipe starts the same way: go to Rule Engine, click Add new rule and pick Create Manually. Add new rule also offers ready-made templates; if one is close to your recipe, start from it and adjust.
Auto Tag Conversations With Rules
Automatically tag incoming conversations and keep your inbox organized.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "High Priority Tags".
Select the Data sources, for example, Facebook and Instagram.
Set Trigger type to Message received.
Add Filters to narrow the scope:
Add condition → Message Content → In(=) → "urgent" to tag messages containing "urgent".
Add condition → Conversation Type → In(=) → Instagram Comment to target public interactions on Instagram.
Add the action: Add a new action → Add tags and choose tags such as "High Priority" or "Customer Support".
Click Submit to save and activate the rule.
Auto Manage Custom Inboxes
Send conversations to the right team automatically.
Go to the Team Inbox section in Statusbrew Engage and create a custom inbox. Add collaborators to manage it.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Move X DMs to Customer Support inbox".
Select the Data sources.
Set Trigger type to Message received for all incoming conversations.
Add Filters:
Add condition → Message Content → In(=) → "help" to catch conversations containing "help".
Add condition → Conversation Type → In(=) → X DM to target X DMs.
Add the action: Add a new action → Move to Team Inbox, choose the inbox (for example, "Customer Support") and click Add.
Click Submit to save and activate the rule.
You can also create the Team Inbox right from the rule: type a new name in the Move to Team Inbox select and pick the + option with that name.
Manage Spam With Rule Engine
Hide spam comments automatically.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Spam Filter".
Select the Data sources, for example, Facebook and Instagram.
Set Trigger type to Message received.
Add Filters to target spam comments:
Add condition → Message Content → In(=) → Buy Likes, Buy Followers, Cheap, Fake to catch comments containing these keywords.
Add condition → Conversation Type → In(=) → Facebook Ad Comment, Instagram Ad Comment to target spam on ads.
Click Add a new action and choose Hide comment.
Click Submit to save and activate the rule.
Spammers often dodge keyword lists with special fonts, swapped symbols or new site names. Add a keyword set with Describe intent instead, for example "gambling, casino or crypto scam promotion". AI recognizes that kind of spam in any language and in any font. If the same keyword set also has Keywords, a comment has to match both, so keep that list broad or leave it empty.
Rules only act on new comments. Hide spam that's already in Engage manually with bulk select.
Optional:
To delete spam comments instead, choose the Delete comment action.
To hide comments and also move them to a Team Inbox (such as Hidden comments) for moderation, add a second action: Move to Team Inbox.
Remove Spam Links With Rule Engine
Remove spammy links from your comments automatically.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Remove Spam Links".
Select the Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Message Links Count → Is not null to find comments containing links.
Add condition → Conversation Type → In(=) → Facebook Ad Comment to target spam on Facebook ads.
Add the action: Add a new action → Hide comment or Delete comment.
Click Submit to save and activate the rule.
Automate Customer Service With Rule Engine
Assign high-priority conversations to customer service agents based on sentiment.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Escalate Negative Instagram Comments".
Select the Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Sentiment → In(=) → Negative to find negative comments.
Add condition → Conversation Type → In(=) → Instagram Comment to target Instagram comments.
Add the action: Add a new action → Assign conversation and choose the user or user group, for example, senior customer service agents.
Click Submit to save and activate the rule.
Set Up Automatic Private Replies For Instagram & Facebook
Send a private reply to users who mention "help" in their comments.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Automatic Replies To Help Messages".
Select the Data sources, for example, Instagram and Facebook.
Set Trigger type to Message received.
Add Filters:
Add condition → Message Content → In(=) → "help"
Add condition → Conversation Type → In(=) → Facebook Comment
Add the action: Add a new action → Send a private message, for example, "Thank you for reaching out! How can we assist you further?"
The same rule works on Facebook dynamic ad comments, so potential customers get a quick response.
Replying to a comment with a private message or DM only works on Facebook and Instagram.
Set Notifications With Rule Engine
Alert your team when a specific kind of conversation arrives.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Notification for Negative LinkedIn Comments".
Select the Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Sentiment → In(=) → Negative to find negative sentiment.
Add condition → Conversation Type → In(=) → LinkedIn Comment to target LinkedIn comments.
Click Add a new action and select the notification action you want.
Click Submit to save and activate the rule.
Auto Filter Conversations On Language Basis
Move every conversation in one language, for example Japanese, to a dedicated inbox.
Go to the Team Inbox section in Statusbrew Engage and create a custom inbox for Japanese conversations.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Move Japanese Conversations".
Select the Data sources.
Set Trigger type to Message received.
Add the filter: Add condition → Language → In(=) → Japan.
Add the action: Add a new action → Move to Team Inbox, select the Team Inbox (for example, "All Japanese") and click Add.
Click Submit to save and activate the rule.
You can also create the Team Inbox right from the rule: type a new name in the Move to Team Inbox select and pick the + option with that name.
Auto Hide Comments With Attachments
Hide Facebook comments that contain attachments.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Hide Facebook Comments with Attachments".
Select the Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Message has attachments → Is(=) → True to find comments with attachments.
Add condition → Conversation Type → In(=) → Facebook Comment to target Facebook comments.
Add the action: Add a new action → Hide comment.
Click Submit to save and activate the rule.
Auto Close Conversations With Mentions & No Text
Close X mentions that contain no text.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Close X Mentions with No Text".
Select your X accounts as Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Message Mentions Count → Is not null to find conversations with one or more mentions.
Add condition → Message Content → Is null to find mentions with no text.
Add condition → Conversation Type → In(=) → X Mention to cover all X mentions.
Add the action: Add a new action → Close conversation.
Click Submit to save and activate the rule.
Auto Notify About Conversations From A Particular Campaign
Get notified about conversations from a specific marketing campaign.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Campaign Notifications".
Select your X accounts as Data sources.
Set Trigger type to Message received.
Add the filter: Add condition → UTM Campaign → Is(=) → "Summer Campaign" to catch conversations from that campaign.
Add the action: Add a new action → Slack Alerts and choose the Slack workspace and channel to notify.
Click Submit to save and activate the rule.
Tag Spam Or Troll Accounts
Tag messages from likely spam or troll accounts.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Tag Spam or Troll Accounts".
Select the Data sources.
Set Trigger type to Message received.
Add the filter: Add condition → Message Content → In(=) → spam, troll, fake.
Add the action: Add a new action → Add tags and choose tags such as "Spam" or "Troll".
Click Submit to save and activate the rule.
To go further:
To notify moderators, add another action that sends a notification to the right channel.
To move these messages to a review inbox (for example, "Review Spam"), add a Move to Team Inbox action.
Keep Mentions From Verified Accounts In A New Inbox
Route mentions from verified X accounts into a dedicated inbox so high-value conversations get attention first.
Go to Rule Engine → Add new rule → Create Manually.
Give the rule a Name, for example, "Route Verified Account Mentions".
Select your X accounts as Data sources.
Set Trigger type to Message received.
Add Filters:
Add condition → Contact Verified (X only) → Is(=) → True.
Add condition → Conversation Type → In(=) → X Mention.
Add the action: Add a new action → Move to Team Inbox, select the Verified Acc Mentions inbox and click Add.
Click Submit to save and activate the rule.
FAQs
Can I Create A Team Inbox While Setting Up A Rule?
Yes. In the Move to Team Inbox action, type a name that no existing Team Inbox uses and pick the + option with that name. Statusbrew creates the Team Inbox, and the rule moves matching conversations into it.
What Happens If A Conversation Is Already In A Team Inbox?
By default, nothing. The Move to Team Inbox dialog has the checkbox "Don't apply this action if the message is already in a Team Inbox." selected. Clear it if you want the rule to move conversations even when they already sit in a Team Inbox.
Can I Run One Of These Rules Only During A Campaign?
Yes. In the rule editor, open Additional options → Active period and set a start time, an end time, or both. The rule only acts inside that window, in the rule's Time zone. Until the start time, the rule shows Upcoming in the rules list.
Can I Hide A Comment And Move It To An Inbox In The Same Rule?
Yes. Add Hide comment as the first action, then add Move to Team Inbox as a second action. Rules can run several actions together.
Can I Send Automatic Private Replies On LinkedIn, X Or TikTok?
No. Replying to a comment with a private message or DM only works on Facebook and Instagram.
Which Conversation Type Should I Pick For Spam On Ads?
Use Facebook Ad Comment and Instagram Ad Comment under Conversation Type. For regular post comments, use Facebook Comment or Instagram Comment.
Can My Spam Rule Catch Comments Written In Special Fonts Or With Changing Keywords?
Yes. Use a keyword set with Describe intent in the rule. AI recognizes gambling, casino and similar spam in any language, including special fonts, swapped symbols and new site names. When the same keyword set also has Keywords, a comment has to match both to be hidden, so keep the keyword list broad or use Describe intent on its own.
Why Can't I Find The Sentiment Or Language Filter?
Sentiment and Language filters are available on Premium and above plans only. On a lower plan, the sentiment and language recipes in this article aren't available.
Is There A Faster Way Than Building A Rule From Scratch?
Yes. Add new rule opens ready-made templates, such as auto-hiding negative comments or comments with links. Pick one, review its filters and actions, and adjust them.