Automated Rules
New to Sprout Social? Learn about our Smart Inbox here.
If you are on the Advanced plan, you can use Sprout’s Automated Rules to create systems for categorizing and measuring your inbound messages in the Smart Inbox and outgoing published posts. For example, you can set up rules to tag and/or complete all incoming messages based on specific keywords, phrases or message types.
Note: When you create an Automated Rule it applies to all Groups you're a part of. Any modifications you make to an Automated Rule also apply to all of the Groups you're a part of. Make sure to accurately scope which profiles you want your rules to apply to before saving them.
This article contains the following sections:
Automated Smart Inbox Rules
You can create automated rules for the Smart Inbox to automatically tag your incoming messages for better customer care routing, complete messages to keep your Inbox view clear, create automated alerts and hide messages that aren’t appropriate or don’t require action.
Automatically tag incoming messages
Auto-Tagging helps you add rules in the Smart Inbox to automatically tag inbound messages. You can set up Auto-Tagging rules by following these steps:
Note: You must have the Manage Profiles company permission and the Manage Advanced Inbox Features feature permission to set up these rules.
- Navigate to Account and settings > Settings.
- Click Automated Rules under Global Settings.
- Click Create new rule.
- Enter a title for the rule and a description of what the rule does.
- Select Inbox message for the Rule Type.
- Decide the criteria you want messages to meet for the rule you're setting up. You can decide whether a message:
- must contain a keyword or phrase
- doesn't contain a keyword or phrase
- is of a specific message type
- is received by a specific profile
- is from a Brand Keyword
- is in a specific language
- is from a member of a VIP list
- is from a Twitter user with a specific follower count or verified status
- or any combination of these criteria
- (Optional) Choose if you want to filter messages that ONLY contain URLs, Images or Emojis.
- Click Apply Tags in the Then take these actions section, and then choose the campaign and or label tag(s) to apply to your messages. Tags that are included in your Group also appear. You can learn more about managing tags by reading our Message Tagging article.
- Click Save. A preview of your rule appears.
- Click Got it!
You can configure or delete rules and turn them on or off by returning to Global Settings.
Automatically complete incoming messages
Set up rules to automatically complete incoming messages that contain a specific keyword or phrase, is of a specific message type, is received by a specific profile, is from a Brand Keyword, is from a member of a VIP list, is from a Twitter user with a specific follower count or verified status or any combination of these criteria.
You can set up Auto-Complete rules by:
- Navigating to Account and settings > Settings.
- Click Automated Rules under Global Settings.
- Click Create new rule.
- Select Inbox message for the Rule Type.
- Decide what criteria must be met for messages to mark messages as complete. Keep in mind that you can set up multiple actions.
- Choose if you want to choose messages that ONLY contain a specific content type. Choose from Images, URLs, Emojis.
- Set your actions. For example, you can select Apply Tags as the first action, and then click Mark as Complete as the second action.
- Click Save. A preview of your rule appears.
- Click Got it!
You can configure or delete rules and turn them on or off, at any time, by returning to Global Settings.
Automated alerts
Sprout’s Automated alerts send notifications for messages that you identify as important. Set up rules to be alerted by email or mobile push notification every time incoming messages contain a specific keyword or phrase, or match a specific message type.
You can set up Automated Rules by following the same steps as setting up either of the rule types above and then selecting either Send a push notification or Send an email as your action.
Rules don't support the Send Push Notification for the following networks:
- Facebook Groups
- Google Business Messages
- Glassdoor
- Yelp
Hide message action
You can add the Hide messages action to the Automated Rules for the Smart Inbox. This removes unwanted messages from your Facebook, Instagram, YouTube and Twitter profiles.
To create a new Hide messages Inbox Rule:
- Navigate to Account and settings > Settings.
- Click Automated Rules under Global Settings.
- Click Create new rule.
- Enter a Title and Description for the Hide Message rule.
- Select Inbox message for the Rule Type.
- Select has word or phrase from the If an incoming message dropdown.
- Enter the words and phrases you want to automatically hide.
- Select Hide message from the Then take these actions dropdown.
- Click Save. Now, any message that contains any of the words or phrases you added gets automatically hidden from your social posts.
Alternatively, you can edit an existing Automated Inbox Rule and add the Hide message action.
Hide message best practices
To ensure this action doesn’t hide any additional messages, Sprout recommends following these best practices:
- Only use the Hide Message action with the has word or phrase criteria. If you use this action without the has word or phrase criteria, you might set up a rule that hides all messages for a social profile.
- Add the Complete action so hidden messages are automatically completed. This way, hidden messages won’t end up in your Smart Inbox.
- Track and review automatically Hidden Messages with internal Tags. You can also create an Inbox Rule to tag all of the hidden messages with an internal tag. Then, create an Inbox View called Hidden Messages and set up that view to show all messages with the internal tag. Now, you can view these hidden messages periodically to see everything that’s been hidden.
Hide message FAQs
What types of messages can I hide?
You can hide Twitter Mention replies, Facebook comments on owned pages, Facebook visitor posts on owned pages, Instagram comments on owned Business Profiles and YouTube comments.
I don’t think my rule is working. What should I do?
Make sure the Automated Inbox Rule contains profiles and message types that are applicable. If you added this action to a LinkedIn profile, it won’t work.
Do hidden comments still show up in the inbox?
Yes, there’s a banner on the message that says it’s hidden.
Can I unhide comments?
Yes. When you view the message, you can click into the Message Actions menu and unhide the message.
Can I hide Brand Keywords on Twitter?
No. The Brand Keywords you’re tracking aren’t associated with your Twitter profile, so you can’t hide those comments.
Automated Publishing Rules
You can automatically tag your published posts to more easily track and measure the performance of your outgoing posts on your social networks. Regardless of how a post was published, the automatic publishing rule you create applies to all published posts.
To automatically tag your published posts:
Note: You must have the Manage Profiles & Permissions company permission to set up these rules.
- Navigate to Account and settings > Settings.
- Click Automated Rules under Global Settings.
- Click Create new rule.
- Enter a Title and Description for your rule.
- Select Published post for the Rule Type.
- Select Has word or phrase or is for profiles for your outgoing criteria.
- Enter the words and phrases you want Sprout to check for or the linked profiles in your published posts. Sprout will check the post text, video title, link metadata and attached URLs for the keywords or phrases you enter.
- Enter the tags you want automatically applied from the Then take these actions box.
- Click Save.
- A preview of your rule appears. Click Got it!
Automated Reviews Rules
You can create automated rules for the Smart Inbox to automatically tag your incoming Review messages for better customer care routing, complete messages to keep your Inbox view clear, and notify the appropriate parties of new Review messages.
You can apply Automated Rules to reviews from:
- Google My Business
- Yelp
- Glassdoor
- TripAdvisor
To create an Automated Rule for your Review messages:
Note: You must have the Manage Profiles company permission to set up these rules.
- Navigate to Account and settings > Settings.
- Click Automated Rules under Global Settings.
- Click Create new rule.
- Enter a Title and Description for your rule.
- Select Reviews for the Rule Type.
- Select is received by these profiles, has word or phrase, has rating or is in the language(s) for the received Review criteria.
- Enter or select the relevant incoming criteria.
- Select Apply Tags, Complete, Send a push notification or Send an email for the action you want taken.
- Enter or select the additional criteria, like entering tags or email addresses.
- Click Save.
- A preview of your rule appears. Click Got it!
FAQ
Who has permission to create Automated Rules?
Users with the Manage profiles company permission and the Manage Advanced Inbox Features feature permission.
How many rules can be “turned on” simultaneously?
You can have up to 1,000 active rules.
What is the maximum amount of tags you can apply to a message?
You can have 20 tags per message.
Can I add a "#" to monitor for messages containing a certain hashtag?
This doesn't tag all messages from a hashtag, based on the virtue of there being a hashtag – however, you can input the keyword without the hashtag symbol, and it monitors and tags accordingly. This does mean that messages that contain that keyword without a hashtag also get tagged.
Can I add emojis in the keyword search field?
Some emojis will work with Automated Rules, while others won't, because emojis have unique detection properties due to how they’re rendered. Emojis should be tested on a case-by-case basis to see if they work with Automated Rules.
What happens if a tag is deleted or a profile is disconnected that is part of a rule?
The rule doesn't apply and messages aren't tagged. Sprout displays an alert on the rules screen that encourages you to edit or delete the rule.
Can I automate tagging in Compose?
No, Automated Tagging only applies to incoming messages and published posts once they are posted publicly on a social network at this time.
If I create new Automated Rules, do those apply retroactively?
No, new rules only apply to current messages moving forward.
Can users create a new tag directly from the Apply Tags box?
No, you can't create tags from the Create new rule model. You can learn more about managing tags by reading our Message Tagging article.