Using Rules to Automate Classification
Rules help you automate manual processes like:
- Assigning tags to documents and highlights
- Setting sentiment in documents
- Adding properties to documents and highlights
- Sending data automatically to a research project inbox
- Deleting documents
Let's take a look!
The rules you create can be applied to your current feedback inside EnjoyHQ & all incoming feedback, meaning that you can spend more time pulling the insights from your data, and less time organizing. Further more, you can choose if you want your rules to apply to documents only or both documents & highlights.
Rules can be applied when your documents, highlights or customers meet any conditions predefined by you.
- Create a rule by clicking on the wrench icon in your search area or in any research project.
In the project the option is called "Automate Project Inbox":
- Enter a query that defines the conditions your documents need to match in order to trigger an action. Note that all of the search capabilities and filters are supported!
- Select the action you want to automatically execute. Based on the query example above you may want to automatically assign a tag called "Bug reports" and apply it only to newly added documents
- Name you rule, click Create and that's it! 🙌
Different ways in which rules can be applied
After choosing an action you can select which documents or highlights will be affected by the rule:
- "new and existing documents and highlights" - once a rule is created it will be applied to documents and highlights which already exist in your EnjoyHQ account and any new document or highlight added in the future - bear in mind that rules will match BOTH highlights and documents for most of the basic filters. See more information below
- "new documents and highlights only" - a rule will be applied only to documents or highlights created after the rule was created
- "documents only" - the rule will only apply to documents matching conditions, not their highlights
- "new documents only" - the rule will apply only to documents (and not highlights) created (or updated) after the rule has been created
When deleting a rule, it will undo its actions if the rule was used to assign tags or properties.
Once you've created a rule, you can find, edit or delete them from the Rules area in your Account Settings.
Filter by the type of rule you want to edit or delete and that's it. Your feedback will be reclassified as soon as you update your rule.
You can filter the list of your rules by using the search box - by default we will run a "fuzzy" search to find rules similar to your inputl; we will try to find matches in the rule's name, conditions and actions. You can wrap your search term in double quotes to force a strict match search:
Using rules to classify highlights
By default, Rules apply to all matching documents and highlights. For example, if your search query is "content: bananas" - it will act on all documents with the word bananas, and also highlights within these documents regardless if the word "bananas" is included in the highlight content.
To classify highlights by keyword, you need to use highlight content filter instead, here's an example:
This will ensure that for any existing or new highlights, the tag "bananas" will be applied if that highlight's content contains the word "bananas".
Rule query examples
Here're a couple of example queries you can use to create your own rules. Simply copy and paste the query into your rule editor in advanced mode and modify it as you like. Examples
You can use rules to automatically sift through the data coming from integrations, including automatically adding app reviews to a specific project, deleting unwanted support tickets and apply classification to survey responses. Learn more here.
- Can documents deleted by rules be recovered?
As per our Retention Policies - we will store the "soft deleted" data for few months - during that period we can recover the data for you. Please get in touch!
- Can we setup some sort of notifications for documents matched by rules?
Not at the moment, but we are planning that feature
- Can rules attach properties to customer profiles?
Not at the moment, but you can create automatic Customer Segments instead
- Can a rule assign multiple tags?
Not right now, but we're planning to extend rules in a way that will make it possible.