Skip to main content
Using logical rules to build tags
Updated over a year ago

Use AND and BUT to combine Intents and to make your tags more precise

When you are filtering and trying to find Intents to include in tags, you may find yourself in a situation where using one Intent alone is not enough. Therefore, you may need to combine more than one Intent together to get the exact logical rule you want.

For example, let's say you have a tag for account closures where customers are requesting to close their account.

In the table, you’ll see "account+close" as very frequent, but you'll also get "password" as a frequent Intent as well.

Using the "account+close" Intent may not be enough to filter for specific account closures, so you may need to combine it with "password" using an AND rule. This can be done inside the tag by clicking on the three dots to edit it.

*This can also be done with the negation rule (NOT) if you wanted the tag to capture everything related to account closures except for cards. Keywords and Intents can be added to this rule.

Negating keywords work well in Lang because you are eliminating a particular Intent you don’t want (in the example before, you could also add the keyword “password”).

Did this answer your question?