Skip to main content
All CollectionsLang for CXBuild your first tags
Using logical rules to build tags
Using logical rules to build tags

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

Updated over a year ago

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 "card" as a frequent Intent as well.

Using the "account+close" Intent may not be enough to filter for specific card account closures, so you may need to combine it with  "card" 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 “card”).

Did this answer your question?