Statusbrew offers a Rule Engine that automatically manages your incoming conversations across social. Using the rule engine, you can update your conversations based on the conditions you specify, and even combat spam and trolls before they have a chance to ruin your brand's reputation.
In this article
For instance, you can set a rule to hide all the spam comments on your posts or set a rule that assigns conversations regarding discounts to a team member managing sales for your business.
What Can Rules Do In Statusbrew?
Using Rule Engine in Statusbrew, you can automate the following actions,
-
Send a Private Reply (For Facebook only)
- Hide comment (Network-specific)
- Unhide comment (Network-specific)
- Delete comment (Network-specific)
- Assign conversations to users/user groups
- Update conversation state
- Add Watchers
- Move conversations to Engage Inboxes
- Mark conversations as Priority
- Add Tags
- Remove Tags
- Send Slack Alerts
- Send Notifications
- Send Emails
- Set up Microsoft Team Alerts
Understanding A Rule In Statusbrew
Before you create your first rule in Statusbrew, you need to understand the different aspects of a Statusbrew Rule. There are three parts in defining a new rule:
- Data Sources: Select the profiles & profile groups where you want the rule to be applied. Selecting a social profile is mandatory, and a rule cannot be created without the same.
Note:
You can add both profiles and profile groups as data sources while creating rules. Using profile groups in rules enables you to manage rules as well as your profiles better in Statusbrew.
Learn More - Trigger Type: Since the Rule Engine is for Engage conversations, the rule will be triggered when a message is received. So you'll have to select the trigger type - message received from the drop-down
- Filters: The Filters section of a rule defines the conditions where your rule would be activated.
For e.g. - Conversation Type can be specified as Facebook comments, Instagram comments, Twitter messages, etc
Note: Filters can work both in an inclusive and exclusive format. If you lay them out separately (in separate boxes or as separate conditions), they are recognized as "AND" conditions i.e. both conditions have to be met in order to trigger the rule. If you put them in one text box or in one condition only, they will be considered as OR conditions i.e., the rule will be executed if ANY of the values mentioned within the "IN" operator match.
The conditions mentioned in the same dialog box are treated with OR logic i.e. even if any one of the mentioned conditions is met, the rule will be executed. But the conditions mentioned in separate dialog boxes are treated with AND Logic, i.e. all the conditions must be met for the rule to be executed.
For instance, here for the rule to be executed, the message can be either an Instagram message, mention, or media tagged but the sentiment MUST be Positive.
- Conversation Type i.e based on the type of conversation like is null, is not null, etc.
- Message (Content) i.e based on the content of the message
You can add .* at the beginning and the end of or the end of the phrase to match words.
For instance,
a. .*bot would include "bot" & "robot" both words
b. bot.* would include "bot" & "bots" both words
c. .*bot.* would include "bot", "robot", "bots", and "robots" as blacklisted words
- Message has attachments i.e to specify if the message has attachments or not
- Message Links Count i.e, based on the number of links in the conversation
- Message Mentions Count i.e based on the number of mentions in the conversation
- Story Mention i.e, whether it is a Story mention or not
- Engage Inbox i.e, which inbox is it from
- Sentiment i.e whether sentiment type is Positive, Negative, Neutral, or Mixed
- Language i.e you can choose the rule to be triggered only for a particular language
- Post Text i.e to specify if the post has a particular text in it
- Post Tag i.e if the Post has a particular Tag (Tags are internal labels)
- Contact Tag i.e if a Contact has a particular Tag (Tags are internal labels)
- Contact Name i.e based on the name of the contact
- Twitter Verified i.e. if the Twitter account is verified
- Twitter Follower i.e to specify if the person is our Twitter follower - Actions: The "action" section defines what happens to the conversations that comply with the above. It lets you choose what happens when your rule is triggered.
- Internal (applicable to all types of conversations across different social networks)
- Assign conversation to a user/user group
- Update conversation status
- Add Watchers
- Move to Engage Inboxes
- Mark conversation as a priority
- Assign and Remove tags to the conversations
- Send notification
- Send email
- Send Slack Alert
- Send Microsoft Teams Alerts
- Network-Specific (applicable to certain types of conversation across different social networks)
- Send a private message
- Hide the comment
- Unhide the comment
- Delete the comment
Learn more - Rule Conditions vs Actions
Note:
You can add multiple Filters, or Actions in a single rule by clicking on the ‘+ Add’ button along each step and set up a total of 50 Rules simultaneously.
Now that you've been introduced to Rule Engine, take a look at:
Rule Conditions vs Actions
How Can I Set Up Custom Rules In Rule Engine?