Skip to main content
Skip table of contents

How to Automate Labeling with Rules

Instead of applying labels to content manually, automate labeling across all your social channels. To do so, create rules and associate them with your chosen profiles or listening queries.

A rule is a set of conditions that you can use to label many posts at once (“if content includes ABC, then label it with XYZ”). If a post fits the conditions, your chosen label will be automatically added to it.

How the rules work

A rule can be set across many different profiles and platforms, including Facebook, Instagram, LinkedIn, Twitter, Pinterest, YouTube, and mentions from the Listening module. You can set a rule to run permanently or schedule it to run only within a certain period.

You can pause or remove a rule at any time.

When removing a rule, you can choose to also remove the labels on the content that this rule added. Doing this does not remove the labels themselves from the account.

Removing a rule removes only the labels that have been placed automatically. Labels placed manually remain untouched.

Rule conditions

A rule can contain one or more conditions. The rule is applied only when all the conditions are true.

Each condition can contain multiple keywords. Within a condition, you can choose:

  • Whether the keywords should be included or not included in the post text

  • Whether it applies to any or all the keywords in the condition

Learn more about setting up the conditions in “Condition keywords” further in this article.

For example, let’s see how the following rule will label content:

IF the text in a post includes any (does not have to be all) of the following keywords:
#festivalfashion #outfitoftheday aviators summer beach waves sunglasses

AND does not include any (does not have to be all) of the following keywords:
coachella #picoftheday

THEN and only then will that post automatically be labeled with the label Summer.

Browse the existing rules

To see all the automation rules, go to Settings -> Task automation -> Labeling.

The user who created a rule is specified under Rule owner.

Rule statuses

A rule can have the following statuses:

  • Running
    The rule is actively labeling new content coming into Suite.

  • Paused
    The rule has been paused and is not labeling anything.

  • Done
    The rule's date range has expired, and the rule is no longer labeling new content.

  • Draft
    The rule has not been finished and is not labeling anything.

  • Invalid
    The rule is missing some key information and cannot run. For example, if a label or profile has been deleted from the account, the rule needs to be set to a new label or profile.

Create a rule

You can create up to 300 automation rules. If you need more rules, contact your Emplifi Customer Success Manager.


  1. Click Settings -> Task automation.
    The Labeling screen opens.

  2. Click +Add Rule.
    The setup wizard opens.

  3. Select the content type that you want to apply the rule to:

    • Brand’s content
      All posts, including tweets, Instagram stories and reels, YouTube videos, TikTok videos, Pinterest pins, and others.

    • User-generated content
      Available for Facebook, Instagram, Twitter, and LinkedIn.

    • Direct messages
      Available for Facebook, Instagram, and Twitter.

    • Listening mentions
      Mentions from your Listening queries.

  4. Select the profiles/queries that you want to apply this rule to.
    You can select multiple profiles across multiple platforms, including Facebook, Instagram, Twitter, Pinterest, YouTube, and LinkedIn.

  5. Click Next Step.

  6. Set up the conditions (“if”) and labels to apply when the conditions are met (“then”) of the rule.

    (info) Learn more about setting up the conditions in “Condition keywords” further in this article.

  7. Once you have set up the conditions and labels, click Next Step.

  8. Name the rule.
    If you want to specify how long you want the rule to run for, specify a start date and an end date.

  9. Click Finish.
    The rule is created and appears on the top of the list.

Condition keywords

When entering keywords into a condition, consider the following:

  • Each condition can contain one or multiple keywords.

  • Keywords are not case-sensitive.
    sunglasses and SUNGLASSES are treated as the same keyword.

  • Diacritic marks in keywords are ignored.


Use wildcards to include related variants for a keyword and locate multiple items with similar, but not identical words.

  • Use ? to replace any single character in a keyword:

  • Use * to replace any number of characters in a keyword:

Spaces and special characters

You can input keywords containing spaces or special characters such as - . , § ! / ) # @ $ ~ ^ &.

Keywords including a special character cannot include a space, and vice versa.

  • If you input a keyword with no special characters and no spaces, the search engine searches for all uses of this keyword including those that contain any special character.
    Example: The keyword summer labels the posts containing summer, #summer, Summer!!????, and summer&winter.

  • If you input a keyword that contains spaces, the search engine searches for:

    • All uses of this keyword including those that contain any special character
      Example: The keyword festival fashion labels the posts containing Festival Fashion, festival&fashion, and #festivalfashion.

    • The exact text sequence
      Example: The keyword I love summer labels the posts containing I can't even begin to tell you how much I love summer.

  • If you input a keyword that contains special characters, the search engine searches only for the uses of this keyword that contain those special characters.
    Example: The keyword #festivalfashion labels the posts containing #festivalfashion, #FESTIVALFASHION, and #FestivalFashion. The content that uses the phrase festival fashion (without the hashtag) will not be labeled.

You can label content based on links.

For example, to label the posts containing a link such as, specify the following keywords:

Troubleshoot automated labeling

With a large operation, sometimes automation may not go the way you planned. It may end up creating unwanted labels, especially if you create rules for labels that you very often use manually.

If this happens, review the activity log of the rules. The activity log illustrates what changes the rule made and who was involved.

To open the activity log for a rule, click the rule and then click Activity log.

To troubleshoot, you can do the following:

  • Pause a rule that caused the issue.

  • Remove the rule, or remove the labels on the content that the rule added, or both.
    (info) Doing this does not remove the labels themselves from the account and does not remove any labels that were placed manually.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.