Flag events with exactly 4 tags

Flag events with exactly 4 tags

In this article, you will find the rules document for flagging events with exactly 4 tags.

Before you begin

To learn how to access the rules page, refer to this article.

Flag events with exactly 4 tags

Notes
Note: This is a complete rules document. In the rules page, copy this JSON into the editor.

Info
[
  {
    "name": "json1",
    "operator": "any",
    "rules": [
      {
        "conditions": {
          "all": [
            {
              "fact": "tagCount",
              "operator": "equal",
              "value": 4
            }
          ]
        },
        "event": {
          "type": "flagged",
          "params": {
            "reason": "Event has exactly 4 tags"
          }
        }
      }
    ]
  }
]